AudioTrack.RegisterStreamEventCallback 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.
Registers a callback for the notification of stream events.
[Android.Runtime.Register("registerStreamEventCallback", "(Ljava/util/concurrent/Executor;Landroid/media/AudioTrack$StreamEventCallback;)V", "GetRegisterStreamEventCallback_Ljava_util_concurrent_Executor_Landroid_media_AudioTrack_StreamEventCallback_Handler", ApiSince=29)]
public virtual void RegisterStreamEventCallback (Java.Util.Concurrent.IExecutor executor, Android.Media.AudioTrack.StreamEventCallback eventCallback);
[<Android.Runtime.Register("registerStreamEventCallback", "(Ljava/util/concurrent/Executor;Landroid/media/AudioTrack$StreamEventCallback;)V", "GetRegisterStreamEventCallback_Ljava_util_concurrent_Executor_Landroid_media_AudioTrack_StreamEventCallback_Handler", ApiSince=29)>]
abstract member RegisterStreamEventCallback : Java.Util.Concurrent.IExecutor * Android.Media.AudioTrack.StreamEventCallback -> unit
override this.RegisterStreamEventCallback : Java.Util.Concurrent.IExecutor * Android.Media.AudioTrack.StreamEventCallback -> unit
Parameters
- executor
- IExecutor
Executor
to handle the callbacks.
- eventCallback
- AudioTrack.StreamEventCallback
the callback to receive the stream event notifications.
- 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.