AudioTrack.AddOnCodecFormatChangedListener 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 an OnCodecFormatChangedListener
to receive notifications of
codec format change events on this AudioTrack
.
[Android.Runtime.Register("addOnCodecFormatChangedListener", "(Ljava/util/concurrent/Executor;Landroid/media/AudioTrack$OnCodecFormatChangedListener;)V", "GetAddOnCodecFormatChangedListener_Ljava_util_concurrent_Executor_Landroid_media_AudioTrack_OnCodecFormatChangedListener_Handler", ApiSince=30)]
public virtual void AddOnCodecFormatChangedListener (Java.Util.Concurrent.IExecutor executor, Android.Media.AudioTrack.IOnCodecFormatChangedListener listener);
[<Android.Runtime.Register("addOnCodecFormatChangedListener", "(Ljava/util/concurrent/Executor;Landroid/media/AudioTrack$OnCodecFormatChangedListener;)V", "GetAddOnCodecFormatChangedListener_Ljava_util_concurrent_Executor_Landroid_media_AudioTrack_OnCodecFormatChangedListener_Handler", ApiSince=30)>]
abstract member AddOnCodecFormatChangedListener : Java.Util.Concurrent.IExecutor * Android.Media.AudioTrack.IOnCodecFormatChangedListener -> unit
override this.AddOnCodecFormatChangedListener : Java.Util.Concurrent.IExecutor * Android.Media.AudioTrack.IOnCodecFormatChangedListener -> unit
Parameters
- executor
- IExecutor
Specifies the Executor
object to control execution.
The OnCodecFormatChangedListener
interface to receive
notifications of codec events.
- 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.