com.backendless.rt.RTClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backendless Show documentation
Show all versions of backendless Show documentation
Android SDK used by developers to provide Backendless API in apps.
package com.backendless.rt;
import com.backendless.async.callback.Fault;
import com.backendless.async.callback.Result;
public interface RTClient
{
void subscribe( RTSubscription subscription );
void unsubscribe( String subscriptionId );
void userLoggedIn( String userToken );
void userLoggedOut();
void invoke( RTMethodRequest methodRequest );
void setConnectEventListener( Result callback );
void setReconnectAttemptEventListener( Result callback );
void setConnectErrorEventListener( Fault fault );
void setDisconnectEventListener( Result callback );
boolean isConnected();
void connect();
void disconnect();
boolean isAvailable();
}