TelecomManager.OwnSelfManagedPhoneAccounts Property
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.
Returns a list of PhoneAccountHandle
s 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 PhoneAccountHandle
s owned by the calling self-managed ConnectionService
.
Self-Managed ConnectionService
s 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.