FirebaseMessaging Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Classes
The following classes are available globally.
-
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 the
UNUserNotificationCenter
‘s delegate
property
and implement the appropriate methods.
Declaration
Objective-C
@interface FIRMessaging : NSObject
-
Information about a downstream message received by the app.
Declaration
Objective-C
@interface FIRMessagingMessageInfo : NSObject
-
This class is used to automatically populate a notification with an image if it is
specified in the notification body via the image
parameter. Images and other
rich content can be populated manually without the use of this class. See the
UNNotificationServiceExtension
type for more details.
Declaration
Objective-C
@interface FIRMessagingExtensionHelper : NSObject
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-11 UTC.
[null,null,["Last updated 2025-03-11 UTC."],[],[],null,["# FirebaseMessaging Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [FIRMessaging](/docs/reference/ios/firebasemessaging/api/reference/Classes/FIRMessaging)\n\n `\n ` \n Firebase Messaging lets you reliably deliver messages.\n\n To send or receive messages, the app must get a\n registration token. This token authorizes an\n app server to send messages to an app instance.\n\n In order to handle incoming Messaging messages, set the\n `UNUserNotificationCenter`'s `delegate` property\n and implement the appropriate methods. \n\n #### Declaration\n\n Objective-C \n\n\n @interface FIRMessaging : NSObject\n\n- `\n ``\n ``\n `\n\n ### [FIRMessagingMessageInfo](/docs/reference/ios/firebasemessaging/api/reference/Classes/FIRMessagingMessageInfo)\n\n `\n ` \n Information about a downstream message received by the app. \n\n #### Declaration\n\n Objective-C \n\n\n @interface FIRMessagingMessageInfo : NSObject\n\n- `\n ``\n ``\n `\n\n ### [FIRMessagingExtensionHelper](/docs/reference/ios/firebasemessaging/api/reference/Classes/FIRMessagingExtensionHelper)\n\n `\n ` \n This class is used to automatically populate a notification with an image if it is\n specified in the notification body via the `image` parameter. Images and other\n rich content can be populated manually without the use of this class. See the\n `UNNotificationServiceExtension` type for more details. \n\n #### Declaration\n\n Objective-C \n\n\n @interface FIRMessagingExtensionHelper : NSObject"]]