1.6.2 • Published 1 year ago

capacitor-plugin-incoming-call-notification v1.6.2

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

capacitor-plugin-incoming-call-notification

Plugin to create an incoming call notification

Install

npm install capacitor-plugin-incoming-call-notification
npx cap sync

API

show(...)

show(data?: Partial<IncomingCallNotificationSettings> | undefined) => Promise<{ response: 'click' | 'answer' | 'decline' | 'terminate'; }>
ParamType
dataPartial<IncomingCallNotificationSettings>

Returns: Promise<{ response: 'click' | 'answer' | 'decline' | 'terminate'; }>


hide()

hide() => Promise<void>

Interfaces

IncomingCallNotificationSettings

PropType
callerNamestring
callerNumberstring
iconstring
picturestring
thereIsACallInProgressboolean
declineButtonTextstring
declineButtonColorstring
answerButtonTextstring
answerButtonColorstring
terminateAndAnswerButtonTextstring
terminateAndAnswerButtonColorstring
declineSecondCallButtonTextstring
declineSecondCallButtonColorstring
holdAndAnswerButtonTextstring
holdAndAnswerButtonColorstring
colorstring
channelNamestring
channelDescriptionstring

Type Aliases

Partial

Make all properties in T optional

{ P in keyof T?: TP; }

1.6.2

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.0.0

3 years ago