com.ooyala.android.discovery.DiscoveryManager Class Reference

Created by zchen on 12/9/15. More...

Classes

interface  Callback
 

Static Public Member Functions

static void getResults (DiscoveryOptions options, String embedCode, String pcode, String deviceId, Map< String, String > parameters, final Callback callback)
 get the discovery results More...
 
static void sendImpression (DiscoveryOptions options, String bucketInfo, String pcode, String deviceId, Map< String, String > parameters, Callback callback)
 send discovery feedback impression when discovery is shown to user More...
 
static void sendClick (DiscoveryOptions options, String bucketInfo, String pcode, String deviceId, Map< String, String > parameters, Callback callback)
 send discovery feedback click when user clicks to play an item More...
 

Detailed Description

Created by zchen on 12/9/15.

Member Function Documentation

static void com.ooyala.android.discovery.DiscoveryManager.getResults ( DiscoveryOptions  options,
String  embedCode,
String  pcode,
String  deviceId,
Map< String, String >  parameters,
final Callback  callback 
)
static

get the discovery results

Parameters
[in]optionsthe discovery option;
[in]embedCodethe embed code for discovery type similar assets, ignored for other discovery types
[in]pcodethe pcode
[in]deviceIdthe device id
[in]parametersthe parameters as key value pair for a detailed list and examples of valid parameters, please refer to http://help-ooyala.brightcove.com/video-platform/concepts/content_discovery_summary_of_routes.html
[in]callbackthe callback function that handles discovery results.the callback might not be called on the main thread.
static void com.ooyala.android.discovery.DiscoveryManager.sendClick ( DiscoveryOptions  options,
String  bucketInfo,
String  pcode,
String  deviceId,
Map< String, String >  parameters,
Callback  callback 
)
static

send discovery feedback click when user clicks to play an item

Parameters
[in]optionsthe discovery options
[in]bucketInfothe bucket info id
[in]pcodethe pcode
[in]deviceIdthe device id
[in]parametersthe parameters as key value pair
static void com.ooyala.android.discovery.DiscoveryManager.sendImpression ( DiscoveryOptions  options,
String  bucketInfo,
String  pcode,
String  deviceId,
Map< String, String >  parameters,
Callback  callback 
)
static

send discovery feedback impression when discovery is shown to user

Parameters
[in]optionsthe discovery options
[in]bucketInfothe bucket info id
[in]pcodethe pcode
[in]deviceIdthe device id
[in]parametersthe parameters as key value pair for a detailed list and examples of valid parameters, please refer to http://help-ooyala.brightcove.com/video-platform/concepts/content_discovery_summary_of_routes.html