FirebaseInAppMessagingDisplay Framework Reference

FIRInAppMessagingBannerDisplay

@interfaceFIRInAppMessagingBannerDisplay:FIRInAppMessagingDisplayMessage

Class for defining a banner message for display.

  • Gets the title of a banner message.

    Declaration

    Objective-C

    @property(readonly,copy,nonatomic,nonnull)NSString*title;
  • Gets the image data for a banner message.

    Declaration

    Objective-C

    @property(readonly,copy,nonatomic,nullable)FIRInAppMessagingImageData*imageData;
  • Gets the body text for a banner message.

    Declaration

    Objective-C

    @property(readonly,copy,nonatomic,nullable)NSString*bodyText;
  • Gets banner’s background color

    Declaration

    Objective-C

    @property(readonly,copy,nonatomic,nonnull)UIColor*displayBackgroundColor;
  • Gets the color for text in banner fiam message. It would apply to both title and body text.

    Declaration

    Objective-C

    @property(readwrite,copy,nonatomic,nonnull)UIColor*textColor;
  • Gets the action URL for a banner fiam message.

    Declaration

    Objective-C

    @property(readonly,nonatomic,nullable)NSURL*actionURL;
  • Unavailable.

    Declaration

    Objective-C

    -(nonnullinstancetype)init;
  • Deprecated, this class shouldn’t be directly instantiated.

    Declaration

    Objective-C

    -(nonnullinstancetype)initWithMessageID:(nonnullNSString*)messageIDcampaignName:(nonnullNSString*)campaignNamerenderAsTestMessage:(BOOL)renderAsTestMessagetriggerType:(FIRInAppMessagingDisplayTriggerType)triggerTypetitleText:(nonnullNSString*)titlebodyText:(nonnullNSString*)bodyTexttextColor:(nonnullUIColor*)textColorbackgroundColor:(nonnullUIColor*)backgroundColorimageData:(nullableFIRInAppMessagingImageData*)imageDataactionURL:(nullableNSURL*)actionURL;
close