Share via


Connection.OnCallAudioStateChanged(CallAudioState) Method

Definition

Notifies this Connection that the #getCallAudioState() property has a new value.

[Android.Runtime.Register("onCallAudioStateChanged", "(Landroid/telecom/CallAudioState;)V", "GetOnCallAudioStateChanged_Landroid_telecom_CallAudioState_Handler", ApiSince=23)]
public virtual void OnCallAudioStateChanged (Android.Telecom.CallAudioState? state);
[<Android.Runtime.Register("onCallAudioStateChanged", "(Landroid/telecom/CallAudioState;)V", "GetOnCallAudioStateChanged_Landroid_telecom_CallAudioState_Handler", ApiSince=23)>]
abstract member OnCallAudioStateChanged : Android.Telecom.CallAudioState -> unit
override this.OnCallAudioStateChanged : Android.Telecom.CallAudioState -> unit

Parameters

state
CallAudioState

The new connection audio state.

Attributes

Remarks

Notifies this Connection that the #getCallAudioState() property has a new value.

This member is deprecated. Use #onCallEndpointChanged(CallEndpoint), #onAvailableCallEndpointsChanged(List) and #onMuteStateChanged(boolean) instead.

Java documentation for android.telecom.Connection.onCallAudioStateChanged(android.telecom.CallAudioState).

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