FIRMessagingExtensionHelper

@interface FIRMessagingExtensionHelper : NSObject

 /// Call this API to complete your notification content modification. If you like to
/// overwrite some properties of the content instead of using the default payload,
/// make sure to make your customized motification to the content before passing it to
/// this call.
- (void)populateNotificationContent:(UNMutableNotificationContent *)content
                 withContentHandler:(void (^)(UNNotificationContent *_Nonnull))contentHandler;

 @end

Undocumented

  • Call this API to complete your notification content modification. If you like to overwrite some properties of the content instead of using the default payload, make sure to make your customized motification to the content before passing it to this call.

    Declaration

    Objective-C

    - (void)
    populateNotificationContent:(nonnull UNMutableNotificationContent *)content
             withContentHandler:
                 (nonnull void (^)(UNNotificationContent *_Nonnull))contentHandler;