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 Constructor | Description |
|---|---|
| InAppNotificationModalViewStyle | constructor( textColor: Int, textSize: Float, textTypeface: Typeface, titleTextColor: Int, titleTextSize: Float, titleTextTypeface: Typeface, backgroundResource: Int, backgroundColor: Int, buttonStyle: InAppNotificationButtonStyle ) |
Properties
| Name | Return Type | Description |
|---|---|---|
| backgroundColor | Int | open override var backgroundColor: IntThe color of the notification view's background. |
| backgroundResource | Int | open override var backgroundResource: IntThe resource ID for the notification view's background is drawable. |
| buttonStyle | String | open override var buttonStyle: InAppNotificationButtonStyleThe style configuration for the notification action button. |
| textColor | Int | open override var textColor: IntThe color of the notification message text. |
| textSize | Float | open override var textSize: FloatThe size of the notification message text. |
| textTypeface | String | open override var textSize: FloatThe size of the notification message text. |
| titleTextColor | Int | open override var titleTextColor: IntThe color of the notification title text. |
| titleTextSize | Float | open override var titleTextSize: FloatThe size of the notification title text. |
| titleTextTypeface | String | open override var titleTextTypeface: TypefaceThe typeface used for the notification title text. |
Updated 12 months ago
