arkui_sys::native_animate

Function OH_ArkUI_CreateMovementTransitionEffect

Source
pub unsafe extern "C" fn OH_ArkUI_CreateMovementTransitionEffect(
    edge: ArkUI_TransitionEdge,
) -> *mut ArkUI_TransitionEffect
Available on crate feature api-12 only.
Expand description

Creates a movement object for component transition.

§Arguments

edge - Indicates the movement type.

§Returns

Returns the movement object created for component transition. Returns NULL if a parameter error occurs.

Available since API-level: 12