错误信息
MediaLibrary inner fail.
错误描述
媒体库内部错误。
可能原因
创建构造函数引用失败(Failed to create reference)。
实例创建失败(Failed to create instance)。
无法获取undefined值(Failed to get undefined value)。
回调信息获取失败(Failed to get callback info)。
无法将原生对象绑定到JS对象(Failed to bind native object to JavaScript object)。
原生对象解包失败(Failed to unwrap native object)。
布尔值创建失败(Failed to create Boolean value)。
int32值获取失败(Failed to get int32 value)。
返回数据初始化失败(Failed to initialize data field)。
返回错误信息初始化失败(Failed to initialize error field)。
获取参数类型失败(Failed to get argument type)。
参数类型校验失败(Failed to check argument type)。
创建PhotoAlbumNapi失败(Failed to create PhotoAlbumNapi)。
JS对象添加属性失败(Failed to add property)。
无法获取提取选项(Failed to get fetch option)。
无效的相册列(Invalid fetch columns)。
数组类型校验失败(Failed to check array type)。
获取数组长度失败(Failed to get array length)。
获取数组元素失败(Failed to get array element)。
处理步骤
清理后台或重启设备。
错误信息
Invalid parameter.
错误描述
参数异常。
可能原因
必选参数范围不满足要求。
传入的记录已存在。
传入的记录数量超过最大数量。
处理步骤
检查参数赋值或者参数长度。
错误信息
Invalid input parameter.
错误描述
参数异常。
可能原因
参数不在PhotoKeys枚举范围之内。
处理步骤
检查传入参数是否在PhotoKeys枚举范围之内。
错误信息
Invalid call context. Possible causes: 1. The API is called outside the photo browsing scenario. 2. The API is called when isMovingPhotoBadgeShown is already set to true.
错误描述
非法场景调用错误。
可能原因
在非全图浏览场景下调用该接口。
在已经配置BaseSelectOptions.isMovingPhotoBadgeShown为true的情况下调用该接口。
处理步骤
检查接口setMovingPhotoState的使用场景。