capacitor-plugin-multiscreenrecorder
v0.0.1
Published
This plugin enables users to screen record own and other apps
Readme
capacitor-plugin-multiscreenrecorder
This plugin enables users to screen record own and other apps
Install
To use npm
npm install capacitor-plugin-multiscreenrecorderTo use yarn
yarn add capacitor-plugin-multiscreenrecorderSync native files
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
startRecording(...)
startRecording(options?: RecordingOptions | undefined) => Promise<void>| Param | Type |
| ------------- | ------------------------------------------------------------- |
| options | RecordingOptions |
stopRecording()
stopRecording() => Promise<RecordingResult>Returns: Promise<RecordingResult>
getStatus()
getStatus() => Promise<RecordingStatus>Returns: Promise<RecordingStatus>
setOutputPath(...)
setOutputPath(options: { path: string; }) => Promise<void>| Param | Type |
| ------------- | ------------------------------ |
| options | { path: string; } |
Interfaces
RecordingOptions
| Prop | Type |
| ------------------ | ---------------------------------------- |
| path | string |
| quality | 'low' | 'medium' | 'high' |
| audioEnabled | boolean |
RecordingResult
| Prop | Type |
| -------------- | ------------------- |
| filePath | string |
| duration | number |
| size | number |
RecordingStatus
| Prop | Type |
| ----------------- | -------------------- |
| isRecording | boolean |
| duration | number |
