toggle menu
Marketing Cloud SDK
androidJvm
switch theme
search in API
Push Models Module
/
com.salesforce.marketingcloud.pushmodels.rich.buttons
/
RichButtonTemplate
/
RichButton
Rich
Button
data
class
RichButton
(
val
identifier
:
String
,
val
title
:
Text
?
=
null
,
val
icon
:
String
?
=
null
,
val
style
:
Style
?
=
null
,
val
actions
:
List
<
Action
>
?
=
listOf(Action.OpenApp)
)
:
Parcelable
,
PushView
Members
Constructors
Rich
Button
Link copied to clipboard
constructor
(
identifier
:
String
,
title
:
Text
?
=
null
,
icon
:
String
?
=
null
,
style
:
Style
?
=
null
,
actions
:
List
<
Action
>
?
=
listOf(Action.OpenApp)
)
Properties
actions
Link copied to clipboard
open
override
val
actions
:
List
<
Action
>
?
icon
Link copied to clipboard
val
icon
:
String
?
=
null
identifier
Link copied to clipboard
val
identifier
:
String
style
Link copied to clipboard
open
override
val
style
:
Style
?
=
null
title
Link copied to clipboard
val
title
:
Text
?
=
null
Functions
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JSONObject
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String