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 receiver ID through an {@link OH_ImageReceiverNative} object.

@param receiver Indicates the pointer to an {@link OH_ImageReceiverNative} object. @param surfaceId Indicates the pointer to the surfaceID 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. returns {@link Image_ErrorCode} IMAGE_UNKNOWN_ERROR - inner unknown error. @see OH_ImageReceiverNative @since 12