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。 請注意,如果已設定此功能,#CAPABILITY_SELF_MANAGED
則會在透過 TelecomManager#registerPhoneAccount(PhoneAccount)
註冊此功能時PhoneAccount
由電信修改。
android.os.OutcomeReceiver
s 和 java.util.function.Consumer
表示交易作業,因為作業可能會成功或失敗。 想要使用交易作業的應用程式應該定義成功且失敗的 TelecomManager API 呼叫行為。
的 android.telecom.PhoneAccount.CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。