capacitor-telephony-manager
v2.0.2
Published
Telephony Manager for VOIP Apps
Downloads
8
Readme
capacitor-telephony-manager
Telephony Manager for VOIP Apps
Install
npm install capacitor-telephony-manager
npx cap syncAPI
addListener('notificationActionPerformed', ...)addListener('timerStared', ...)outGoingCallNotification(...)updateOutgoingNotification(...)updateOutgoingNotificationAction(...)removeOutgoingNotification()getCallTimer(...)- Interfaces
addListener('notificationActionPerformed', ...)
addListener(eventName: 'notificationActionPerformed', listenerFunc: (notificationAction: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle| Param | Type |
| ------------------ | ------------------------------------------------- |
| eventName | 'notificationActionPerformed' |
| listenerFunc | (notificationAction: any) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
addListener('timerStared', ...)
addListener(eventName: 'timerStared', listenerFunc: (notificationAction: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle| Param | Type |
| ------------------ | ------------------------------------------------- |
| eventName | 'timerStared' |
| listenerFunc | (notificationAction: any) => void |
Returns: Promise<PluginListenerHandle> & PluginListenerHandle
outGoingCallNotification(...)
outGoingCallNotification(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
updateOutgoingNotification(...)
updateOutgoingNotification(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
updateOutgoingNotificationAction(...)
updateOutgoingNotificationAction(options: { isSpeaker: boolean; }) => Promise<{ isSpeaker: boolean; }>| Param | Type |
| ------------- | ------------------------------------ |
| options | { isSpeaker: boolean; } |
Returns: Promise<{ isSpeaker: boolean; }>
removeOutgoingNotification()
removeOutgoingNotification() => Promise<boolean>Returns: Promise<boolean>
getCallTimer(...)
getCallTimer(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
Interfaces
PluginListenerHandle
| Prop | Type |
| ------------ | ----------------------------------------- |
| remove | () => Promise<void> |
