public class VideoSyncClient
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
VideoSyncClient.VideoPostCallback |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_TYPE_GET_VIDEOS |
static int |
REQUEST_TYPE_POST_VIDEOS |
protected static java.lang.String |
TAG |
Constructor and Description |
---|
VideoSyncClient(android.content.Context context)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
onRequestConnectionError(Request request,
RequestManager.ConnectionError ce) |
void |
onRequestCustomError(Request request,
android.os.Bundle resultData) |
void |
onRequestDataError(Request request) |
void |
onRequestFinished(Request request,
android.os.Bundle resultData) |
void |
post(ConnectionEntry ce,
java.lang.String serverUrl) |
void |
post(ConnectionEntry ce,
java.lang.String serverUrl,
VideoSyncClient.VideoPostCallback callback) |
void |
query(java.lang.String serverUrl)
Query the server for video aliases and pass it the given callback for
when aliases are selected.
|
protected static final java.lang.String TAG
public static final int REQUEST_TYPE_GET_VIDEOS
public static final int REQUEST_TYPE_POST_VIDEOS
public void query(java.lang.String serverUrl)
serverUrl
- - the URL of the serverpublic void post(ConnectionEntry ce, java.lang.String serverUrl, VideoSyncClient.VideoPostCallback callback)
public void post(ConnectionEntry ce, java.lang.String serverUrl)
public void onRequestFinished(Request request, android.os.Bundle resultData)
public void onRequestConnectionError(Request request, RequestManager.ConnectionError ce)
public void onRequestDataError(Request request)
public void onRequestCustomError(Request request, android.os.Bundle resultData)