共用方式為


PhoneAccount.CapabilitySupportsTransactionalOperations 欄位

定義

警告

This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.

旗標,指出這 PhoneAccount 支援使用使用 android.os.OutcomeReceivers 或 java.util.function.Consumers 的 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.OutcomeReceivers 或 java.util.function.Consumers 的 TelecomManager API。 請注意,如果已設定此功能,#CAPABILITY_SELF_MANAGED則會在透過 TelecomManager#registerPhoneAccount(PhoneAccount)註冊此功能時PhoneAccount由電信修改。

android.os.OutcomeReceivers 和 java.util.function.Consumer表示交易作業,因為作業可能會成功或失敗。 想要使用交易作業的應用程式應該定義成功且失敗的 TelecomManager API 呼叫行為。

android.telecom.PhoneAccount.CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONSJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於