Package core.helpers
Class ScreenRecorderHelper
- java.lang.Object
-
- core.helpers.ScreenRecorderHelper
-
public class ScreenRecorderHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringRECORDER_ANDROID_VIDEO_SIZEstatic StringRECORDER_ENABLE_RECORDINGstatic StringRECORDER_IOS_QUALITYstatic StringRECORDER_IOS_TYPEstatic StringRECORDER_MAX_TIME_SECONDSstatic StringRECORDER_ON_FAIL_TEST_ONLY
-
Constructor Summary
Constructors Constructor Description ScreenRecorderHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddeleteScreenRecorderTempDir()delete screen recorder temp folderstatic FilegetScreenRecorderTempDir()gets the temp dir for screen recorder videos.static voidstartRecording()start screen recording works for ios, android and webstatic voidstopRecording()stops screen recording works for ios, android and web
-
-
-
Field Detail
-
RECORDER_ENABLE_RECORDING
public static final String RECORDER_ENABLE_RECORDING
- See Also:
- Constant Field Values
-
RECORDER_ON_FAIL_TEST_ONLY
public static final String RECORDER_ON_FAIL_TEST_ONLY
- See Also:
- Constant Field Values
-
RECORDER_MAX_TIME_SECONDS
public static final String RECORDER_MAX_TIME_SECONDS
- See Also:
- Constant Field Values
-
RECORDER_ANDROID_VIDEO_SIZE
public static final String RECORDER_ANDROID_VIDEO_SIZE
- See Also:
- Constant Field Values
-
RECORDER_IOS_QUALITY
public static final String RECORDER_IOS_QUALITY
- See Also:
- Constant Field Values
-
RECORDER_IOS_TYPE
public static final String RECORDER_IOS_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
startRecording
public static void startRecording()
start screen recording works for ios, android and web
-
stopRecording
public static void stopRecording()
stops screen recording works for ios, android and web
-
getScreenRecorderTempDir
public static File getScreenRecorderTempDir()
gets the temp dir for screen recorder videos. created on start recording.- Returns:
-
deleteScreenRecorderTempDir
public static void deleteScreenRecorderTempDir()
delete screen recorder temp folder
-
-