2.0.2 • Published 1 year ago

capacitor-telephony-manager v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

capacitor-telephony-manager

Telephony Manager for VOIP Apps

Install

npm install capacitor-telephony-manager
npx cap sync

API

addListener('notificationActionPerformed', ...)

addListener(eventName: 'notificationActionPerformed', listenerFunc: (notificationAction: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'notificationActionPerformed'
listenerFunc(notificationAction: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


addListener('timerStared', ...)

addListener(eventName: 'timerStared', listenerFunc: (notificationAction: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'timerStared'
listenerFunc(notificationAction: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


outGoingCallNotification(...)

outGoingCallNotification(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


updateOutgoingNotification(...)

updateOutgoingNotification(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


updateOutgoingNotificationAction(...)

updateOutgoingNotificationAction(options: { isSpeaker: boolean; }) => Promise<{ isSpeaker: boolean; }>
ParamType
options{ isSpeaker: boolean; }

Returns: Promise<{ isSpeaker: boolean; }>


removeOutgoingNotification()

removeOutgoingNotification() => Promise<boolean>

Returns: Promise<boolean>


getCallTimer(...)

getCallTimer(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
2.0.2

1 year ago

2.0.1

1 year ago