java.lang.Object | |
↳ | com.google.android.gms.wallet.wobs.WalletObjectMessage.Builder |
Builder to create a WalletObjectMessage
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Sets the uri to which users are directed when they click on the message.
| |||||||||||
Sets the message body.
| |||||||||||
Sets the period of time that the message will be displayed to users.
| |||||||||||
Sets the message header.
| |||||||||||
Sets the uri of the image to display with the message.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Sets the uri to which users are directed when they click on the message.
Parameters | |
---|---|
uri |
UriData |
Returns | |
---|---|
WalletObjectMessage.Builder |
Sets the message body.
The maximum length is 200 characters for an expanded template with no image or 150 characters if you specify an image.
Parameters | |
---|---|
body |
String |
Returns | |
---|---|
WalletObjectMessage.Builder |
Sets the period of time that the message will be displayed to users.
TimeInterval
can have both start timestamp and end timestamp defined for each
message. A message is displayed immediately after a Wallet Object is inserted unless a
startTimeTimestamp is set. The message will appear in a list of messages indefinitely if
endTimestamp is not provided.
Parameters | |
---|---|
interval |
TimeInterval |
Returns | |
---|---|
WalletObjectMessage.Builder |
Sets the message header.
The maximum length is 35 characters for an expanded template with no image or 25 characters if you specify an image.
Parameters | |
---|---|
header |
String |
Returns | |
---|---|
WalletObjectMessage.Builder |
Sets the uri of the image to display with the message.
Parameters | |
---|---|
uri |
UriData |
Returns | |
---|---|
WalletObjectMessage.Builder |