| Motorola Mobility Confidential Restricted. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ToiDlnaRendererManager Interface Reference Description
Inheritance diagram for ToiDlnaRendererManager:
Member Typedef Documentation
Type for a renderer session ID.
Type for holding a sequence of renderer session ID's.
State identifier used to identify the renderer session's state.
Status identifiers for a DMR session. Member Function Documentation
Retreives all the session id's in REQUEST or ACTIVE states
Retreives all the information associated with the current media being rendered for the session id provided.
When an application is done using the Renderer Manager it should gracefully release it by calling this function.
Notifies the DMR of an update to the session. This typically will occur when 1, we just received a request, so we will activate a session (if successful) or notify a failure to renderer (if unsuccessful); 2, if the rendering resouce becomes unavailable during rendering; or 3, for any other error while rendering. This may cause a change in State, from REQUEST to ACTIVE (on successful REQUEST), from REQUEST to CLOSED (on unsuccessful REQUEST), or from ACTIVE to CLOSED (on error or resource unavailability).
Member Data Documentation
This is an Event identifier for ToiDlnaRendererRendererSessionChangedEvent. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.ON_RENDERER_SESSION_CHANGED. ToiDlnaRendererManager::RENDERER_FAILURE notifies the DMR the request to render failed, or the currently rendering media must close, because of an external failure. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.RENDERER_FAILURE. ToiDlnaRendererManager::RENDERER_SUCCESS notifies the DMR the request to render was successful. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.RENDERER_SUCCESS. ToiDlnaRendererManager::RENDERER_UNAVAILABLE notifies the DMR the request to render failed, or the currently rendering media must close, because the renderer is unavailable. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.RENDERER_UNAVAILABLE. In ToiDlnaRendererManager::STATE_SESSION_ACTIVE the DMR is actively rendering the requested session. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.STATE_SESSION_ACTIVE. In ToiDlnaRendererManager::STATE_SESSION_CLOSED the DMR has closed the given session. This can occur at the end of media, an error in rendering, or from an update from the application. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.STATE_SESSION_CLOSED. In ToiDlnaRendererManager::STATE_SESSION_REQUEST the DMR has issued a request to begin rendering and is waiting for an update to begin or close the rendering session. This constant can also be accessed from toi.consts.ToiDlnaRendererManager.STATE_SESSION_REQUEST. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||