Skip to main content

OH_ImageReceiverNative_GetCapacity

Function OH_ImageReceiverNative_GetCapacity 

Source
pub unsafe extern "C" fn OH_ImageReceiverNative_GetCapacity(
    receiver: *mut OH_ImageReceiverNative,
    capacity: *mut i32,
) -> Image_ErrorCode
Expand description

@brief Obtains the capacity of an OH_ImageReceiverNative.

@param receiver Pointer to an OH_ImageReceiverNative 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. @see OH_ImageReceiverNative @since 12