Udostępnij za pośrednictwem


RemoteConnection.Callback.OnRingbackRequested Method

Definition

Invoked when this RemoteConnection is requesting ringback.

[Android.Runtime.Register("onRingbackRequested", "(Landroid/telecom/RemoteConnection;Z)V", "GetOnRingbackRequested_Landroid_telecom_RemoteConnection_ZHandler", ApiSince=23)]
public virtual void OnRingbackRequested (Android.Telecom.RemoteConnection connection, bool ringback);
[<Android.Runtime.Register("onRingbackRequested", "(Landroid/telecom/RemoteConnection;Z)V", "GetOnRingbackRequested_Landroid_telecom_RemoteConnection_ZHandler", ApiSince=23)>]
abstract member OnRingbackRequested : Android.Telecom.RemoteConnection * bool -> unit
override this.OnRingbackRequested : Android.Telecom.RemoteConnection * bool -> unit

Parameters

connection
RemoteConnection

The RemoteConnection invoking this method.

ringback
Boolean

Whether the RemoteConnection is requesting ringback.

Attributes

Remarks

Invoked when this RemoteConnection is requesting ringback. See #isRingbackRequested().

Java documentation for android.telecom.RemoteConnection.Callback.onRingbackRequested(android.telecom.RemoteConnection, boolean).

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