NotificationPayload
Helper accessor for notification data payload bundle as received from Twilio Notifications. Use in FirebaseMessagingService.onMessageReceived
implementation to retrieve Twilio-generated payload fields safely.
Do not access the fields in the bundle directly - they could be modified without notice, always use this helper to access them.
Constructors
Types
Functions
Link copied to clipboard
Get notification conversation SID.
Link copied to clipboard
Get notification conversation title.
Link copied to clipboard
Get media content type.
Link copied to clipboard
Get number of media attachments.
Link copied to clipboard
Get media filename.
Link copied to clipboard
Get media SID.
Link copied to clipboard
Get media size.
Link copied to clipboard
Get message index.
Link copied to clipboard
Get message SID.
Link copied to clipboard
Get notification type.
Properties
Link copied to clipboard
Value returned by getMessageIndex if notification contains no message index.