FirebaseMessaging Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Enumerations
The following enumerations are available globally.
-
Declaration
Swift
typealias MessagingError.Code._ErrorType = MessagingError
-
Status for the downstream message received by the app.
Declaration
Swift
enum MessagingMessageStatus : Int, @unchecked Sendable
-
The APNs token type for the app. If the token type is set to UNKNOWN
Firebase Messaging will implicitly try to figure out what the actual token type
is from the provisioning profile.
Unless you really need to specify the type, you should use the APNSToken
property instead.
Declaration
Swift
enum MessagingAPNSTokenType : Int, @unchecked Sendable
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\nEnumerations\n============\n\nThe following enumerations are available globally.\n- `\n ``\n ``\n `\n\n ### [_ErrorType](/docs/reference/swift/firebasemessaging/api/reference/Enums/_ErrorType)\n\n `\n ` \n @enum FIRMessagingError \n\n #### Declaration\n\n Swift \n\n typealias MessagingError.Code._ErrorType = MessagingError\n\n- `\n ``\n ``\n `\n\n ### [MessagingMessageStatus](/docs/reference/swift/firebasemessaging/api/reference/Enums/MessagingMessageStatus)\n\n `\n ` \n Status for the downstream message received by the app. \n\n #### Declaration\n\n Swift \n\n enum MessagingMessageStatus : Int, @unchecked Sendable\n\n- `\n ``\n ``\n `\n\n ### [MessagingAPNSTokenType](/docs/reference/swift/firebasemessaging/api/reference/Enums/MessagingAPNSTokenType)\n\n `\n ` \n The APNs token type for the app. If the token type is set to `UNKNOWN`\n Firebase Messaging will implicitly try to figure out what the actual token type\n is from the provisioning profile.\n Unless you really need to specify the type, you should use the `APNSToken`\n property instead. \n\n #### Declaration\n\n Swift \n\n enum MessagingAPNSTokenType : Int, @unchecked Sendable"]]