OH_ArkUI_UIInputEvent_GetTargetDisplayId

Function OH_ArkUI_UIInputEvent_GetTargetDisplayId 

Source
pub unsafe extern "C" fn OH_ArkUI_UIInputEvent_GetTargetDisplayId(
    event: *const ArkUI_UIInputEvent,
) -> i32
Available on crate features api-12 and api-15 only.
Expand description

Obtains the ID of the screen where the UI input event occurs.

§Arguments

  • event - Pointer to an ArkUI_UIInputEvent object.

§Returns

  • Returns the screen ID; returns 0 if any parameter error occurs.

Available since API-level: 15