Version:
interface
ScreenRecordingProviderInterface
A ScreenRecordingProvider should provide an abstraction layer to control
screen streaming and screen recording.
typescript
interface ScreenRecordingProviderInterface<STREAMING_OPTIONS, RECORDING_OPTIONS, STOP_STREAMING_OPTIONS, STOP_RECORDING_OPTIONS>Methods
discardRecording
discardRecording(): Promise<void>Discards a screen recording without saving.
Returns
Promise<void>startRecording
startRecording(options?: RECORDING_OPTIONS): Promise<void>Starts screen recording.
Parameters
options?RECORDING_OPTIONSReturns
Promise<void>startStreaming
startStreaming(options?: STREAMING_OPTIONS): Promise<void>Starts screen streaming.
Parameters
options?STREAMING_OPTIONSReturns
Promise<void>stopRecording
stopRecording(options?: STOP_RECORDING_OPTIONS): Promise<void>Stops screen recording.
Parameters
options?STOP_RECORDING_OPTIONSReturns
Promise<void>stopStreaming
stopStreaming(options?: STOP_STREAMING_OPTIONS): Promise<void>Stops screen streaming.
Parameters
options?STOP_STREAMING_OPTIONSReturns
Promise<void>Was this page helpful?