Condividi tramite


TelecomManager.OwnSelfManagedPhoneAccounts Property

Definition

Returns a list of PhoneAccountHandles owned by the calling self-managed ConnectionService.

public virtual System.Collections.Generic.IList<Android.Telecom.PhoneAccountHandle> OwnSelfManagedPhoneAccounts { [Android.Runtime.Register("getOwnSelfManagedPhoneAccounts", "()Ljava/util/List;", "GetGetOwnSelfManagedPhoneAccountsHandler", ApiSince=33)] [Android.Runtime.RequiresPermission("android.permission.MANAGE_OWN_CALLS")] get; }
[<get: Android.Runtime.Register("getOwnSelfManagedPhoneAccounts", "()Ljava/util/List;", "GetGetOwnSelfManagedPhoneAccountsHandler", ApiSince=33)>]
[<get: Android.Runtime.RequiresPermission("android.permission.MANAGE_OWN_CALLS")>]
member this.OwnSelfManagedPhoneAccounts : System.Collections.Generic.IList<Android.Telecom.PhoneAccountHandle>

Property Value

A list of PhoneAccountHandle objects.

Attributes

Remarks

Returns a list of PhoneAccountHandles owned by the calling self-managed ConnectionService.

Self-Managed ConnectionServices have a PhoneAccount with PhoneAccount#CAPABILITY_SELF_MANAGED.

Requires permission android.Manifest.permission#MANAGE_OWN_CALLS

A SecurityException will be thrown if a caller lacks the android.Manifest.permission#MANAGE_OWN_CALLS permission.

Java documentation for android.telecom.TelecomManager.getOwnSelfManagedPhoneAccounts().

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