Interface CanRecordScreen

    • Method Detail

      • startRecordingScreen

        default java.lang.String startRecordingScreen()
        Start asynchronous screen recording process with default options.
        Returns:
        `not used`.
      • stopRecordingScreen

        default <T extends BaseStopScreenRecordingOptions> java.lang.String stopRecordingScreen​(T options)
        Gather the output from the previously started screen recording to a media file.
        Type Parameters:
        T - The platform-specific BaseStopScreenRecordingOptions
        Parameters:
        options - see the documentation on the BaseStopScreenRecordingOptions descendant for the particular platform.
        Returns:
        Base-64 encoded content of the recorded media file or an empty string if the file has been successfully uploaded to a remote location (depends on the actual options).
      • stopRecordingScreen

        default java.lang.String stopRecordingScreen()
        Gather the output from the previously started screen recording to a media file with default options.
        Returns:
        Base-64 encoded content of the recorded media file.