MessagingKt

public final class MessagingKt


Summary

Public fields

final @NonNull FirebaseMessaging

Returns the FirebaseMessaging instance of the default FirebaseApp.

Public methods

static final @NonNull RemoteMessage

Returns a RemoteMessage instance initialized using the init function.

Public fields

messaging

public final @NonNull FirebaseMessaging messaging

Returns the FirebaseMessaging instance of the default FirebaseApp.

Public methods

remoteMessage

public static final @NonNull RemoteMessage remoteMessage(
    @NonNull String to,
    @ExtensionFunctionType @NonNull Function1<@NonNull RemoteMessage.BuilderUnit> init
)

Returns a RemoteMessage instance initialized using the init function.