IncomingCallNotificationProps interface
Propriétés du composant de notification d’appel entrant.
Propriétés
| accept |
Options d’affichage du bouton d’acceptation avec vidéo |
| alert |
Texte d’alerte" |
| avatar |
URL de l’image de l’avatar de l’utilisateur |
| caller |
Nom de l’appelant |
| on |
Rappel pour accepter l’appel avec audio |
| on |
Rappel pour accepter l’appel avec vidéo |
| on |
Rappel lorsque la notification est rejetée |
| on |
Rappel pour rejeter l’appel |
| on |
Callback pour rendre l’avatar |
| persona |
Taille de la pièce de monnaie Persona |
| strings | Chaînes du composant de notification d’appel entrant. |
| styles | Styles du composant de notification d’appel entrant. |
Détails de la propriété
acceptOptions
Options d’affichage du bouton d’acceptation avec vidéo
acceptOptions: { showAcceptWithVideo: boolean }
Valeur de propriété
{ showAcceptWithVideo: boolean }
alertText
Texte d’alerte"
alertText?: string
Valeur de propriété
string
avatarImage
URL de l’image de l’avatar de l’utilisateur
avatarImage?: string
Valeur de propriété
string
callerName
Nom de l’appelant
callerName?: string
Valeur de propriété
string
onAcceptWithAudio
Rappel pour accepter l’appel avec audio
onAcceptWithAudio: () => void
Valeur de propriété
() => void
onAcceptWithVideo
Rappel pour accepter l’appel avec vidéo
onAcceptWithVideo: () => void
Valeur de propriété
() => void
onDismiss
Rappel lorsque la notification est rejetée
onDismiss?: () => void
Valeur de propriété
() => void
onReject
Rappel pour rejeter l’appel
onReject: () => void
Valeur de propriété
() => void
onRenderAvatar
Callback pour rendre l’avatar
onRenderAvatar?: () => Element
Valeur de propriété
() => Element
personaSize
Taille de la pièce de monnaie Persona
personaSize?: number
Valeur de propriété
number
strings
Chaînes du composant de notification d’appel entrant.
strings?: IncomingCallNotificationStrings
Valeur de propriété
styles
Styles du composant de notification d’appel entrant.
styles?: IncomingCallNotificationStyles