Skip to main content

OH_ImageReceiverNative_GetReceivingSurfaceId

Function OH_ImageReceiverNative_GetReceivingSurfaceId 

Source
pub unsafe extern "C" fn OH_ImageReceiverNative_GetReceivingSurfaceId(
    receiver: *mut OH_ImageReceiverNative,
    surfaceId: *mut u64,
) -> Image_ErrorCode
Expand description

@brief Obtains the surface ID through an OH_ImageReceiverNative object.

@param receiver Pointer to an OH_ImageReceiverNative object. @param surfaceId Pointer to the surface ID obtained. @return {@link Image_ErrorCode} IMAGE_SUCCESS - if the operation is successful.
{@link Image_ErrorCode} IMAGE_BAD_PARAMETER - if bad parameter.
{@link Image_ErrorCode} IMAGE_UNKNOWN_ERROR - inner unknown error. @see OH_ImageReceiverNative @since 12