Skip to main content

OH_ImageReceiverNative_Create

Function OH_ImageReceiverNative_Create 

Source
pub unsafe extern "C" fn OH_ImageReceiverNative_Create(
    options: *mut OH_ImageReceiverOptions,
    receiver: *mut *mut OH_ImageReceiverNative,
) -> Image_ErrorCode
Expand description

@brief Creates an OH_ImageReceiverNative object at the application layer.

@param options Pointer to an OH_ImageReceiverOptions object. @param receiver Double pointer to the OH_ImageReceiverNative object obtained. @return {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful.
{@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter.
{@link Image_ErrorCode} IMAGE_ALLOC_FAILED - if alloc failed. @since 12