InAppNotificationModalViewStyle

Implements the style properties for a modal in-app notification view. Provides concrete values for the text and button styles specified in the InAppNotificationViewStyle interface.

Syntax: class InAppNotificationModalViewStyle(var textColor: Int,var textSize: Float,var textTypeface: Typeface,var titleTextColor: Int,var titleTextSize: Float,var titleTextTypeface: Typeface,var backgroundResource: Int,var backgroundColor: Int,var buttonStyle: InAppNotificationButtonStyle) : InAppNotificationViewStyle

Implements the style properties for a modal in-app notification view. Provides concrete values for the text and button styles specified in the InAppNotificationViewStyle interface.

Constructors

Public ConstructorDescription
InAppNotificationModalViewStyleconstructor( textColor: Int, textSize: Float, textTypeface: Typeface, titleTextColor: Int, titleTextSize: Float, titleTextTypeface: Typeface, backgroundResource: Int, backgroundColor: Int, buttonStyle: InAppNotificationButtonStyle )

Properties

NameReturn TypeDescription
backgroundColorIntopen override var backgroundColor: Int
The color of the notification view's background.
backgroundResourceIntopen override var backgroundResource: Int
The resource ID for the notification view's background is drawable.
buttonStyleStringopen override var buttonStyle: InAppNotificationButtonStyle
The style configuration for the notification action button.
textColorIntopen override var textColor: Int
The color of the notification message text.
textSizeFloatopen override var textSize: Float
The size of the notification message text.
textTypefaceStringopen override var textSize: Float
The size of the notification message text.
titleTextColorIntopen override var titleTextColor: Int
The color of the notification title text.
titleTextSizeFloatopen override var titleTextSize: Float
The size of the notification title text.
titleTextTypefaceStringopen override var titleTextTypeface: Typeface
The typeface used for the notification title text.