Call.Callback.OnStateChanged(Call, CallState) Method

Definition

Invoked when the state of this Call has changed.

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

Parameters

call
Call

The Call invoking this method.

state
CallState

The new state of the Call.

Attributes

Remarks

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

Java documentation for android.telecom.Call.Callback.onStateChanged(android.telecom.Call, 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