public class BoxCastClient
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
getArchivedBroadcasts(java.lang.String channelId,
BoxCastCallback<BroadcastList> callback)
Gets the archived broadcasts for a channel.
|
void |
getBroadcast(java.lang.String broadcastId,
BoxCastCallback<Broadcast> callback)
Gets a detailed broadcast.
|
void |
getBroadcastView(java.lang.String broadcastId,
BoxCastCallback<BroadcastView> callback)
Gets a view into a broadcast.
|
static BoxCastClient |
getInstance()
Use this method to get the singleton instance for making API calls.
|
void |
getLiveBroadcasts(java.lang.String channelId,
BoxCastCallback<BroadcastList> callback)
Gets the live broadcasts for a channel.
|
public static BoxCastClient getInstance()
public void getLiveBroadcasts(java.lang.String channelId, BoxCastCallback<BroadcastList> callback)
channelId
- The channel id to list broadcasts from.callback
- The callback to be called when finished loading the broadcasts.public void getArchivedBroadcasts(java.lang.String channelId, BoxCastCallback<BroadcastList> callback)
channelId
- The channel id to list broadcasts from.callback
- The callback to be called when finished loading the broadcasts.public void getBroadcast(java.lang.String broadcastId, BoxCastCallback<Broadcast> callback)
broadcastId
- The broadcast id.callback
- The callback to be called when finished loading the broadcast.public void getBroadcastView(java.lang.String broadcastId, BoxCastCallback<BroadcastView> callback)
broadcastId
- The broadcast id.callback
- The callback to be called when finished loading the broadcast view.