pub unsafe extern "C" fn OH_NativeImage_IsReleased(
image: *mut OH_NativeImage,
isReleased: *mut bool,
) -> i32Available on crate features
native_image and api-23 only.Expand description
Check whether the texture releated to the OH_NativeImage has been released.
This interface is a non-thread-safe type interface.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeImage
§Arguments
-
image- Indicates the pointer to a OH_NativeImage instance. -
isReleased- Indicates whether the texture releated to the OH_NativeImage has been released.
§Returns
- [
NATIVE_ERROR_OK] 0 - Success. [NATIVE_ERROR_INVALID_ARGUMENTS] 40001000 - image or isReleased is NULL.
Available since API-level: 23
Version: 1.0