Package io.ably.lib.rest
Class DeviceDetails
java.lang.Object
io.ably.lib.rest.DeviceDetails
Contains the properties of a device registered for push notifications.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Contains the details of the push registration of a device. -
Field Summary
Modifier and TypeFieldDescriptionThe client ID the device is connected to Ably with.The device form factor associated with the device.static HttpCore.BodyHandler<DeviceDetails>
A unique ID generated by the device.com.google.gson.JsonObject
A JSON object of key-value pairs that contains metadata for the device.The platform associated with the device.TheDeviceDetails.Push
object associated with the device. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static DeviceDetails
fromJsonObject
(com.google.gson.JsonObject o) com.google.gson.JsonObject
com.google.gson.JsonObject
toString()
-
Field Details
-
id
A unique ID generated by the device. -
platform
The platform associated with the device. Describes the platform the device uses, such as android or java. -
formFactor
The device form factor associated with the device. Describes the type of the device, such as phone or tablet. -
clientId
The client ID the device is connected to Ably with. -
metadata
public com.google.gson.JsonObject metadataA JSON object of key-value pairs that contains metadata for the device. -
push
TheDeviceDetails.Push
object associated with the device. Describes the details of the push registration of the device. -
httpResponseHandler
-
httpBodyHandler
-
-
Constructor Details
-
DeviceDetails
public DeviceDetails()
-
-
Method Details