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 Indicates the options for setting the OH_ImageReceiverNative object. @param receiver Indicates the pointer to the OH_ImageReceiverNative object obtained. @return Returns {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful. returns {@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter. returns {@link Image_ErrorCode} IMAGE_ALLOC_FAILED - if alloc failed. @since 12