pub unsafe extern "C" fn OH_ArkUI_FocusActivate(
uiContext: ArkUI_ContextHandle,
isActive: bool,
isAutoInactive: bool,
)Available on crate feature
api-15 only.Expand description
Set the focus active state in current window, the focus node would show its focus box.
§Arguments
-
uiContext- Indicates the pointer to a UI instance. -
isActive- Set the state to be active or inactive. -
isAutoInactive- When touch event or mouse-pressed event triggerd, “true” indicates to set state to inactive, “false” indicates to maintain the state until relative API is called.
Available since API-level: 15