pub unsafe extern "C" fn OH_VideoProcessingCallback_Create(
callback: *mut *mut VideoProcessing_Callback,
) -> VideoProcessing_ErrorCodeAvailable on crate features
api-12 and video-processing only.Expand description
Create a video processing callback object.
§Arguments
callback- Output parameter. The *callback points to a new callback object. The *callback should be null before creating the callback object.
§Returns
- [
VIDEO_PROCESSING_SUCCESS] if callback object is created successfully.
[VIDEO_PROCESSING_ERROR_INVALID_PARAMETER] if callback is null or *callback is not null.
[VIDEO_PROCESSING_ERROR_NO_MEMORY] if out of memory.
Available since API-level: 12