Share via


Connection.OnStateChanged(CallState) Method

Definition

Notifies this Connection of an internal state change.

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

Parameters

state
CallState

The new state, one of the STATE_* constants.

Attributes

Remarks

Notifies this Connection of an internal state change. This method is called after the state is changed.

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