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; //from w ww.j a v a 2 s .c o m import io.relayr.model.TransmitterDevice; import rx.Observable; public interface SocketClient { /** * Subscribes an app to a device channel. Enables the app to receive data from the device. * @param device The device object to be subscribed to. */ public Observable<Object> subscribe(TransmitterDevice device); /** * Unsubscribes an app from a device channel, stopping and cleaning up the connection. * @param sensorId the Id of {@link io.relayr.model.TransmitterDevice} */ public void unSubscribe(final String sensorId); }