Protocols

The following protocols are available globally.

  • A protocol to handle events from FCM for devices running iOS 10 or above.

    To support devices running iOS 9 or below, use the local and remote notifications handlers defined in UIApplicationDelegate protocol.

    Declaration

    Swift

    protocol MessagingDelegate : NSObjectProtocol

    Objective-C

    @protocol FIRMessagingDelegate <NSObject>