Udostępnij za pośrednictwem


TelecomManager.IsInManagedCall Property

Definition

Returns whether there is an ongoing call originating from a managed ConnectionService.

public virtual bool IsInManagedCall { [Android.Runtime.Register("isInManagedCall", "()Z", "GetIsInManagedCallHandler", ApiSince=26)] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("isInManagedCall", "()Z", "GetIsInManagedCallHandler", ApiSince=26)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.IsInManagedCall : bool

Property Value

true if there is an ongoing call in a managed ConnectionService, false otherwise.

Attributes

Remarks

Returns whether there is an ongoing call originating from a managed ConnectionService. An ongoing call can be in dialing, ringing, active or holding states.

If you also need to know if there are ongoing self-managed calls, use #isInCall() instead.

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

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