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