AudioManager.AddOnModeChangedListener 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.
Adds a listener to be notified of changes to the audio mode.
[Android.Runtime.Register("addOnModeChangedListener", "(Ljava/util/concurrent/Executor;Landroid/media/AudioManager$OnModeChangedListener;)V", "GetAddOnModeChangedListener_Ljava_util_concurrent_Executor_Landroid_media_AudioManager_OnModeChangedListener_Handler", ApiSince=31)]
public virtual void AddOnModeChangedListener (Java.Util.Concurrent.IExecutor executor, Android.Media.AudioManager.IOnModeChangedListener listener);
[<Android.Runtime.Register("addOnModeChangedListener", "(Ljava/util/concurrent/Executor;Landroid/media/AudioManager$OnModeChangedListener;)V", "GetAddOnModeChangedListener_Ljava_util_concurrent_Executor_Landroid_media_AudioManager_OnModeChangedListener_Handler", ApiSince=31)>]
abstract member AddOnModeChangedListener : Java.Util.Concurrent.IExecutor * Android.Media.AudioManager.IOnModeChangedListener -> unit
override this.AddOnModeChangedListener : Java.Util.Concurrent.IExecutor * Android.Media.AudioManager.IOnModeChangedListener -> unit
Parameters
- executor
- IExecutor
- listener
- AudioManager.IOnModeChangedListener
- Attributes
Remarks
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.