com.ooyala.android.ClientId Class Reference

Static Public Member Functions

static String getId (Context context)
 Get a client ID. More...
 
static void setId (String clientId)
 Set the id that overrides the default value Ooyala WILL NOT persist this id so user needs to call this every time the app is launched. More...
 
static void resetId (Context context)
 Clear the id. More...
 

Member Function Documentation

static String com.ooyala.android.ClientId.getId ( Context  context)
static

Get a client ID.

Returns
the UUID that persists across launch
static void com.ooyala.android.ClientId.resetId ( Context  context)
static

Clear the id.

When getId is called, a new id will be generated

static void com.ooyala.android.ClientId.setId ( String  clientId)
static

Set the id that overrides the default value Ooyala WILL NOT persist this id so user needs to call this every time the app is launched.

Parameters
clientIdthe id string customer like to use