Language

TelecomManager.IsInExternalCall Property

Definition

Returns whether there is an ongoing phone call (can be in dialing, ringing, active or holding states) that is an external call.

public virtual bool IsInExternalCall { [Android.Runtime.Register("isInExternalCall", "()Z", "GetIsInExternalCallHandler", ApiSince=37)] [Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("isInExternalCall", "()Z", "GetIsInExternalCallHandler", ApiSince=37)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PHONE_STATE")>]
member this.IsInExternalCall : bool

Property Value

true if there is an ongoing call that is external, false otherwise.

Attributes

Remarks

Returns whether there is an ongoing phone call (can be in dialing, ringing, active or holding states) that is an external call.

External calls take place on another dveice. They do not retain audio focus or result in call audio routing operations. For example, a wearable device may provide a UI for a call which takes place on the user's phone for the purpose of controlling the call or potentially pulling it to the wearable; such a call is external.

Calls with Call.Details.PROPERTY_IS_EXTERNAL_CALL are external. Requires Manifest.permission.READ_PHONE_STATE

Android reference for android.telecom.TelecomManager.isInExternalCall.

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