Back to project page android-sdk.
The source code is released under:
MIT License
If you think the Android project android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.relayr.api; /* w w w . j a v a 2 s . c om*/ import io.relayr.model.WebSocketConfig; import retrofit.http.DELETE; import retrofit.http.POST; import retrofit.http.Path; import rx.Observable; public interface SubscriptionApi { @POST("/apps/{appId}/devices/{deviceId}") Observable<WebSocketConfig> subscribe(@Path("appId") String appId, @Path("deviceId") String deviceId); @DELETE("/apps/{appId}/devices/{deviceId}") Observable<Void> unSubscribe(@Path("appId") String appId, @Path("deviceId") String deviceId); }