Skip to main content

OH_ArkUI_NodeEvent_GetTouchTestInfo

Function OH_ArkUI_NodeEvent_GetTouchTestInfo 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeEvent_GetTouchTestInfo(
    nodeEvent: *mut ArkUI_NodeEvent,
) -> *mut ArkUI_TouchTestInfo
Available on crate features api-12 and api-22 only.
Expand description

Obtains a ArkUI_TouchTestInfo object from the specified ArkUI_NodeEvent object.

§Arguments

{pointer} nodeEvent Indicates the pointer to an ArkUI_NodeEvent object.

§Returns

  • Returns the pointer to an ArkUI_TouchTestInfo object. Returns null if the parameter passed in is invalid or is not a touch test info.

Available since API-level: 22