Class PresenceMessage.ActionSerializer

java.lang.Object
io.ably.lib.types.PresenceMessage.ActionSerializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<PresenceMessage.Action>
Enclosing class:
PresenceMessage

public static class PresenceMessage.ActionSerializer
extends java.lang.Object
implements com.google.gson.JsonDeserializer<PresenceMessage.Action>
  • Constructor Summary

    Constructors 
    Constructor Description
    ActionSerializer()  
  • Method Summary

    Modifier and Type Method Description
    PresenceMessage.Action deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type t, com.google.gson.JsonDeserializationContext ctx)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • deserialize

      public PresenceMessage.Action deserialize​(com.google.gson.JsonElement json, java.lang.reflect.Type t, com.google.gson.JsonDeserializationContext ctx) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<PresenceMessage.Action>
      Throws:
      com.google.gson.JsonParseException