Package io.ably.lib.rest
Class DeviceDetails.Push
java.lang.Object
io.ably.lib.rest.DeviceDetails.Push
- Enclosing class:
- DeviceDetails
public static class DeviceDetails.Push
extends java.lang.Object
Contains the details of the push registration of a device.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceDetails.Push.State -
Field Summary
Fields Modifier and Type Field Description ErrorInfoerrorReasonAnErrorInfoobject describing the most recent error when the state is Failing or Failed.com.google.gson.JsonObjectrecipientA JSON object of key-value pairs that contains of the push transport and address.DeviceDetails.Push.StatestateThe current state of the push registration. -
Constructor Summary
Constructors Constructor Description Push() -
Method Summary
Modifier and Type Method Description com.google.gson.JsonObjecttoJsonObject()
-
Field Details
-
recipient
public com.google.gson.JsonObject recipientA JSON object of key-value pairs that contains of the push transport and address. -
state
The current state of the push registration. -
errorReason
AnErrorInfoobject describing the most recent error when the state is Failing or Failed.
-
-
Constructor Details
-
Push
public Push()
-
-
Method Details
-
toJsonObject
public com.google.gson.JsonObject toJsonObject()
-