Interface PresenceService


  • public interface PresenceService
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      retrofit2.Call<Envelope<com.google.gson.JsonElement>> heartbeat​(java.lang.String subKey, java.lang.String channel, java.util.Map<java.lang.String,​java.lang.String> options)  
      retrofit2.Call<Envelope> leave​(java.lang.String subKey, java.lang.String channel, java.util.Map<java.lang.String,​java.lang.String> options)  
    • Method Detail

      • leave

        @GET("v2/presence/sub-key/{subKey}/channel/{channel}/leave")
        retrofit2.Call<Envelope> leave​(@Path("subKey")
                                       java.lang.String subKey,
                                       @Path("channel")
                                       java.lang.String channel,
                                       @QueryMap
                                       java.util.Map<java.lang.String,​java.lang.String> options)
      • heartbeat

        @GET("v2/presence/sub-key/{subKey}/channel/{channel}/heartbeat")
        retrofit2.Call<Envelope<com.google.gson.JsonElement>> heartbeat​(@Path("subKey")
                                                                        java.lang.String subKey,
                                                                        @Path("channel")
                                                                        java.lang.String channel,
                                                                        @QueryMap(encoded=true)
                                                                        java.util.Map<java.lang.String,​java.lang.String> options)