Style
Package: com.salesforce.marketingcloud.pushmodels.data
Module: Push Models Module v1.0.2
Platform: androidJvm
An interface for defining text styling in push notifications. Implements Android’s Parcelable for data transfer.
Enumeration for text alignment options.
Companion object for the Style interface.
Enumeration for font style variations.
Enumeration for font size options.
Data class implementation of Style interface. Defines text appearance for push notifications with a span property containing rendered HTML.
Text alignment configuration.
Background color for the styled text.
Font color for the text.
Font size specification.
Font style configuration.
Parcelable implementation method describing contents.
Parcelable implementation for writing object data to a Parcel.
Parameters:
parcel- The Parcel to write toflags- Additional flags for writing
Part of Salesforce Marketing Cloud Unified SDK 11.0.0