PushKeys

Package: com.salesforce.marketingcloud.pushmodels
Module: Push Models Module v1.0.2
Type: object

PushKeys is a Kotlin object that provides constant string keys used for push notification configuration in the Salesforce Marketing Cloud Unified SDK.

All properties are const val of type String:

  • alignment - Alignment configuration key
  • backgroundColor - Background color configuration key
  • fontColor - Font color configuration key
  • fontSize - Font size configuration key
  • fontStyle - Font style configuration key
  • padding - Padding configuration key
  • title - Title text key
  • subtitle - Subtitle text key
  • text - Body text content key
  • altText - Alternative text key
  • icon - Icon resource key
  • smallIcon - Small icon resource key
  • largeIcon - Large icon resource key
  • media - Media content key
  • actions - Actions configuration key
  • buttons - Buttons configuration key
  • url - URL link key
  • items - List items key
  • style - Style configuration key
  • type - Type identifier key
  • identifier - Unique identifier key
  • viewTemplate - View template configuration key
  • timerInMilliSec - Timer duration in milliseconds key

These constants are used as keys for configuring push notification properties and layouts within the Salesforce Marketing Cloud SDK.


Source: MarketingCloudSDK-Android Javadocs