PhoneAccount.CapabilitySupportsTransactionalOperations 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.
指示它 PhoneAccount
支持使用使用 android.os.OutcomeReceiver
s 或 java.util.function.Consumer
s 的 TelecomManager API 的标志。
[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
字段值
Value = 262144实现
- 属性
注解
指示它 PhoneAccount
支持使用使用 android.os.OutcomeReceiver
s 或 java.util.function.Consumer
s 的 TelecomManager API 的标志。 请注意,如果设置了此功能,则通过注册此功能时PhoneAccount
TelecomManager#registerPhoneAccount(PhoneAccount)
,#CAPABILITY_SELF_MANAGED
电信将对此进行修改。
android.os.OutcomeReceiver
s 和 java.util.function.Consumer
s 表示事务操作,因为操作可以成功或失败。 希望使用事务操作的应用应为成功和失败的 TelecomManager API 调用定义行为。
适用于 . 的 android.telecom.PhoneAccount.CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。