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
Nested ClassesModifier and TypeClassDescriptionstatic classContains the details of the push registration of a device. -
Field Summary
FieldsModifier 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.JsonObjectA JSON object of key-value pairs that contains metadata for the device.The platform associated with the device.TheDeviceDetails.Pushobject associated with the device. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DeviceDetailsfromJsonObject(com.google.gson.JsonObject o) com.google.gson.JsonObjectcom.google.gson.JsonObjecttoString()
-
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.Pushobject associated with the device. Describes the details of the push registration of the device. -
httpResponseHandler
-
httpBodyHandler
-
-
Constructor Details
-
DeviceDetails
public DeviceDetails()
-
-
Method Details