Class: ima

Constructor

ima

new ima()

Global functions that control the IMA SDK.

Classes

Methods

disableLogging

static

disableLogging()

Disables the SDK logging. Logging will be on by default.

getStreamManager

static

getStreamManager() returns object

Returns a stream manager if it available. If the stream manager is not yet availbe, Invalid is returned. If there was an error creating the stream manager, an error object is returned.

Returns

object The stream manager or error object.

initSdk

static

initSdk(settings)

Initializes the SDK.

Parameter

settings

object

Optional IMA settings object.

requestStream

static

requestStream(streamRequest) returns object

Starts an asynchronus stream request Control returns immediately to the player after calling this method.

Parameter

streamRequest

object

Returns

object an error or invalid if no error