Capacitor plugin for using parts of the Resgrid system
npm install capacitor-plugin-resgrid
npx cap sync
start(options: ResgridPluginStartOptions) => Promise<void>
Param | Type |
---|---|
options |
ResgridPluginStartOptions |
stop() => Promise<void>
showModal() => Promise<void>
checkPermissions() => Promise<PermissionStatus>
Returns: Promise<any>
requestPermissions() => Promise<PermissionStatus>
Returns: Promise<any>
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[] |
Prop | Type |
---|---|
name |
string |
id |
string |
token |
string |