# OHOS::RootView::OnKeyActListener ## **Overview** **Related Modules:** [Graphic](Graphic.md) **Description:** Represents the listener for monitoring physical key events. **Since:** 1.0 **Version:** 1.0 ## **Summary** ## Public Member Functions

Public Member Function Name

Description

OnKeyAct (UIView &view, const KeyEvent &event)=0

virtual bool 

Responds to a physical key event.

operator new (size_t size)

void * 

Overrides the new function.

operator delete (void *p)

void 

Overrides the delete function.