Lines Matching refs:session

184  * Open a session for a special DRM object, it will parse the input DRM data, and then user
190 * -A handle for this opened DRM object session.
199 * \param session The handle for this DRM object session.
205 int32_t SVC_drm_getDeliveryMethod(int32_t session);
210 * \param session The handle for this DRM object session.
215 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
218 int32_t SVC_drm_getContentType(int32_t session, uint8_t* mediaType);
223 * \param session The handle for this DRM object session.
228 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
234 int32_t SVC_drm_checkRights(int32_t session, int32_t permission);
239 * \param session The handle for this DRM object session.
244 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
250 int32_t SVC_drm_consumeRights(int32_t session, int32_t permission);
255 * \param session The handle for this DRM object session.
259 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
264 int32_t SVC_drm_getContentLength(int32_t session);
269 * \param session The handle for this DRM object session.
276 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
281 int32_t SVC_drm_getContent(int32_t session, int32_t offset, uint8_t* mediaBuf, int32_t mediaBufLen);
286 * \param session The handle for this DRM object session.
291 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
295 int32_t SVC_drm_getRightsIssuer(int32_t session, uint8_t* rightsIssuer);
300 * \param session The handle for this DRM object session.
305 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
309 int32_t SVC_drm_getRightsInfo(int32_t session, T_DRM_Rights_Info* rights);
312 * Close the opened session, after closed, the handle become invalid.
314 * \param session The handle for this DRM object session.
318 * -DRM_SESSION_NOT_OPENED, when the session is not opened or has been closed.
321 int32_t SVC_drm_closeSession(int32_t session);