PhoneAccount.CapabilitySupportsTransactionalOperations Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.
Flag indicating that this PhoneAccount
supports the use TelecomManager APIs that
utilize android.os.OutcomeReceiver
s or java.util.function.Consumer
s.
[Android.Runtime.Register("CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.", true)]
public const Android.Telecom.PhoneAccountCapability CapabilitySupportsTransactionalOperations = 262144;
[<Android.Runtime.Register("CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.", true)>]
val mutable CapabilitySupportsTransactionalOperations : Android.Telecom.PhoneAccountCapability
Field Value
Value = 262144Implements
- Attributes
Remarks
Flag indicating that this PhoneAccount
supports the use TelecomManager APIs that utilize android.os.OutcomeReceiver
s or java.util.function.Consumer
s. Be aware, if this capability is set, #CAPABILITY_SELF_MANAGED
will be amended by Telecom when this PhoneAccount
is registered via TelecomManager#registerPhoneAccount(PhoneAccount)
.
android.os.OutcomeReceiver
s and java.util.function.Consumer
s represent transactional operations because the operation can succeed or fail. An app wishing to use transactional operations should define behavior for a successful and failed TelecomManager API call.
Java documentation for android.telecom.PhoneAccount.CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS
.
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.