Skip to main content

OH_ImageReceiverOptions_GetCapacity

Function OH_ImageReceiverOptions_GetCapacity 

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

@brief Get capacity from an {@link OH_ImageReceiverOptions} object.

@param options Indicates the pointer to an {@link OH_ImageReceiverOptions} object. @param capacity Indicates the pointer to capacity will be obtained. @return Returns {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful. returns {@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter. @since 12