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 Obtains the image cache capacity of an OH_ImageReceiverOptions object.

@param options Pointer to an OH_ImageReceiverOptions object. @param capacity Pointer to the capacity obtained. @return {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful.
{@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter. @since 12