FirebaseMpnBuilderExt extension
Methods
-
build(
) → String - Produces the JSON structure for the push notification format specified by this object.
-
getBody(
) → String? -
Gets the value of
webpush.notification.body
field. -
getData(
) → Map< String, String> ? -
Gets sub-fields of the
webpush.data
field. -
getHeaders(
) → Map< String, String> ? -
Gets sub-fields of the
webpush.headers
field. -
getIcon(
) → String? -
Gets the value of
webpush.notification.icon
field. -
getTitle(
) → String? -
Gets the value of
webpush.notification.title
field. -
setBody(
String? body) → FirebaseMpnBuilder -
Sets the
webpush.notification.body
field. -
setData(
Map< String, String> ? data) → FirebaseMpnBuilder -
Sets sub-fields of the
webpush.data
field. -
setHeaders(
Map< String, String> ? headers) → FirebaseMpnBuilder -
Sets sub-fields of the
webpush.headers
field. -
setIcon(
String? icon) → FirebaseMpnBuilder -
Sets the
webpush.notification.icon
field. -
setTitle(
String? title) → FirebaseMpnBuilder -
Sets the
webpush.notification.title
field.