TelecomManager.EndCall Method

Definition

Caution

deprecated

Ends the foreground call on the device.

[Android.Runtime.Register("endCall", "()Z", "GetEndCallHandler", ApiSince=28)]
[Android.Runtime.RequiresPermission("android.permission.ANSWER_PHONE_CALLS")]
[System.Obsolete("deprecated")]
public virtual bool EndCall ();
[<Android.Runtime.Register("endCall", "()Z", "GetEndCallHandler", ApiSince=28)>]
[<Android.Runtime.RequiresPermission("android.permission.ANSWER_PHONE_CALLS")>]
[<System.Obsolete("deprecated")>]
abstract member EndCall : unit -> bool
override this.EndCall : unit -> bool

Returns

Boolean

true if there is a call which will be rejected or terminated, false otherwise.

Attributes

Remarks

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

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