update multimedia/drm_framework/native_mediakeysystem.h.

Signed-off-by: 姜春丽 <jiangchunli1@huawei.com>
This commit is contained in:
姜春丽 2024-07-27 07:32:42 +00:00 committed by Gitee
parent b6c2163b5c
commit a7fa35716a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -96,7 +96,7 @@ Drm_ErrCode OH_MediaKeySystem_SetCallback(MediaKeySystem *mediaKeySystem, OH_Med
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - Probably caused by:
* 1.the description or the count is nullptr.
* 2. the size of the description array is smaller than the actual number obtained.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 12
* @version 1.0
*/
@ -141,7 +141,7 @@ bool OH_MediaKeySystem_IsSupported3(const char *name, const char *mimeType,
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - Probably caused by:
* 1. the name is nullptr or the length of name is zero.
* 2. the mediaKeySystem is nullptr.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
 *         {@link DRM_ERR_SERVICE_DIED} 24700507 - Service died.
 *         {@link DRM_ERR_MAX_SYSTEM_NUM_REACHED} 24700510 - The maximum number of media key systems is reached.
* @since 11
@ -169,7 +169,7 @@ Drm_ErrCode OH_MediaKeySystem_SetConfigurationString(MediaKeySystem *mediaKeySys
* @return {@link DRM_ERR_OK} 0 - Success.
*         {@link DRM_ERR_NO_MEMORY} 24700501 - Memory errors.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -184,7 +184,7 @@ Drm_ErrCode OH_MediaKeySystem_GetConfigurationString(MediaKeySystem *mediaKeySys
* @return {@link DRM_ERR_OK} 0 - Success.
*         {@link DRM_ERR_NO_MEMORY} 24700501 - Memory errors.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -199,7 +199,7 @@ Drm_ErrCode OH_MediaKeySystem_SetConfigurationByteArray(MediaKeySystem *mediaKey
* @return {@link DRM_ERR_OK} 0 - Success.
*         {@link DRM_ERR_NO_MEMORY} 24700501 - Memory errors.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -212,7 +212,7 @@ Drm_ErrCode OH_MediaKeySystem_GetConfigurationByteArray(MediaKeySystem *mediaKey
* @return {@link DRM_ERR_OK} 0 - Success.
*         {@link DRM_ERR_NO_MEMORY} 24700501 - Memory errors.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -223,7 +223,7 @@ Drm_ErrCode OH_MediaKeySystem_GetStatistics(MediaKeySystem *mediaKeySystem, DRM_
* @param contentProtectionLevel Content protection level.
* @return {@link DRM_ERR_OK} 0 - Success.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -251,7 +251,7 @@ Drm_ErrCode OH_MediaKeySystem_SetMediaKeySystemCallback(MediaKeySystem *mediaKey
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - Probably caused by:
* 1. The parameter passed in is a null pointer or invalid.
* 2. the level is beyond reasonable range.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
 *         {@link DRM_ERR_SERVICE_DIED} 24700507 - Service died.
 *         {@link DRM_ERR_MAX_SESSION_NUM_REACHED} 24700511 - The maximum number of media key sessions is reached.
* @since 11
@ -270,7 +270,7 @@ Drm_ErrCode OH_MediaKeySystem_CreateMediaKeySession(MediaKeySystem *mediaKeySyst
* @return {@link DRM_ERR_OK} 0 - Success.
*         {@link DRM_ERR_NO_MEMORY} 24700501 - Memory errors.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -284,7 +284,7 @@ Drm_ErrCode OH_MediaKeySystem_GenerateKeySystemRequest(MediaKeySystem *mediaKeyS
* @param responseLen The response len.
* @return {@link DRM_ERR_OK} 0 - Success.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -298,7 +298,7 @@ Drm_ErrCode OH_MediaKeySystem_ProcessKeySystemResponse(MediaKeySystem *mediaKeyS
* @return {@link DRM_ERR_OK} 0 - Success.
*         {@link DRM_ERR_NO_MEMORY} 24700501 - Memory errors.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -313,7 +313,7 @@ Drm_ErrCode OH_MediaKeySystem_GetOfflineMediaKeyIds(MediaKeySystem *mediaKeySyst
* @param status The media key status gotten.
* @return {@link DRM_ERR_OK} 0 - Success.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -327,7 +327,7 @@ Drm_ErrCode OH_MediaKeySystem_GetOfflineMediaKeyStatus(MediaKeySystem *mediaKeyS
* @param offlineMediaKeyIdLen Offline media key identifier len.
* @return {@link DRM_ERR_OK} 0 - Success.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -340,7 +340,7 @@ Drm_ErrCode OH_MediaKeySystem_ClearOfflineMediaKeys(MediaKeySystem *mediaKeySyst
* @param certStatus Status will be gotten.
* @return {@link DRM_ERR_OK} 0 - Success.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/
@ -352,7 +352,7 @@ Drm_ErrCode OH_MediaKeySystem_GetCertificateStatus(MediaKeySystem *mediaKeySyste
* @param mediaKeySystem Secifies which media key system instance will be destroyed.
* @return {@link DRM_ERR_OK} 0 - Success.
 *         {@link DRM_ERR_INVALID_VAL} 24700503 - The parameter passed in is a null pointer or invalid.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Unknown errors.
 *         {@link DRM_ERR_UNKNOWN} 24700506 - Internal error occurred, it is recommended to check the logs.
* @since 11
* @version 1.0
*/