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
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 Details
-
RECORDER_ENABLE_RECORDING
- See Also:
- Constant Field Values
-
RECORDER_ON_FAIL_TEST_ONLY
- See Also:
- Constant Field Values
-
RECORDER_MAX_TIME_SECONDS
- See Also:
- Constant Field Values
-
RECORDER_ANDROID_VIDEO_SIZE
- See Also:
- Constant Field Values
-
RECORDER_IOS_QUALITY
- See Also:
- Constant Field Values
-
RECORDER_IOS_TYPE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
ScreenRecorderHelper
public ScreenRecorderHelper()
-
-
Method Details
-
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
gets the temp dir for screen recorder videos. created on start recording.- Returns:
-
deleteScreenRecorderTempDir
public static void deleteScreenRecorderTempDir()delete screen recorder temp folder
-