Język

ReceiveOptions Enum

Definition

Specifies the bit flags returned to the callback for a received text message to control message delivery and notification.

public enum ReceiveOptions
type ReceiveOptions = 
Inheritance
ReceiveOptions

Fields

Name Value Description
Default 0

The default bitmask value passed to the callback of onReceiveTextSms(MessagePdu, String, int, int, ResultCallback) with all RECEIVE_OPTIONS_x flags cleared to indicate that the message should be kept and a new message notification should be shown.

Android reference for android.service.carrier.CarrierMessagingService.RECEIVE_OPTIONS_DEFAULT.

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.

Drop 1

Used to set the flag in the bitmask passed to the callback of onReceiveTextSms(MessagePdu, String, int, int, ResultCallback) to indicate that the inbound SMS should be dropped.

Android reference for android.service.carrier.CarrierMessagingService.RECEIVE_OPTIONS_DROP.

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.

SkipNotifyWhenCredentialProtectedStorageUnavailable 2

Used to set the flag in the bitmask passed to the callback of onReceiveTextSms(MessagePdu, String, int, int, ResultCallback) to indicate that a new message notification should not be shown to the user when the credential-encrypted storage of the device is not available before the user unlocks the phone. It is only applicable to devices that support file-based encryption.

Android reference for android.service.carrier.CarrierMessagingService.RECEIVE_OPTIONS_SKIP_NOTIFY_WHEN_CREDENTIAL_PROTECTED_STORAGE_UNAVAILABLE.

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.

Remarks

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