PushKeys

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

Overview 

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

Properties 

All properties are const val of type String:

Layout & Styling 

  • 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

Content 

  • title - Title text key
  • subtitle - Subtitle text key
  • text - Body text content key
  • altText - Alternative text key

Media & Icons 

  • icon - Icon resource key
  • smallIcon - Small icon resource key
  • largeIcon - Large icon resource key
  • media - Media content key

Interactive Elements 

  • actions - Actions configuration key
  • buttons - Buttons configuration key
  • url - URL link key

Structure 

  • items - List items key
  • style - Style configuration key
  • type - Type identifier key
  • identifier - Unique identifier key
  • viewTemplate - View template configuration key

Timing 

  • timerInMilliSec - Timer duration in milliseconds key

Usage 

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


Source: MarketingCloudSDK-Android Javadocs