# OHOS::RootView::OnKeyActListener - [Overview](#section1624292213165633) - [Summary](#section1603119504165633) - [Public Member Functions](#pub-methods) ## **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

Function

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.