Język

PhoneAccount.CapabilityOptOutOfPremiumNetwork Field

Definition

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 should be opted out of automatic requests for premium network capabilities.

[Android.Runtime.Register("CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK", ApiSince=37)]
[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 CapabilityOptOutOfPremiumNetwork = 2097152;
[<Android.Runtime.Register("CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telecom.PhoneAccountCapability enum directly instead of this field.", true)>]
val mutable CapabilityOptOutOfPremiumNetwork : Android.Telecom.PhoneAccountCapability

Field Value

Value = 2097152

Implements

Attributes

Remarks

Flag indicating that this PhoneAccount should be opted out of automatic requests for premium network capabilities.

This is intended for applications with sophisticated, custom network management logic that prefer to handle their own network requests rather than relying on the system's automatic behavior.

Android reference for android.telecom.PhoneAccount.CAPABILITY_OPT_OUT_OF_PREMIUM_NETWORK.

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.

Applies to