FirebaseMessaging Framework Reference

Classes

The following classes are available globally.

  • Information about a downstream message received by the app.

    Declaration

    Swift

    classMessagingMessageInfo:NSObject
  • Firebase Messaging lets you reliably deliver messages.

    To send or receive messages, the app must get a registration token. This token authorizes an app server to send messages to an app instance.

    In order to handle incoming Messaging messages, set theUNUserNotificationCenter‘sdelegate property and implement the appropriate methods.

    Declaration

    Swift

    classMessaging:NSObject
  • This class is used to automatically populate a notification with an image if it isspecified in the notification body via theimage parameter. Images and otherrich content can be populated manually without the use of this class. See theUNNotificationServiceExtension type for more details.

    Declaration

    Swift

    classFIRMessagingExtensionHelper:NSObject

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-11 UTC.