Partager via


RemoteConnection.Callback.OnStateChanged(RemoteConnection, CallState) Method

Definition

Invoked when the state of this RemoteConnection has changed.

[Android.Runtime.Register("onStateChanged", "(Landroid/telecom/RemoteConnection;I)V", "GetOnStateChanged_Landroid_telecom_RemoteConnection_IHandler", ApiSince=23)]
public virtual void OnStateChanged (Android.Telecom.RemoteConnection connection, Android.Telecom.CallState state);
[<Android.Runtime.Register("onStateChanged", "(Landroid/telecom/RemoteConnection;I)V", "GetOnStateChanged_Landroid_telecom_RemoteConnection_IHandler", ApiSince=23)>]
abstract member OnStateChanged : Android.Telecom.RemoteConnection * Android.Telecom.CallState -> unit
override this.OnStateChanged : Android.Telecom.RemoteConnection * Android.Telecom.CallState -> unit

Parameters

connection
RemoteConnection

The RemoteConnection invoking this method.

state
CallState

The new state of the RemoteConnection.

Attributes

Remarks

Invoked when the state of this RemoteConnection has changed. See #getState().

Java documentation for android.telecom.RemoteConnection.Callback.onStateChanged(android.telecom.RemoteConnection, int).

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