@brief Creates a OHNativeWindow instance. A new OHNativeWindow instance is created each time this function is called.
@brief Creates a OHNativeWindowBuffer instance. A new OHNativeWindowBuffer instance is created each time this function is called.
@brief Decreases the reference count of a OHNativeWindow instance by 1, and when the reference count reaches 0, destroys the instance.
@brief Decreases the reference count of a OHNativeWindowBuffer instance by 1 and, when the reference count reaches 0, destroys the instance.
@brief Obtains the pointer to a BufferHandle of a OHNativeWindowBuffer instance.
@brief Obtains the magic ID of a native object.
@brief Adds the reference count of a native object.
@brief Decreases the reference count of a native object and, when the reference count reaches 0, destroys this object.
@brief Returns the OHNativeWindowBuffer to the buffer queue through a OHNativeWindow instance, without filling in any content. The OHNativeWindowBuffer can be used for another request.
@brief Flushes the OHNativeWindowBuffer filled with the content to the buffer queue through a OHNativeWindow instance for content consumption.
@brief Sets or obtains the attributes of a native window, including the width, height, and content format.
@brief Requests a OHNativeWindowBuffer through a OHNativeWindow instance for content production.
@brief Sets metaData of a native window.
@brief Sets metaDataSet of a native window.
@brief Sets scalingMode of a native window.
@brief Sets tunnel handle of a native window.