diff --git a/multimedia/camera_framework/camera.ndk.json b/multimedia/camera_framework/camera.ndk.json index cd755635d3232f7df5c49e9ce3245adcf4089080..b81d679160191bdc5dd6591b966969e0b41bbb2c 100644 --- a/multimedia/camera_framework/camera.ndk.json +++ b/multimedia/camera_framework/camera.ndk.json @@ -23,18 +23,6 @@ "first_introduced": "11", "name": "OH_CameraInput_Release" }, - { - "first_introduced": "21", - "name": "OH_CameraInput_IsPhysicalCameraOrientationVariable" - }, - { - "first_introduced": "21", - "name": "OH_CameraInput_GetPhysicalCameraOrientation" - }, - { - "first_introduced": "21", - "name": "OH_CameraInput_UsePhysicalCameraOrientation" - }, { "first_introduced": "11", "name": "OH_CameraManager_RegisterCallback" diff --git a/multimedia/camera_framework/camera_input.h b/multimedia/camera_framework/camera_input.h index 72a974c9a69da737a5992085e43e91839e5849a5..a91452d9d46cdef6d27a3e7e68095be23b48bb5e 100644 --- a/multimedia/camera_framework/camera_input.h +++ b/multimedia/camera_framework/camera_input.h @@ -171,41 +171,6 @@ Camera_ErrorCode OH_CameraInput_Close(Camera_Input* cameraInput); */ Camera_ErrorCode OH_CameraInput_Release(Camera_Input* cameraInput); -/** - * @brief Query whether physical camera orientation is variable under different fold status. - * - * @param {CameraInput} cameraInput the {@link Camera_Input} instance. - * @param {bool} isVariable the result of whether physical camera orientation is variable. - * @return {@link #CAMERA_OK} if the method call succeeds. - * {@link #CAMERA_INVALID_ARGUMENT} if parameter missing or parameter type incorrect. - * @since 21 - */ -Camera_ErrorCode OH_CameraInput_IsPhysicalCameraOrientationVariable(Camera_Input* cameraInput, bool* isVariable); - -/** - * @brief Get physical camera orientation under current fold status. - * - * @param cameraInput the {@link Camera_Input} instance. - * @param orientation the physical camera orientation of current fold status. - * @return {@link #CAMERA_OK} if the method call succeeds. - * {@link #CAMERA_INVALID_ARGUMENT} if parameter missing or parameter type incorrect. - * @since 21 - */ -Camera_ErrorCode OH_CameraInput_GetPhysicalCameraOrientation(Camera_Input* cameraInput, uint32_t* orientation); - -/** - * @brief Choose whether to use the physical camera orientation. - * - * @param cameraInput the {@link Camera_Input} instance. - * @param isUsed the flag of whether to use physical camera orientation. - * @return {@link #CAMERA_OK} if the method call succeeds. - * {@link #CAMERA_INVALID_ARGUMENT} if parameter missing or parameter type incorrect. - * {@link #CAMERA_OPERATION_NOT_ALLOWED} if operation not allowed. - * {@link #CAMERA_SERVICE_FATAL_ERROR} if camera service fatal error. - * @since 21 - */ -Camera_ErrorCode OH_CameraInput_UsePhysicalCameraOrientation(Camera_Input* cameraInput, bool isUsed); - #ifdef __cplusplus } #endif