public class ScreenRecorderHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RECORDER_ANDROID_VIDEO_SIZE |
static String |
RECORDER_ENABLE_RECORDING |
static String |
RECORDER_IOS_QUALITY |
static String |
RECORDER_IOS_TYPE |
static String |
RECORDER_MAX_TIME_SECONDS |
static String |
RECORDER_ON_FAIL_TEST_ONLY |
| Constructor and Description |
|---|
ScreenRecorderHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteScreenRecorderTempDir()
delete screen recorder temp folder
|
static File |
getScreenRecorderTempDir()
gets the temp dir for screen recorder videos.
|
static void |
startRecording()
start screen recording
works for ios, android and web
|
static void |
stopRecording()
stops screen recording
works for ios, android and web
|
public static final String RECORDER_ENABLE_RECORDING
public static final String RECORDER_ON_FAIL_TEST_ONLY
public static final String RECORDER_MAX_TIME_SECONDS
public static final String RECORDER_ANDROID_VIDEO_SIZE
public static final String RECORDER_IOS_QUALITY
public static final String RECORDER_IOS_TYPE
public static void startRecording()
public static void stopRecording()
public static File getScreenRecorderTempDir()
public static void deleteScreenRecorderTempDir()
Copyright © 2019. All rights reserved.