編輯

共用方式為


RPScreenRecorder.StartRecordingAsync Method

Definition

Overloads

StartRecordingAsync()

Starts the recording and runs a handler when the recording starts.

StartRecordingAsync(Boolean)

Asynchronously starts recording the screen, controlling whether recording is enabled.

StartRecordingAsync()

Starts the recording and runs a handler when the recording starts.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task StartRecordingAsync ();
abstract member StartRecordingAsync : unit -> System.Threading.Tasks.Task
override this.StartRecordingAsync : unit -> System.Threading.Tasks.Task

Returns

A task that represents the asynchronous StartRecording operation

Attributes

Applies to

StartRecordingAsync(Boolean)

Asynchronously starts recording the screen, controlling whether recording is enabled.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'StartRecording (Action<NSError>)' instead.")]
public virtual System.Threading.Tasks.Task StartRecordingAsync (bool microphoneEnabled);
abstract member StartRecordingAsync : bool -> System.Threading.Tasks.Task
override this.StartRecordingAsync : bool -> System.Threading.Tasks.Task

Parameters

microphoneEnabled
Boolean

Returns

A task that represents the asynchronous StartRecording operation

Attributes

Applies to