# native_xcomponent_key_event.h ## Overview Declares the enums used for accessing native XComponent key events. **Library**: libace_ndk.z.so **File to include**: **Since**: 10 **Related module**: [Native XComponent](_o_h___native_x_component.md) ## Summary ### Enums | Name| Description| | -------- | -------- | | [OH_NativeXComponent_KeyCode](_o_h___native_x_component.md#oh_nativexcomponent_keycode) {
[KEY_UNKNOWN](_o_h___native_x_component.md) = -1, [KEY_FN](_o_h___native_x_component.md) = 0, [KEY_HOME](_o_h___native_x_component.md) = 1, [KEY_BACK](_o_h___native_x_component.md) = 2,
[KEY_MEDIA_PLAY_PAUSE](_o_h___native_x_component.md) = 10, [KEY_MEDIA_STOP](_o_h___native_x_component.md) = 11, [KEY_MEDIA_NEXT](_o_h___native_x_component.md) = 12, [KEY_MEDIA_PREVIOUS](_o_h___native_x_component.md) = 13,
[KEY_MEDIA_REWIND](_o_h___native_x_component.md) = 14, [KEY_MEDIA_FAST_FORWARD](_o_h___native_x_component.md) = 15, [KEY_VOLUME_UP](_o_h___native_x_component.md) = 16, [KEY_VOLUME_DOWN](_o_h___native_x_component.md) = 17,
[KEY_POWER](_o_h___native_x_component.md) = 18, [KEY_CAMERA](_o_h___native_x_component.md) = 19, [KEY_VOLUME_MUTE](_o_h___native_x_component.md) = 22, [KEY_MUTE](_o_h___native_x_component.md) = 23,
[KEY_BRIGHTNESS_UP](_o_h___native_x_component.md) = 40, [KEY_BRIGHTNESS_DOWN](_o_h___native_x_component.md) = 41, [KEY_0](_o_h___native_x_component.md) = 2000, [KEY_1](_o_h___native_x_component.md) = 2001,
[KEY_2](_o_h___native_x_component.md) = 2002, [KEY_3](_o_h___native_x_component.md) = 2003, [KEY_4](_o_h___native_x_component.md) = 2004, [KEY_5](_o_h___native_x_component.md) = 2005,
[KEY_6](_o_h___native_x_component.md) = 2006, [KEY_7](_o_h___native_x_component.md) = 2007, [KEY_8](_o_h___native_x_component.md) = 2008, [KEY_9](_o_h___native_x_component.md) = 2009,
[KEY_STAR](_o_h___native_x_component.md) = 2010, [KEY_POUND](_o_h___native_x_component.md) = 2011, [KEY_DPAD_UP](_o_h___native_x_component.md) = 2012, [KEY_DPAD_DOWN](_o_h___native_x_component.md) = 2013,
[KEY_DPAD_LEFT](_o_h___native_x_component.md) = 2014, [KEY_DPAD_RIGHT](_o_h___native_x_component.md) = 2015, [KEY_DPAD_CENTER](_o_h___native_x_component.md) = 2016, [KEY_A](_o_h___native_x_component.md) = 2017,
[KEY_B](_o_h___native_x_component.md) = 2018, [KEY_C](_o_h___native_x_component.md) = 2019, [KEY_D](_o_h___native_x_component.md) = 2020, [KEY_E](_o_h___native_x_component.md) = 2021,
[KEY_F](_o_h___native_x_component.md) = 2022, [KEY_G](_o_h___native_x_component.md) = 2023, [KEY_H](_o_h___native_x_component.md) = 2024, [KEY_I](_o_h___native_x_component.md) = 2025,
[KEY_J](_o_h___native_x_component.md) = 2026, [KEY_K](_o_h___native_x_component.md) = 2027, [KEY_L](_o_h___native_x_component.md) = 2028, [KEY_M](_o_h___native_x_component.md) = 2029,
[KEY_N](_o_h___native_x_component.md) = 2030, [KEY_O](_o_h___native_x_component.md) = 2031, [KEY_P](_o_h___native_x_component.md) = 2032, [KEY_Q](_o_h___native_x_component.md) = 2033,
[KEY_R](_o_h___native_x_component.md) = 2034, [KEY_S](_o_h___native_x_component.md) = 2035, [KEY_T](_o_h___native_x_component.md) = 2036, [KEY_U](_o_h___native_x_component.md) = 2037,
[KEY_V](_o_h___native_x_component.md) = 2038, [KEY_W](_o_h___native_x_component.md) = 2039, [KEY_X](_o_h___native_x_component.md) = 2040, [KEY_Y](_o_h___native_x_component.md) = 2041,
[KEY_Z](_o_h___native_x_component.md) = 2042, [KEY_COMMA](_o_h___native_x_component.md) = 2043, [KEY_PERIOD](_o_h___native_x_component.md) = 2044, [KEY_ALT_LEFT](_o_h___native_x_component.md) = 2045,
[KEY_ALT_RIGHT](_o_h___native_x_component.md) = 2046, [KEY_SHIFT_LEFT](_o_h___native_x_component.md) = 2047, [KEY_SHIFT_RIGHT](_o_h___native_x_component.md) = 2048, [KEY_TAB](_o_h___native_x_component.md) = 2049,
[KEY_SPACE](_o_h___native_x_component.md) = 2050, [KEY_SYM](_o_h___native_x_component.md) = 2051, [KEY_EXPLORER](_o_h___native_x_component.md) = 2052, [KEY_ENVELOPE](_o_h___native_x_component.md) = 2053,
[KEY_ENTER](_o_h___native_x_component.md) = 2054, [KEY_DEL](_o_h___native_x_component.md) = 2055, [KEY_GRAVE](_o_h___native_x_component.md) = 2056, [KEY_MINUS](_o_h___native_x_component.md) = 2057,
[KEY_EQUALS](_o_h___native_x_component.md) = 2058, [KEY_LEFT_BRACKET](_o_h___native_x_component.md) = 2059, [KEY_RIGHT_BRACKET](_o_h___native_x_component.md) = 2060, [KEY_BACKSLASH](_o_h___native_x_component.md) = 2061,
[KEY_SEMICOLON](_o_h___native_x_component.md) = 2062, [KEY_APOSTROPHE](_o_h___native_x_component.md) = 2063, [KEY_SLASH](_o_h___native_x_component.md) = 2064, [KEY_AT](_o_h___native_x_component.md) = 2065,
[KEY_PLUS](_o_h___native_x_component.md) = 2066, [KEY_MENU](_o_h___native_x_component.md) = 2067, [KEY_PAGE_UP](_o_h___native_x_component.md) = 2068, [KEY_PAGE_DOWN](_o_h___native_x_component.md) = 2069,
[KEY_ESCAPE](_o_h___native_x_component.md) = 2070, [KEY_FORWARD_DEL](_o_h___native_x_component.md) = 2071, [KEY_CTRL_LEFT](_o_h___native_x_component.md) = 2072, [KEY_CTRL_RIGHT](_o_h___native_x_component.md) = 2073,
[KEY_CAPS_LOCK](_o_h___native_x_component.md) = 2074, [KEY_SCROLL_LOCK](_o_h___native_x_component.md) = 2075, [KEY_META_LEFT](_o_h___native_x_component.md) = 2076, [KEY_META_RIGHT](_o_h___native_x_component.md) = 2077,
[KEY_FUNCTION](_o_h___native_x_component.md) = 2078, [KEY_SYSRQ](_o_h___native_x_component.md) = 2079, [KEY_BREAK](_o_h___native_x_component.md) = 2080, [KEY_MOVE_HOME](_o_h___native_x_component.md) = 2081,
[KEY_MOVE_END](_o_h___native_x_component.md) = 2082, [KEY_INSERT](_o_h___native_x_component.md) = 2083, [KEY_FORWARD](_o_h___native_x_component.md) = 2084, [KEY_MEDIA_PLAY](_o_h___native_x_component.md) = 2085,
[KEY_MEDIA_PAUSE](_o_h___native_x_component.md) = 2086, [KEY_MEDIA_CLOSE](_o_h___native_x_component.md) = 2087, [KEY_MEDIA_EJECT](_o_h___native_x_component.md) = 2088, [KEY_MEDIA_RECORD](_o_h___native_x_component.md) = 2089,
[KEY_F1](_o_h___native_x_component.md) = 2090, [KEY_F2](_o_h___native_x_component.md) = 2091, [KEY_F3](_o_h___native_x_component.md) = 2092, [KEY_F4](_o_h___native_x_component.md) = 2093,
[KEY_F5](_o_h___native_x_component.md) = 2094, [KEY_F6](_o_h___native_x_component.md) = 2095, [KEY_F7](_o_h___native_x_component.md) = 2096, [KEY_F8](_o_h___native_x_component.md) = 2097,
[KEY_F9](_o_h___native_x_component.md) = 2098, [KEY_F10](_o_h___native_x_component.md) = 2099, [KEY_F11](_o_h___native_x_component.md) = 2100, [KEY_F12](_o_h___native_x_component.md) = 2101,
[KEY_NUM_LOCK](_o_h___native_x_component.md) = 2102, [KEY_NUMPAD_0](_o_h___native_x_component.md) = 2103, [KEY_NUMPAD_1](_o_h___native_x_component.md) = 2104, [KEY_NUMPAD_2](_o_h___native_x_component.md) = 2105,
[KEY_NUMPAD_3](_o_h___native_x_component.md) = 2106, [KEY_NUMPAD_4](_o_h___native_x_component.md) = 2107, [KEY_NUMPAD_5](_o_h___native_x_component.md) = 2108, [KEY_NUMPAD_6](_o_h___native_x_component.md) = 2109,
[KEY_NUMPAD_7](_o_h___native_x_component.md) = 2110, [KEY_NUMPAD_8](_o_h___native_x_component.md) = 2111, [KEY_NUMPAD_9](_o_h___native_x_component.md) = 2112, [KEY_NUMPAD_DIVIDE](_o_h___native_x_component.md) = 2113,
[KEY_NUMPAD_MULTIPLY](_o_h___native_x_component.md) = 2114, [KEY_NUMPAD_SUBTRACT](_o_h___native_x_component.md) = 2115, [KEY_NUMPAD_ADD](_o_h___native_x_component.md) = 2116, [KEY_NUMPAD_DOT](_o_h___native_x_component.md) = 2117,
[KEY_NUMPAD_COMMA](_o_h___native_x_component.md) = 2118, [KEY_NUMPAD_ENTER](_o_h___native_x_component.md) = 2119, [KEY_NUMPAD_EQUALS](_o_h___native_x_component.md) = 2120, [KEY_NUMPAD_LEFT_PAREN](_o_h___native_x_component.md) = 2121,
[KEY_NUMPAD_RIGHT_PAREN](_o_h___native_x_component.md) = 2122, [KEY_VIRTUAL_MULTITASK](_o_h___native_x_component.md) = 2210, [KEY_SLEEP](_o_h___native_x_component.md) = 2600, [KEY_ZENKAKU_HANKAKU](_o_h___native_x_component.md) = 2601,
[KEY_102ND](_o_h___native_x_component.md) = 2602, [KEY_RO](_o_h___native_x_component.md) = 2603, [KEY_KATAKANA](_o_h___native_x_component.md) = 2604, [KEY_HIRAGANA](_o_h___native_x_component.md) = 2605,
[KEY_HENKAN](_o_h___native_x_component.md) = 2606, [KEY_KATAKANA_HIRAGANA](_o_h___native_x_component.md) = 2607, [KEY_MUHENKAN](_o_h___native_x_component.md) = 2608, [KEY_LINEFEED](_o_h___native_x_component.md) = 2609,
[KEY_MACRO](_o_h___native_x_component.md) = 2610, [KEY_NUMPAD_PLUSMINUS](_o_h___native_x_component.md) = 2611, [KEY_SCALE](_o_h___native_x_component.md) = 2612, [KEY_HANGUEL](_o_h___native_x_component.md) = 2613,
[KEY_HANJA](_o_h___native_x_component.md) = 2614, [KEY_YEN](_o_h___native_x_component.md) = 2615, [KEY_STOP](_o_h___native_x_component.md) = 2616, [KEY_AGAIN](_o_h___native_x_component.md) = 2617,
[KEY_PROPS](_o_h___native_x_component.md) = 2618, [KEY_UNDO](_o_h___native_x_component.md) = 2619, [KEY_COPY](_o_h___native_x_component.md) = 2620, [KEY_OPEN](_o_h___native_x_component.md) = 2621,
[KEY_PASTE](_o_h___native_x_component.md) = 2622, [KEY_FIND](_o_h___native_x_component.md) = 2623, [KEY_CUT](_o_h___native_x_component.md) = 2624, [KEY_HELP](_o_h___native_x_component.md) = 2625,
[KEY_CALC](_o_h___native_x_component.md) = 2626, [KEY_FILE](_o_h___native_x_component.md) = 2627, [KEY_BOOKMARKS](_o_h___native_x_component.md) = 2628, [KEY_NEXT](_o_h___native_x_component.md) = 2629,
[KEY_PLAYPAUSE](_o_h___native_x_component.md) = 2630, [KEY_PREVIOUS](_o_h___native_x_component.md) = 2631, [KEY_STOPCD](_o_h___native_x_component.md) = 2632, [KEY_CONFIG](_o_h___native_x_component.md) = 2634,
[KEY_REFRESH](_o_h___native_x_component.md) = 2635, [KEY_EXIT](_o_h___native_x_component.md) = 2636, [KEY_EDIT](_o_h___native_x_component.md) = 2637, [KEY_SCROLLUP](_o_h___native_x_component.md) = 2638,
[KEY_SCROLLDOWN](_o_h___native_x_component.md) = 2639, [KEY_NEW](_o_h___native_x_component.md) = 2640, [KEY_REDO](_o_h___native_x_component.md) = 2641, [KEY_CLOSE](_o_h___native_x_component.md) = 2642,
[KEY_PLAY](_o_h___native_x_component.md) = 2643, [KEY_BASSBOOST](_o_h___native_x_component.md) = 2644, [KEY_PRINT](_o_h___native_x_component.md) = 2645, [KEY_CHAT](_o_h___native_x_component.md) = 2646,
[KEY_FINANCE](_o_h___native_x_component.md) = 2647, [KEY_CANCEL](_o_h___native_x_component.md) = 2648, [KEY_KBDILLUM_TOGGLE](_o_h___native_x_component.md) = 2649, [KEY_KBDILLUM_DOWN](_o_h___native_x_component.md) = 2650,
[KEY_KBDILLUM_UP](_o_h___native_x_component.md) = 2651, [KEY_SEND](_o_h___native_x_component.md) = 2652, [KEY_REPLY](_o_h___native_x_component.md) = 2653, [KEY_FORWARDMAIL](_o_h___native_x_component.md) = 2654,
[KEY_SAVE](_o_h___native_x_component.md) = 2655, [KEY_DOCUMENTS](_o_h___native_x_component.md) = 2656, [KEY_VIDEO_NEXT](_o_h___native_x_component.md) = 2657, [KEY_VIDEO_PREV](_o_h___native_x_component.md) = 2658,
[KEY_BRIGHTNESS_CYCLE](_o_h___native_x_component.md) = 2659, [KEY_BRIGHTNESS_ZERO](_o_h___native_x_component.md) = 2660, [KEY_DISPLAY_OFF](_o_h___native_x_component.md) = 2661, [KEY_BTN_MISC](_o_h___native_x_component.md) = 2662,
[KEY_GOTO](_o_h___native_x_component.md) = 2663, [KEY_INFO](_o_h___native_x_component.md) = 2664, [KEY_PROGRAM](_o_h___native_x_component.md) = 2665, [KEY_PVR](_o_h___native_x_component.md) = 2666,
[KEY_SUBTITLE](_o_h___native_x_component.md) = 2667, [KEY_FULL_SCREEN](_o_h___native_x_component.md) = 2668, [KEY_KEYBOARD](_o_h___native_x_component.md) = 2669, [KEY_ASPECT_RATIO](_o_h___native_x_component.md) = 2670,
[KEY_PC](_o_h___native_x_component.md) = 2671, [KEY_TV](_o_h___native_x_component.md) = 2672, [KEY_TV2](_o_h___native_x_component.md) = 2673, [KEY_VCR](_o_h___native_x_component.md) = 2674,
[KEY_VCR2](_o_h___native_x_component.md) = 2675, [KEY_SAT](_o_h___native_x_component.md) = 2676, [KEY_CD](_o_h___native_x_component.md) = 2677, [KEY_TAPE](_o_h___native_x_component.md) = 2678,
[KEY_TUNER](_o_h___native_x_component.md) = 2679, [KEY_PLAYER](_o_h___native_x_component.md) = 2680, [KEY_DVD](_o_h___native_x_component.md) = 2681, [KEY_AUDIO](_o_h___native_x_component.md) = 2682,
[KEY_VIDEO](_o_h___native_x_component.md) = 2683, [KEY_MEMO](_o_h___native_x_component.md) = 2684, [KEY_CALENDAR](_o_h___native_x_component.md) = 2685, [KEY_RED](_o_h___native_x_component.md) = 2686,
[KEY_GREEN](_o_h___native_x_component.md) = 2687, [KEY_YELLOW](_o_h___native_x_component.md) = 2688, [KEY_BLUE](_o_h___native_x_component.md) = 2689, [KEY_CHANNELUP](_o_h___native_x_component.md) = 2690,
[KEY_CHANNELDOWN](_o_h___native_x_component.md) = 2691, [KEY_LAST](_o_h___native_x_component.md) = 2692, [KEY_RESTART](_o_h___native_x_component.md) = 2693, [KEY_SLOW](_o_h___native_x_component.md) = 2694,
[KEY_SHUFFLE](_o_h___native_x_component.md) = 2695, [KEY_VIDEOPHONE](_o_h___native_x_component.md) = 2696, [KEY_GAMES](_o_h___native_x_component.md) = 2697, [KEY_ZOOMIN](_o_h___native_x_component.md) = 2698,
[KEY_ZOOMOUT](_o_h___native_x_component.md) = 2699, [KEY_ZOOMRESET](_o_h___native_x_component.md) = 2700, [KEY_WORDPROCESSOR](_o_h___native_x_component.md) = 2701, [KEY_EDITOR](_o_h___native_x_component.md) = 2702,
[KEY_SPREADSHEET](_o_h___native_x_component.md) = 2703, [KEY_GRAPHICSEDITOR](_o_h___native_x_component.md) = 2704, [KEY_PRESENTATION](_o_h___native_x_component.md) = 2705, [KEY_DATABASE](_o_h___native_x_component.md) = 2706,
[KEY_NEWS](_o_h___native_x_component.md) = 2707, [KEY_VOICEMAIL](_o_h___native_x_component.md) = 2708, [KEY_ADDRESSBOOK](_o_h___native_x_component.md) = 2709, [KEY_MESSENGER](_o_h___native_x_component.md) = 2710,
[KEY_BRIGHTNESS_TOGGLE](_o_h___native_x_component.md) = 2711, [KEY_SPELLCHECK](_o_h___native_x_component.md) = 2712, [KEY_COFFEE](_o_h___native_x_component.md) = 2713, [KEY_MEDIA_REPEAT](_o_h___native_x_component.md) = 2714,
[KEY_IMAGES](_o_h___native_x_component.md) = 2715, [KEY_BUTTONCONFIG](_o_h___native_x_component.md) = 2716, [KEY_TASKMANAGER](_o_h___native_x_component.md) = 2717, [KEY_JOURNAL](_o_h___native_x_component.md) = 2718,
[KEY_CONTROLPANEL](_o_h___native_x_component.md) = 2719, [KEY_APPSELECT](_o_h___native_x_component.md) = 2720, [KEY_SCREENSAVER](_o_h___native_x_component.md) = 2721, [KEY_ASSISTANT](_o_h___native_x_component.md) = 2722,
[KEY_KBD_LAYOUT_NEXT](_o_h___native_x_component.md) = 2723, [KEY_BRIGHTNESS_MIN](_o_h___native_x_component.md) = 2724, [KEY_BRIGHTNESS_MAX](_o_h___native_x_component.md) = 2725, [KEY_KBDINPUTASSIST_PREV](_o_h___native_x_component.md) = 2726,
[KEY_KBDINPUTASSIST_NEXT](_o_h___native_x_component.md) = 2727, [KEY_KBDINPUTASSIST_PREVGROUP](_o_h___native_x_component.md) = 2728, [KEY_KBDINPUTASSIST_NEXTGROUP](_o_h___native_x_component.md) = 2729, [KEY_KBDINPUTASSIST_ACCEPT](_o_h___native_x_component.md) = 2730,
[KEY_KBDINPUTASSIST_CANCEL](_o_h___native_x_component.md) = 2731, [KEY_FRONT](_o_h___native_x_component.md) = 2800, [KEY_SETUP](_o_h___native_x_component.md) = 2801, [KEY_WAKEUP](_o_h___native_x_component.md) = 2802,
[KEY_SENDFILE](_o_h___native_x_component.md) = 2803, [KEY_DELETEFILE](_o_h___native_x_component.md) = 2804, [KEY_XFER](_o_h___native_x_component.md) = 2805, [KEY_PROG1](_o_h___native_x_component.md) = 2806,
[KEY_PROG2](_o_h___native_x_component.md) = 2807, [KEY_MSDOS](_o_h___native_x_component.md) = 2808, [KEY_SCREENLOCK](_o_h___native_x_component.md) = 2809, [KEY_DIRECTION_ROTATE_DISPLAY](_o_h___native_x_component.md) = 2810,
[KEY_CYCLEWINDOWS](_o_h___native_x_component.md) = 2811, [KEY_COMPUTER](_o_h___native_x_component.md) = 2812, [KEY_EJECTCLOSECD](_o_h___native_x_component.md) = 2813, [KEY_ISO](_o_h___native_x_component.md) = 2814,
[KEY_MOVE](_o_h___native_x_component.md) = 2815, [KEY_F13](_o_h___native_x_component.md) = 2816, [KEY_F14](_o_h___native_x_component.md) = 2817, [KEY_F15](_o_h___native_x_component.md) = 2818,
[KEY_F16](_o_h___native_x_component.md) = 2819, [KEY_F17](_o_h___native_x_component.md) = 2820, [KEY_F18](_o_h___native_x_component.md) = 2821, [KEY_F19](_o_h___native_x_component.md) = 2822,
[KEY_F20](_o_h___native_x_component.md) = 2823, [KEY_F21](_o_h___native_x_component.md) = 2824, [KEY_F22](_o_h___native_x_component.md) = 2825, [KEY_F23](_o_h___native_x_component.md) = 2826,
[KEY_F24](_o_h___native_x_component.md) = 2827, [KEY_PROG3](_o_h___native_x_component.md) = 2828, [KEY_PROG4](_o_h___native_x_component.md) = 2829, [KEY_DASHBOARD](_o_h___native_x_component.md) = 2830,
[KEY_SUSPEND](_o_h___native_x_component.md) = 2831, [KEY_HP](_o_h___native_x_component.md) = 2832, [KEY_SOUND](_o_h___native_x_component.md) = 2833, [KEY_QUESTION](_o_h___native_x_component.md) = 2834,
[KEY_CONNECT](_o_h___native_x_component.md) = 2836, [KEY_SPORT](_o_h___native_x_component.md) = 2837, [KEY_SHOP](_o_h___native_x_component.md) = 2838, [KEY_ALTERASE](_o_h___native_x_component.md) = 2839,
[KEY_SWITCHVIDEOMODE](_o_h___native_x_component.md) = 2841, [KEY_BATTERY](_o_h___native_x_component.md) = 2842, [KEY_BLUETOOTH](_o_h___native_x_component.md) = 2843, [KEY_WLAN](_o_h___native_x_component.md) = 2844,
[KEY_UWB](_o_h___native_x_component.md) = 2845, [KEY_WWAN_WIMAX](_o_h___native_x_component.md) = 2846, [KEY_RFKILL](_o_h___native_x_component.md) = 2847, [KEY_CHANNEL](_o_h___native_x_component.md) = 3001,
[KEY_BTN_0](_o_h___native_x_component.md) = 3100, [KEY_BTN_1](_o_h___native_x_component.md) = 3101, [KEY_BTN_2](_o_h___native_x_component.md) = 3102, [KEY_BTN_3](_o_h___native_x_component.md) = 3103,
[KEY_BTN_4](_o_h___native_x_component.md) = 3104, [KEY_BTN_5](_o_h___native_x_component.md) = 3105, [KEY_BTN_6](_o_h___native_x_component.md) = 3106, [KEY_BTN_7](_o_h___native_x_component.md) = 3107,
[KEY_BTN_8](_o_h___native_x_component.md) = 3108, [KEY_BTN_9](_o_h___native_x_component.md) = 3109
} | Enumerates the key codes for key events. | | [OH_NativeXComponent_KeyAction](_o_h___native_x_component.md#oh_nativexcomponent_keyaction) { [OH_NATIVEXCOMPONENT_KEY_ACTION_UNKNOWN](_o_h___native_x_component.md) = -1, [OH_NATIVEXCOMPONENT_KEY_ACTION_DOWN](_o_h___native_x_component.md) = 0, [OH_NATIVEXCOMPONENT_KEY_ACTION_UP](_o_h___native_x_component.md) } | Enumerates the key event actions. |