Skip to main content

Ready to market your stellar app?

Samsung Developer Program is your gateway to app monetization success.

Learn More

Samsung Developer Program

Rich Notification API Structure

Rich Notification API Structure
Rich Notification API classes and their relationships

Rich Notification classes are related in the following ways:

 

Rich Notification API Class Structure

Figure:    Rich Notification Class Relationships

 

Rich Notification classes include:

SrnRichNotificationManager

Sends rich notifications from the host device to the wearable device.

SrnRichNotificationManager.EventListener

Listens for status of RN message and action callback notifications.

SrnRichNotification

Contains all the information of the notification.

SrnImageAsset

ImageWrapper for Rich Notification.

SrnPrimaryTemplate

Base class of primary section templates.

SrnSecondaryTemplate

Base class of secondary section templates.

SrnStandardTemplate

Primary section template that displays a small, medium, or full-section header for image and text.

SrnLargeHeaderTemplate

Primary section template that displays a large header for image and text.

SrnQRTemplateTemplate

Primary section template that displays an image (such as a QR code) for  display or information (such as product / payment) purposes.

SrnStandardSecondaryTemplate

Secondary section template that displays paragraph text and an optional image.

SrnQRSecondaryTemplate

Secondary section template that displays best with list content and an image.

SrnAction

Base class of RN primary and secondary actions, which allow an RN user to do something on the Android™ or Gear device.

SrnAction.CallbackIntent

Provides ways on how a callback intent will be launched on the Android device.

SrnHostAction

RN action that is managed by an Android app on the Android device via Android intents.

SrnRemoteLaunchAction

RN action that is managed by a Tizen™ app on the Gear device.

SrnRemoteBuiltInAction

RN built-in system actions that is executed on the Gear device.

SrnRemoteInputAction

RN action that prompts the user to provide additional input and is managed by an Android app on the Android device via an Android intent.

SrnRemoteInputAction.KeyboardInputMode

RN remote input action that prompts the user to enter text using the system keyboard.

SrnRemoteInputAction.SingleSelectInputMode

RN remote input action that prompts the user to choose 1 choice from a list of options.

SrnRemoteInputAction.MultiSelectInputMode

RN remote input action that prompts the user to choose 0, 1, or more choices from a list of options.

 

For more details about the Rich Notification API, see the Samsung Rich Notification API Reference.

 

 

  • Was this article helpful?