public final class SrnStandardSecondaryTemplate extends SrnSecondaryTemplate
Constructor and Description |
---|
SrnStandardSecondaryTemplate()
Creates a standard secondary template instance.
|
Modifier and Type | Method and Description |
---|---|
void |
setBody(String body)
Sets the body string in the template.
|
void |
setImage(SrnImageAsset image)
Sets an image for the
SrnRichNotification . |
void |
setSmallIcon1(SrnImageAsset smallIcon,
String smallIconTitle)
Sets the smallIcon in the template.
|
void |
setSmallIcon2(SrnImageAsset smallIcon,
String smallIconTitle)
Sets the smallIcon2 in the template.
|
void |
setSubHeader(String subHeader)
Sets the subtitle in the template.
|
void |
setTitle(String title)
Sets the title in the template.
|
setBackgroundColor
public SrnStandardSecondaryTemplate()
public void setImage(SrnImageAsset image)
SrnRichNotification
.image
- The SrnImageAsset
for the Template's Imagepublic void setTitle(String title)
title
- The String
for the titlepublic void setSubHeader(String subHeader)
subHeader
- The String
for the subtitlepublic void setBody(String body)
body
- The String
for the bodypublic void setSmallIcon1(SrnImageAsset smallIcon, String smallIconTitle)
smallIcon
- The SrnImageAsset
for the smallIconsmallIconTitle
- The String
for the smallIconTitlepublic void setSmallIcon2(SrnImageAsset smallIcon, String smallIconTitle)
smallIcon
- The SrnImageAsset
for the smallIcon2smallIconTitle
- The String
for the smallIconTitle2Copyright © Samsung Electronics, Co., Ltd. All rights reserved.