public class DeviceDetails
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceDetails.Push
Contains the details of the push registration of a device.
|
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
clientId
The client ID the device is connected to Ably with.
|
java.lang.String |
formFactor
The device form factor associated with the device.
|
static HttpCore.BodyHandler<DeviceDetails> |
httpBodyHandler |
static HttpCore.ResponseHandler<DeviceDetails> |
httpResponseHandler |
java.lang.String |
id
A unique ID generated by the device.
|
com.google.gson.JsonObject |
metadata
A JSON object of key-value pairs that contains metadata for the device.
|
java.lang.String |
platform
The platform associated with the device.
|
DeviceDetails.Push |
push
The
DeviceDetails.Push object associated with the device. |
| Constructor and Description |
|---|
DeviceDetails() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static DeviceDetails |
fromJsonObject(com.google.gson.JsonObject o) |
com.google.gson.JsonObject |
pushRecipientJsonObject() |
com.google.gson.JsonObject |
toJsonObject() |
java.lang.String |
toString() |
public java.lang.String id
public java.lang.String platform
public java.lang.String formFactor
public java.lang.String clientId
public com.google.gson.JsonObject metadata
public DeviceDetails.Push push
DeviceDetails.Push object associated with the device.
Describes the details of the push registration of the device.public static HttpCore.ResponseHandler<DeviceDetails> httpResponseHandler
public static HttpCore.BodyHandler<DeviceDetails> httpBodyHandler
public com.google.gson.JsonObject toJsonObject()
public com.google.gson.JsonObject pushRecipientJsonObject()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static DeviceDetails fromJsonObject(com.google.gson.JsonObject o)