Condividi tramite


AudioRecord.StartRecording Method

Definition

Overloads

StartRecording()

Starts recording from the AudioRecord instance.

StartRecording(MediaSyncEvent)

Starts recording from the AudioRecord instance when the specified synchronization event occurs on the specified audio session.

StartRecording()

Starts recording from the AudioRecord instance.

[Android.Runtime.Register("startRecording", "()V", "GetStartRecordingHandler")]
public virtual void StartRecording ();
[<Android.Runtime.Register("startRecording", "()V", "GetStartRecordingHandler")>]
abstract member StartRecording : unit -> unit
override this.StartRecording : unit -> unit
Attributes

Exceptions

Remarks

Starts recording from the AudioRecord instance.

Java documentation for android.media.AudioRecord.startRecording().

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

StartRecording(MediaSyncEvent)

Starts recording from the AudioRecord instance when the specified synchronization event occurs on the specified audio session.

[Android.Runtime.Register("startRecording", "(Landroid/media/MediaSyncEvent;)V", "GetStartRecording_Landroid_media_MediaSyncEvent_Handler")]
public virtual void StartRecording (Android.Media.MediaSyncEvent? syncEvent);
[<Android.Runtime.Register("startRecording", "(Landroid/media/MediaSyncEvent;)V", "GetStartRecording_Landroid_media_MediaSyncEvent_Handler")>]
abstract member StartRecording : Android.Media.MediaSyncEvent -> unit
override this.StartRecording : Android.Media.MediaSyncEvent -> unit

Parameters

syncEvent
MediaSyncEvent

event that triggers the capture.

Attributes

Exceptions

Remarks

Starts recording from the AudioRecord instance when the specified synchronization event occurs on the specified audio session.

Java documentation for android.media.AudioRecord.startRecording(android.media.MediaSyncEvent).

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.

See also

Applies to