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 transactional
TelecomManager#addCall API for adding calls.
[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 transactional TelecomManager#addCall API for adding calls.
An app that declares this capability is indicating its support for a newer, more flexible call registration mechanism. When this capability is set on a PhoneAccount, the Telecom framework will amend its capabilities to include #CAPABILITY_SELF_MANAGED. This allows the app to manage its own call UI and lifecycle, while still integrating with the Android system for audio routing and call management.
This capability should <strong>only</strong> be added if your application is using the TelecomManager#addCall method to report new incoming and outgoing calls. If your app uses the legacy methods TelecomManager#addNewIncomingCall or TelecomManager#placeCall, this capability <strong>must not</strong> be used.
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.