smartwinnr-capacitor-daily
v1.1.7
Published
A capacitor plugin for ionic app which allows to use the daily.co call functionality
Readme
smartwinnr-capacitor-daily
A capacitor plugin for ionic app which allows to use the daily.co call functionality
Install
npm install smartwinnr-capacitor-daily
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
joinCall(...)
joinCall(options: { url: string; token: string; }) => Promise<{ isCallJoined: boolean; }>| Param | Type |
| ------------- | -------------------------------------------- |
| options | { url: string; token: string; } |
Returns: Promise<{ isCallJoined: boolean; }>
endCall()
endCall() => Promise<{ isCallEnded: boolean; }>Returns: Promise<{ isCallEnded: boolean; }>
addListener('onJoined', ...)
addListener(eventName: 'onJoined', listenerFunc: () => void) => Promise<PluginListenerHandle>| Param | Type |
| ------------------ | -------------------------- |
| eventName | 'onJoined' |
| listenerFunc | () => void |
Returns: Promise<PluginListenerHandle>
addListener('onLeft', ...)
addListener(eventName: 'onLeft', listenerFunc: () => void) => Promise<PluginListenerHandle>Called when the screen recording is stopped.
Only available on iOS for now.
| Param | Type |
| ------------------ | -------------------------- |
| eventName | 'onLeft' |
| listenerFunc | () => void |
Returns: Promise<PluginListenerHandle>
Since: 3.0.2
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove | () => Promise<void> |
