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 class  DeviceDetails.Push.State  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    ErrorInfo errorReason
    An ErrorInfo object describing the most recent error when the state is Failing or Failed.
    com.google.gson.JsonObject recipient
    A JSON object of key-value pairs that contains of the push transport and address.
    DeviceDetails.Push.State state
    The current state of the push registration.
  • Constructor Summary

    Constructors 
    Constructor Description
    Push()  
  • Method Summary

    Modifier and Type Method Description
    com.google.gson.JsonObject toJsonObject()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      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()