Udostępnij za pośrednictwem


CarrierMessagingService.OnSendMultipartTextSms Method

Definition

Overloads

OnSendMultipartTextSms(IList<String>, Int32, String, Int32, CarrierMessagingService+IResultCallback)

Override this method to intercept long SMSs sent from the device.

OnSendMultipartTextSms(IList<String>, Int32, String, CarrierMessagingService+IResultCallback)

Override this method to intercept long SMSs sent from the device.

OnSendMultipartTextSms(IList<String>, Int32, String, Int32, CarrierMessagingService+IResultCallback)

Override this method to intercept long SMSs sent from the device.

[Android.Runtime.Register("onSendMultipartTextSms", "(Ljava/util/List;ILjava/lang/String;ILandroid/service/carrier/CarrierMessagingService$ResultCallback;)V", "GetOnSendMultipartTextSms_Ljava_util_List_ILjava_lang_String_ILandroid_service_carrier_CarrierMessagingService_ResultCallback_Handler", ApiSince=23)]
public virtual void OnSendMultipartTextSms (System.Collections.Generic.IList<string> parts, int subId, string destAddress, int sendSmsFlag, Android.Service.Carrier.CarrierMessagingService.IResultCallback callback);
[<Android.Runtime.Register("onSendMultipartTextSms", "(Ljava/util/List;ILjava/lang/String;ILandroid/service/carrier/CarrierMessagingService$ResultCallback;)V", "GetOnSendMultipartTextSms_Ljava_util_List_ILjava_lang_String_ILandroid_service_carrier_CarrierMessagingService_ResultCallback_Handler", ApiSince=23)>]
abstract member OnSendMultipartTextSms : System.Collections.Generic.IList<string> * int * string * int * Android.Service.Carrier.CarrierMessagingService.IResultCallback -> unit
override this.OnSendMultipartTextSms : System.Collections.Generic.IList<string> * int * string * int * Android.Service.Carrier.CarrierMessagingService.IResultCallback -> unit

Parameters

parts
IList<String>

a List of the message parts

subId
Int32

SMS subscription ID of the SIM

destAddress
String

phone number of the recipient of the message

sendSmsFlag
Int32

Flag for sending SMS. Acceptable values are 0 and #SEND_FLAG_REQUEST_DELIVERY_STATUS.

callback
CarrierMessagingService.IResultCallback

result callback. Call with a SendMultipartSmsResult.

Attributes

Remarks

Java documentation for android.service.carrier.CarrierMessagingService.onSendMultipartTextSms(java.util.List, int, java.lang.String, int, android.service.carrier.ResultCallback).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OnSendMultipartTextSms(IList<String>, Int32, String, CarrierMessagingService+IResultCallback)

Override this method to intercept long SMSs sent from the device.

[Android.Runtime.Register("onSendMultipartTextSms", "(Ljava/util/List;ILjava/lang/String;Landroid/service/carrier/CarrierMessagingService$ResultCallback;)V", "GetOnSendMultipartTextSms_Ljava_util_List_ILjava_lang_String_Landroid_service_carrier_CarrierMessagingService_ResultCallback_Handler", ApiSince=22)]
public virtual void OnSendMultipartTextSms (System.Collections.Generic.IList<string> parts, int subId, string destAddress, Android.Service.Carrier.CarrierMessagingService.IResultCallback callback);
[<Android.Runtime.Register("onSendMultipartTextSms", "(Ljava/util/List;ILjava/lang/String;Landroid/service/carrier/CarrierMessagingService$ResultCallback;)V", "GetOnSendMultipartTextSms_Ljava_util_List_ILjava_lang_String_Landroid_service_carrier_CarrierMessagingService_ResultCallback_Handler", ApiSince=22)>]
abstract member OnSendMultipartTextSms : System.Collections.Generic.IList<string> * int * string * Android.Service.Carrier.CarrierMessagingService.IResultCallback -> unit
override this.OnSendMultipartTextSms : System.Collections.Generic.IList<string> * int * string * Android.Service.Carrier.CarrierMessagingService.IResultCallback -> unit

Parameters

parts
IList<String>

a List of the message parts

subId
Int32

SMS subscription ID of the SIM

destAddress
String

phone number of the recipient of the message

callback
CarrierMessagingService.IResultCallback

result callback. Call with a SendMultipartSmsResult.

Attributes

Remarks

Java documentation for android.service.carrier.CarrierMessagingService.onSendMultipartTextSms(java.util.List, int, java.lang.String, int, android.service.carrier.ResultCallback).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to