Braze iOS SDK
Documentation for the Braze iOS SDK
 All Classes Functions Properties
Instance Methods | Properties | List of all members
ABKInAppMessageDarkTheme Class Reference

Instance Methods

(instancetype) - initWithFields:
 
(UIColor *) - getColorForKey:
 

Properties

UIColor * backgroundColor
 
UIColor * textColor
 
UIColor * iconColor
 
UIColor * iconBackgroundColor
 
UIColor * headerTextColor
 
UIColor * closeButtonColor
 
UIColor * frameColor
 
NSArray
< ABKInAppMessageDarkButtonTheme * > * 
buttons
 

Method Documentation

- (UIColor *) getColorForKey: (NSString *)  key

Returns the dark color variant given a valid key. If the key isn't found, returns nil.

- (instancetype) initWithFields: (NSDictionary< NSString *, NSString * > *)  darkThemeFields

Data model storing all the Dark Theme values passed down from the server for an in-app message. This only gets initalized if the campaign is set up to support Dark Theme and has the fields populated.

Property Documentation

- (NSArray<ABKInAppMessageDarkButtonTheme *>*) buttons
readwritenonatomicstrong

An array of all the button color properties, in the same order as the buttons object in ABKInAppImmersive