Aracılığıyla paylaş


CarrierMessagingService.SendSmsResult(MessageSendStatus, Int32) Constructor

Definition

Constructs a SendSmsResult with the send status and message reference for the just-sent SMS.

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=22)]
public SendSmsResult (Android.Service.Carrier.MessageSendStatus sendStatus, int messageRef);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=22)>]
new Android.Service.Carrier.CarrierMessagingService.SendSmsResult : Android.Service.Carrier.MessageSendStatus * int -> Android.Service.Carrier.CarrierMessagingService.SendSmsResult

Parameters

sendStatus
MessageSendStatus

send status, one of #SEND_STATUS_OK, #SEND_STATUS_RETRY_ON_CARRIER_NETWORK, and #SEND_STATUS_ERROR.

messageRef
Int32

message reference of the just-sent SMS. This field is applicable only if send status is #SEND_STATUS_OK.

Attributes

Remarks

Constructs a SendSmsResult with the send status and message reference for the just-sent SMS.

Java documentation for android.service.carrier.CarrierMessagingService.SendSmsResult.CarrierMessagingService$SendSmsResult(int, int).

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