OH_Input_CreateDeviceInfo

Function OH_Input_CreateDeviceInfo 

Source
pub unsafe extern "C" fn OH_Input_CreateDeviceInfo() -> *mut Input_DeviceInfo
Available on crate feature api-13 only.
Expand description

Creates a deviceInfo object.

ยงReturns

  • Pointer to an Input_DeviceInfo object if the operation is successful; a null pointer otherwise (possibly because of a memory allocation failure).

Required System Capabilities: SystemCapability.MultimodalInput.Input.Core

Available since API-level: 13