public static interface DeviceMessageQueue.EntryBuilder
Modifier and Type | Method and Description |
---|---|
DeviceMessageQueue.Entry |
build()
Creates the entry of this builder.
|
DeviceMessageQueue.EntryBuilder |
setAcknowledged(boolean acknowledged)
Marks the entry as acknowledged
|
DeviceMessageQueue.EntryBuilder |
setDelivered(boolean delivered)
Marks the entry as delivered
|
DeviceMessageQueue.EntryBuilder |
setPayload(JSONObject obj)
Sets the payload of this entry
|
DeviceMessageQueue.EntryBuilder |
setRequiresAck(boolean requiresAck)
Marks that this entry requires acknowledgement
|
DeviceMessageQueue.EntryBuilder setPayload(JSONObject obj)
obj
- the payload to sendthis
builder.DeviceMessageQueue.EntryBuilder setRequiresAck(boolean requiresAck)
requiresAck
- whether acknowledgement is required or notthis
builder.DeviceMessageQueue.EntryBuilder setDelivered(boolean delivered)
delivered
- whether delivered or notDeviceMessageQueue.EntryBuilder setAcknowledged(boolean acknowledged)
acknowledged
- whether acknowledged or notDeviceMessageQueue.Entry build()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"