PhoneAccount.CapabilitySupportsTransactionalOperations 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.
標記表示這 PhoneAccount 支援交易式 AddCall(CallAttributes, IExecutor, IOutcomeReceiver, ICallControlCallback, ICallEventCallback) 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 支援交易式 AddCall(CallAttributes, IExecutor, IOutcomeReceiver, ICallControlCallback, ICallEventCallback) API 來新增呼叫。
一款宣稱此功能的應用程式表示其支持更新且更靈活的通話註冊機制。 當此功能設定為 PhoneAccount時,電信框架將修正其能力以包含 SelfManaged。 這讓應用程式能自行管理通話介面與生命週期,同時仍能與 Android 系統整合,進行音訊路由與通話管理。
只有當您的應用程式使用此AddCall(CallAttributes, IExecutor, IOutcomeReceiver, ICallControlCallback, ICallEventCallback)方法來回報新來電與撥出電話時,才應新增此功能。 如果您的應用程式使用舊有方法 AddNewIncomingCall(PhoneAccountHandle, Bundle) 或 PlaceCall(Uri, Bundle), 則不得 使用此功能。
Java 文件 android.telecom.PhoneAccount.CAPABILITY_SUPPORTS_TRANSACTIONAL_OPERATIONS。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。