FirebaseMpnBuilderExt extension

on

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 of webpush.notification.body field.
getData() Map<String, String>?

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Gets sub-fields of the webpush.data field.
getHeaders() Map<String, String>?

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Gets sub-fields of the webpush.headers field.
getIcon() String?

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Gets the value of webpush.notification.icon field.
getTitle() String?

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Gets the value of webpush.notification.title field.
setBody(String? body) FirebaseMpnBuilder

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Sets the webpush.notification.body field.
setData(Map<String, String>? data) FirebaseMpnBuilder

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Sets sub-fields of the webpush.data field.
setHeaders(Map<String, String>? headers) FirebaseMpnBuilder

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Sets sub-fields of the webpush.headers field.
setIcon(String? icon) FirebaseMpnBuilder

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Sets the webpush.notification.icon field.
setTitle(String? title) FirebaseMpnBuilder

Available on FirebaseMpnBuilder, provided by the FirebaseMpnBuilderExt extension

Sets the webpush.notification.title field.