# OHOS::VirtualDeviceEvent ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Defines a virtual device event, which is used to receive a customized input event and call back the listening function registered. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Types
VirtualDeviceEvent (uint16_t type, uint16_t value) |
A constructor used to create a VirtualDeviceEvent instance. |
A destructor used to delete the VirtualDeviceEvent instance. |
|
GetType () const |
|
GetState () const |
|
Event () |
A default constructor used to create an Event instance. |
A constructor used to create an Event instance. |
|
~Event () |
A destructor used to delete the Event instance. |
GetCurrentPos () const |
const Point & |
GetTimeStamp () const |
|
SetTimeStamp (const TimeType &timeStamp) |
|
operator new (size_t size) |
|
operator delete (void *p) |