arkui_sys::native_animate

Function OH_ArkUI_KeyframeAnimateOption_Create

Source
pub unsafe extern "C" fn OH_ArkUI_KeyframeAnimateOption_Create(
    size: i32,
) -> *mut ArkUI_KeyframeAnimateOption
Available on crate feature api-12 only.
Expand description

Obtains the keyframe animation parameters.

§Arguments

size - Indicates the number of keyframe animation states.

§Returns

Returns the keyframe animation parameter object; returns NULL if the value of size is less than 0.

Available since API-level: 12