Dela via


TelecomManager.IsInCall Property

Definition

Returns whether there is an ongoing phone call (can be in dialing, ringing, active or holding states) originating from either a manager or self-managed ConnectionService.

public virtual bool IsInCall { [Android.Runtime.Register("isInCall", "()Z", "GetIsInCallHandler")] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("isInCall", "()Z", "GetIsInCallHandler")>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.IsInCall : bool

Property Value

true if there is an ongoing call in either a managed or self-managed ConnectionService, false otherwise.

Attributes

Remarks

Returns whether there is an ongoing phone call (can be in dialing, ringing, active or holding states) originating from either a manager or self-managed ConnectionService.

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

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