pub unsafe extern "C" fn OH_ImageReceiverOptions_SetCapacity(
options: *mut OH_ImageReceiverOptions,
capacity: i32,
) -> Image_ErrorCodeExpand description
@brief Sets the image cache capacity of an OH_ImageReceiverOptions object.
@param options Pointer to an OH_ImageReceiverOptions object.
@param capacity Capacity.
@return {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful.
{@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter.
@since 12