다음을 통해 공유


AudioManager.IOnModeChangedListener.OnModeChanged(Int32) Method

Definition

Called on the listener to indicate that the audio mode has changed

[Android.Runtime.Register("onModeChanged", "(I)V", "GetOnModeChanged_IHandler:Android.Media.AudioManager/IOnModeChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnModeChanged (int mode);
[<Android.Runtime.Register("onModeChanged", "(I)V", "GetOnModeChanged_IHandler:Android.Media.AudioManager/IOnModeChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnModeChanged : int -> unit

Parameters

mode
Int32

The current audio mode

Attributes

Remarks

Called on the listener to indicate that the audio mode has changed

Java documentation for android.media.AudioManager.OnModeChangedListener.onModeChanged(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