IncomingCallNotificationProps interface
Properties for the incoming call notification component.
Properties
| accept |
Options for whether to show the accept with video button |
| alert |
Alert Text" |
| avatar |
URL to the avatar image for the user |
| caller |
Caller's Name |
| on |
Callback to accept the call with audio |
| on |
Callback to accept the call with Video |
| on |
Callback when the notification is dismissed |
| on |
Callback to reject the call |
| on |
Callback to render the avatar |
| persona |
Size of the persona coin |
| strings | Strings for the incoming call notification component. |
| styles | Styles for the incoming call notification component. |
Property Details
acceptOptions
Options for whether to show the accept with video button
acceptOptions: { showAcceptWithVideo: boolean }
Property Value
{ showAcceptWithVideo: boolean }
alertText
Alert Text"
alertText?: string
Property Value
string
avatarImage
URL to the avatar image for the user
avatarImage?: string
Property Value
string
callerName
Caller's Name
callerName?: string
Property Value
string
onAcceptWithAudio
Callback to accept the call with audio
onAcceptWithAudio: () => void
Property Value
() => void
onAcceptWithVideo
Callback to accept the call with Video
onAcceptWithVideo: () => void
Property Value
() => void
onDismiss
Callback when the notification is dismissed
onDismiss?: () => void
Property Value
() => void
onReject
Callback to reject the call
onReject: () => void
Property Value
() => void
onRenderAvatar
Callback to render the avatar
onRenderAvatar?: () => Element
Property Value
() => Element
personaSize
Size of the persona coin
personaSize?: number
Property Value
number
strings
Strings for the incoming call notification component.
strings?: IncomingCallNotificationStrings
Property Value
styles
Styles for the incoming call notification component.
styles?: IncomingCallNotificationStyles