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