AudioManager.IOnModeChangedListener.OnModeChanged(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.