Skip to main content

OH_ImageReceiverNative_ReadNextImage

Function OH_ImageReceiverNative_ReadNextImage 

Source
pub unsafe extern "C" fn OH_ImageReceiverNative_ReadNextImage(
    receiver: *mut OH_ImageReceiverNative,
    image: *mut *mut OH_ImageNative,
) -> Image_ErrorCode
Expand description

@brief Obtains the next image through an OH_ImageReceiverNative object.

@param receiver Pointer to an OH_ImageReceiverNative object. @param image Double pointer to the image obtained, which is an OH_ImageNative object at the application layer. @return {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful.
{@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter.
{@link Image_ErrorCode} IMAGE_UNKNOWN_ERROR - inner unknown error.
{@link Image_ErrorCode} IMAGE_ALLOC_FAILED - if alloc failed. @see OH_ImageReceiverNative, OH_ImageNative @since 12