pub unsafe extern "C" fn OH_NativeWindow_NativeWindowSetMetaData(
window: *mut NativeWindow,
sequence: u32,
size: i32,
metaData: *const OHHDRMetaData,
) -> i32Available on crate feature
native_window only.Expand description
Sets metaData of a native window.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeWindow
§Arguments
-
window- Indicates the pointer to a OHNativeWindow instance. -
sequence- Indicates the sequence to a produce buffer. -
size- Indicates the size of a OHHDRMetaData vector. -
metaDate- Indicates the pointer to a OHHDRMetaData vector.
§Returns
- Returns an error code, 0 is success, otherwise, failed.
Available since API-level: 9
Version: 1.0 = “10”)