Enums

The following enums are available globally.

  • @enum FIRMessagingError

    Declaration

    Swift

    enum MessagingError : UInt

    Objective-C

    enum FIRMessagingError : NSUInteger {}
  • Status for the downstream message received by the app.

    Declaration

    Swift

    enum MessagingMessageStatus : Int

    Objective-C

    enum FIRMessagingMessageStatus : NSInteger {}
  • 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

    Objective-C

    enum FIRMessagingAPNSTokenType : NSInteger {}