capacitor-plugin-resgrid
v1.0.14
Published
Capacitor plugin for interacting with parts of the Resgrid system
Downloads
90
Maintainers
Readme
capacitor-plugin-resgrid
Capacitor plugin for using parts of the Resgrid system
Install
npm install capacitor-plugin-resgrid
npx cap syncAPI
start(...)
start(options: ResgridPluginStartOptions) => Promise<void>| Param | Type |
| ------------- | ------------------------------------------------------------------------------- |
| options | ResgridPluginStartOptions |
stop()
stop() => Promise<void>showModal()
showModal() => Promise<void>checkPermissions()
checkPermissions() => Promise<PermissionStatus>Returns: Promise<any>
requestPermissions()
requestPermissions() => Promise<PermissionStatus>Returns: Promise<any>
Interfaces
ResgridPluginStartOptions
| Prop | Type | Description |
| ------------------------------- | --------------------------------- | ------------------------------------------------- |
| token | string | |
| url | string | |
| type | number | Type of headset to use. 0 = Audio Only, 1 = Video |
| title | string | |
| defaultMic | string | |
| defaultSpeaker | string | |
| apiUrl | string | |
| canConnectToVoiceApiToken | string | |
| rooms | ResgridPluginRooms[] | |
ResgridPluginRooms
| Prop | Type |
| ----------- | ------------------- |
| name | string |
| id | string |
| token | string |
