Share via


IncomingCallNotificationProps interface

Properties for the incoming call notification component.

Properties

acceptOptions

Options for whether to show the accept with video button

alertText

Alert Text"

avatarImage

URL to the avatar image for the user

callerName

Caller's Name

onAcceptWithAudio

Callback to accept the call with audio

onAcceptWithVideo

Callback to accept the call with Video

onDismiss

Callback when the notification is dismissed

onReject

Callback to reject the call

onRenderAvatar

Callback to render the avatar

personaSize

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

Property Value