Skip to main content

OH_ImageReceiverOptions_Create

Function OH_ImageReceiverOptions_Create 

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

@brief Creates an OH_ImageReceiverOptions object at the application layer.

@param options Indicates the pointer to the OH_ImageReceiverOptions 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