Version 2 vs Version 1
API differences among V1 and V2
Last updated
API differences among V1 and V2
Last updated
V1 has access to the api methods via ReplayKitManager static class. This is changed in V2 and access is provided via an IScreenRecorder interface which provides an access to use same code for GIF and Video recording.
For creating an instance of IScreenRecorder, you need to use ScreenRecorderBuilder.
Check availability of service
IsRecordingApiAvailable
Initialisation
Initialise
-
Check if Recording
IsRecording
Check Paused or Recording
-
Set Microphone Status
SetMicrophoneStatus
or
Prepare Recording
PrepareRecording
Start Recording
StartRecording
Pause Recording
-
Stop Recording
StopRecording
Discard Recording
DiscardRecording
Preview Recording
PreviewRecording
Save Recording
SaveRecording
Share Recording
Share Recording