Udostępnij za pośrednictwem


Call.Callback.OnCallDestroyed(Call) Method

Definition

Invoked when the Call is destroyed.

[Android.Runtime.Register("onCallDestroyed", "(Landroid/telecom/Call;)V", "GetOnCallDestroyed_Landroid_telecom_Call_Handler", ApiSince=23)]
public virtual void OnCallDestroyed (Android.Telecom.Call call);
[<Android.Runtime.Register("onCallDestroyed", "(Landroid/telecom/Call;)V", "GetOnCallDestroyed_Landroid_telecom_Call_Handler", ApiSince=23)>]
abstract member OnCallDestroyed : Android.Telecom.Call -> unit
override this.OnCallDestroyed : Android.Telecom.Call -> unit

Parameters

call
Call

The Call being destroyed.

Attributes

Remarks

Invoked when the Call is destroyed. Clients should refrain from cleaning up their UI for the Call in response to state transitions. Specifically, clients should not assume that a #onStateChanged(Call, int) with a state of #STATE_DISCONNECTED is the final notification the Call will send. Rather, clients should wait for this method to be invoked.

Java documentation for android.telecom.Call.Callback.onCallDestroyed(android.telecom.Call).

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