API reference

HzVirtualCameraStatus Enum

Status codes returned by the virtual camera ndk.

Enumeration Constants

MemberValueDescription
HZ_VIRTUAL_CAMERA_STATUS_OK
0
Indicates no error.
HZ_VIRTUAL_CAMERA_STATUS_INVALID_ARGUMENT
-1
Invalid arguments were provided.
HZ_VIRTUAL_CAMERA_STATUS_SERVICE_NOT_FOUND
-2
Operation couldn't be completed because virtual_camera service is not available.
HZ_VIRTUAL_CAMERA_STATUS_PERMISSION_DENIED
-3
Caller doesn't have sufficient permissions for the operation.
HZ_VIRTUAL_CAMERA_STATUS_INTERNAL_ERROR
-4
Operation couldn't be finished because of internal error.