arkui_sys::native_animate

Function OH_ArkUI_AnimatorOption_GetExpectedFrameRateRange

Source
pub unsafe extern "C" fn OH_ArkUI_AnimatorOption_GetExpectedFrameRateRange(
    option: *mut ArkUI_AnimatorOption,
) -> *mut ArkUI_ExpectedFrameRateRange
Available on crate feature api-12 only.
Expand description

Obtains the expected frame rate range of an animation.

§Arguments

option - Indicates the animator parameters.

§Returns

Returns the pointer to the expected frame rate range object. Returns NULL if a parameter error occurs.

Available since API-level: 12