Skip to main content
Version: 0.20.6

pressAndroidKey

production

Press one Android key like del.

Details

Available keys home, back, call, endcall, star, pound, dpad_up, dpad_down, dpad_left, dpad_right, dpad_center, volume_up, volume_down, power, camera, clear, comma, period, alt_left, alt_right, shift_left, shift_right, tab, space, sym, explorer, envelope, enter, del, grave, minus, equals, left_bracket, right_bracket, backslash, semicolon, apostrophe, slash, at, num, headsethook, focus, plus, menu, notification, search, media_play_pause, media_stop, media_next, media_previous, media_rewind, media_fast_forward, mute, page_up, page_down, switch_charset, escape, forward_del, ctrl_left, ctrl_right, caps_lock, scroll_lock, function, break, move_home, move_end, insert, forward, media_play, media_pause, media_close, media_eject, media_record, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, num_lock, numpad_0, numpad_1, numpad_2, numpad_3, numpad_4, numpad_5, numpad_6, numpad_7, numpad_8, numpad_9, numpad_divide, numpad_multiply, numpad_subtract, numpad_add, numpad_dot, numpad_comma, numpad_enter, numpad_equals, numpad_left_paren, numpad_right_paren, volume_mute, info, channel_up, channel_down, zoom_in, zoom_out, window, guide, bookmark, captions, settings, app_switch, language_switch, contacts, calendar, music, calculator, assist, brightness_down, brightness_up, media_audio_track, sleep, wakeup, pairing, media_top_menu, last_channel, tv_data_service, voice_assist, help, navigate_previous, navigate_next, navigate_in, navigate_out, dpad_up_left, dpad_down_left, dpad_up_right, dpad_down_right, media_skip_forward, media_skip_backward, media_step_forward, media_step_backward, soft_sleep, cut, copy, paste, all_apps, refresh,

as well as the digits from 0 to 9 and English alphabets.

Example:

await aui.pressAndroidKey('notification').exec();

  • @param {ANDROID_KEY} key - An Android key