Класс: има

Конструктор

има

new ima()

Глобальные функции, управляющие IMA SDK.

Классы

Методы

отключить логирование

статический

disableLogging()

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

getStreamManager

статический

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.

Возвраты

object менеджер потока или объект ошибки.

initSdk

статический

initSdk(settings)

Инициализирует SDK.

Параметр

настройки

объект

Optional IMA settings object.

requestStream

статический

requestStream(streamRequest) возвращает объект

Starts an asynchronous stream request. Control returns immediately to the player after calling this method. If there is an existing stream manager, it will be destroyed. If there is a stream playing, it will be replaced by the new stream when the request completes.

Параметр

streamRequest

объект

Возвраты

object an error or invalid if no error