Share via


TelecomManager.HasManageOngoingCallsPermission Property

Definition

Returns whether the caller has android.Manifest.permission#MANAGE_ONGOING_CALLS permission.

public virtual bool HasManageOngoingCallsPermission { [Android.Runtime.Register("hasManageOngoingCallsPermission", "()Z", "GetHasManageOngoingCallsPermissionHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("hasManageOngoingCallsPermission", "()Z", "GetHasManageOngoingCallsPermissionHandler", ApiSince=31)>]
member this.HasManageOngoingCallsPermission : bool

Property Value

true if the caller has InCallService access for companion app; false otherwise.

Attributes

Remarks

Returns whether the caller has android.Manifest.permission#MANAGE_ONGOING_CALLS permission. The permission can be obtained by associating with a physical wearable device via the android.companion.CompanionDeviceManager API as a companion app. If the caller app has the permission, it has InCallService access to manage ongoing calls.

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

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