1. Introduction
Screen Recorder is an extension which offers a set of tools to record screen without root access.
Latest Version: 1.5
Released: July 11, 2020
Last Updated: Sunday
Requires: Api 21 (and Api 24 for Pause and Resume methods)
Permissions: android.permission.WRITE_EXTERNAL_STORAGE
and android.permission.RECORD_AUDIO
(and android.permission.FOREGROUND_SERVICE
for Api 29 and above)
2. Blocks





3. Documentation
- On Error
Event invoked when an error occurs while recording
error ~ text
- On Info
Event invoked when an informational event occurs while recording
info ~ text
- On Recording Completed
Event indicating that recording has completed.
filePath ~ text
- On Recording Started
Event indicating that recording has started.
- Get Supported Profiles
Returns a list of supported video qaulity profiles
Returns : List< Integer >
- Initialize Recorder
Prepares the recorder to begin capturing and saving data.
- Is Recording
Returns whether recorder is recording screen or not
Returns : boolean
- Mimimize App
Minimizes current app
- Pause Recording
Pauses recording.It does nothing if the recording is already paused.
Requires Api 24
- Reset Properties
Sets property values according to video quality.
- Resume Recording
Resumes recording.It does nothing if the recording is not paused.
Requires Api 24
- Start Recording
Starts capturing the screen and saving to file specified.
- Stop Recording
Stops the recording and resets the recorder to its idle state.After calling this method, you will have to initialize recorder again to record again.
- Api Version
Returns android version code
Returns : int
- Audio Encoder
Sets/Returns the audio encoder used to encode audio recording.
Returns : int
- Audio Encoding Bit Rate
Sets/Returns the audio encoding bit rate for recording.Using 0 will reset it to default.
Returns : long
- File Name
Sets/Returns the path of the output file to be produced.Use absolute file path here.If you want to use default file path then pass an empty string.
Returns : text
- Frame Rate
Sets/Returns the frame rate of the video to be captured.
Returns : int
- Max Duration
Sets/Returns the maximum duration (in ms) of the recording session.Setting it 0 will remove duration limit.
Returns : long
- Max File Size
Sets/Returns the maximum filesize (in bytes) of the recording session.Setting it 0 will remove file size limit.
Returns : long
- Use Default Profile
Sets/Returns whether recorder should use default profile (set usingVideoQuality
) for recording or not.
Returns : boolean
- Video Encoder
Sets/Returns the video encoder used to encode video recording.
Returns : int
- Video Encoding Rate
Sets/Returns the video encoding bit rate for recording.Setting it 0 will reset it to default.
Returns : long
- Video Format
Sets/Returns the format of the output file produced during recording.
Returns : int
- Video Quality
Sets the video quality profile used for recording.ResetProperties
method will use this profile to get default values.To use this profile in recording you must have to setUseDefaultProfile
to true.
Returns : int
4. Downloads
5. Liked my work/Support me
Please consider donating some amount to keep me motivated.
6. External References
Audio Encoder: MediaRecorder.AudioEncoder
Video Encoder: MediaRecorder.VideoEncoder
Output Format: MediaRecorder.OutputFormat
Video Quality: Camcorder Profile
Note: Not every video/audio encoder supports all output formats.
This can help you to chose appropriate properties:
Media Formats
Hope it helps!