Aracılığıyla paylaş


MediaRecorder.RegisterAudioRecordingCallback Method

Definition

Register a callback to be notified of audio capture changes via a AudioManager.AudioRecordingCallback.

[Android.Runtime.Register("registerAudioRecordingCallback", "(Ljava/util/concurrent/Executor;Landroid/media/AudioManager$AudioRecordingCallback;)V", "GetRegisterAudioRecordingCallback_Ljava_util_concurrent_Executor_Landroid_media_AudioManager_AudioRecordingCallback_Handler", ApiSince=29)]
public virtual void RegisterAudioRecordingCallback (Java.Util.Concurrent.IExecutor executor, Android.Media.AudioManager.AudioRecordingCallback cb);
[<Android.Runtime.Register("registerAudioRecordingCallback", "(Ljava/util/concurrent/Executor;Landroid/media/AudioManager$AudioRecordingCallback;)V", "GetRegisterAudioRecordingCallback_Ljava_util_concurrent_Executor_Landroid_media_AudioManager_AudioRecordingCallback_Handler", ApiSince=29)>]
abstract member RegisterAudioRecordingCallback : Java.Util.Concurrent.IExecutor * Android.Media.AudioManager.AudioRecordingCallback -> unit
override this.RegisterAudioRecordingCallback : Java.Util.Concurrent.IExecutor * Android.Media.AudioManager.AudioRecordingCallback -> unit

Parameters

executor
IExecutor

Executor to handle the callbacks.

cb
AudioManager.AudioRecordingCallback

non-null callback to register

Implements

Attributes

Remarks

Java documentation for android.media.MediaRecorder.registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioRecordingCallback).

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