This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Android.Adb.
Summary
Records the screen of the target.
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