다음을 통해 공유


Connection.OnHold Method

Definition

Notifies this Connection of a request to hold.

[Android.Runtime.Register("onHold", "()V", "GetOnHoldHandler", ApiSince=23)]
public virtual void OnHold ();
[<Android.Runtime.Register("onHold", "()V", "GetOnHoldHandler", ApiSince=23)>]
abstract member OnHold : unit -> unit
override this.OnHold : unit -> unit
Attributes

Remarks

Notifies this Connection of a request to hold. Connection#setOnHold should be within the onHold() body in order to transition the call state to Connection#STATE_HOLDING.

Note: If the Connection does not transition to Connection#STATE_HOLDING within 2 seconds, the call will be disconnected.

Java documentation for android.telecom.Connection.onHold().

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