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 Object
Contains the details of the push registration of a device.
  • Field Details

    • recipient

      public com.google.gson.JsonObject recipient
      A JSON object of key-value pairs that contains of the push transport and address.
    • state

      public DeviceDetails.Push.State state
      The current state of the push registration.
    • errorReason

      public ErrorInfo errorReason
      An ErrorInfo object 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()