AdbAliases.

AdbScreenRecord(ICakeContext, FilePath, Nullable<CancellationToken>, Nullable<TimeSpan>, Nullable<int>, Nullable<int>, Nullable<int>, bool, bool, AdbToolSettings) Method

Summary

Records the screen of the target.
Assembly
Cake.Android.Adb.dll
Namespace
Cake.AndroidAdb
Containing Type
AdbAliases

Syntax

public static void AdbScreenRecord(this ICakeContext context, FilePath saveToLocalFile, Nullable<CancellationToken> recordingCancelToken = null, Nullable<TimeSpan> timeLimit = null, Nullable<int> bitrateMbps = null, Nullable<int> width = null, Nullable<int> height = null, bool rotate = false, bool logVerbose = false, AdbToolSettings settings = null)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Context.
saveToLocalFile FilePath Save to local file.
recordingCancelToken Nullable<CancellationToken> Recording cancel token. If specified, the cancel token must be cancelled to stop the recording.
timeLimit Nullable<TimeSpan> Time limit. If specified, recording will stop after the specified time.
bitrateMbps Nullable<int> Bitrate quality in megabits per second. Default is 4mbps.
width Nullable<int> Recording width.
height Nullable<int> Recording height.
rotate bool If set to true rotate the recording 90 degrees.
logVerbose bool If set to true show verbose log output.
settings AdbToolSettings Settings.

Return Value

Type Description
void