[ { "name": "globals", "url": "globals.html", "summary": "全局函数", "properties": [ { "key": "sleep", "url": "globals.html#globals_sleep_n", "summary": "暂停运行", "global": true }, { "key": "currentPackage", "url": "globals.html#globals_currentpackage", "summary": "当前包名", "global": true }, { "key": "currentActivity", "url": "globals.html#globals_currentactivity", "summary": "当前活动", "global": true }, { "key": "setClip", "url": "globals.html#globals_setclip_text", "summary": "设置剪贴板", "global": true }, { "key": "getClip", "url": "globals.html#globals_getclip", "summary": "获取剪贴板", "global": true }, { "key": "toast", "url": "globals.html#globals_toast_message", "summary": "气泡提示", "global": true }, { "key": "toastLog", "url": "globals.html#globals_toastlog_messagep", "summary": "提示&打印", "global": true }, { "key": "waitForActivity", "url": "globals.html#globals_waitforactivity_activity_period_200", "summary": "等待活动", "global": true }, { "key": "waitForPackage", "url": "globals.html#globals_waitforpackage_package_period_200", "summary": "等待包名", "global": true },{ "key": "exit", "url": "globals.html#globals_exit", "summary": "退出", "global": true }, { "key": "random", "url": "globals.html#globals_random_min_max", "summary": "随机数", "global": true }, { "key": "context", "url": "globals.html#globals_context", "summary": "", "global": true, "variable": true } ] }, { "name": "app", "url": "app.html", "summary": "应用", "properties": [ { "key": "uninstall", "url": "app.html#app_app_uninstall_packagename", "summary": "卸载" }, { "key": "viewFile", "url": "app.html#app_app_viewfile_path", "summary": "查看文件" }, { "key": "editFile", "url": "app.html#app_app_editfile_path", "summary": "编辑文件" }, { "key": "openUrl", "url": "app.html#app_app_openurl_url", "summary": "打开链接" }, { "key": "launchPackage", "url": "app.html#app_app_launchpackage_packagename", "summary": "启动包名" }, { "key": "launch", "url": "app.html#app_app_launch_packagename", "summary": "启动", "global": true }, { "key": "launchApp", "url": "app.html#app_app_launchapp_appname", "summary": "启动应用", "global": true }, { "key": "getPackageName", "url": "globals.html#globals_getpackagename_appname", "summary": "获取包名" }, { "key": "getAppName", "url": "app.html#app_app_getappname_packagename", "summary": "获取应用名" }, { "key": "openAppSetting", "url": "app.html#app_app_openappsetting_packagename", "summary": "应用设置页" }, { "key": "sendEmail", "url": "app.html#app_app_sendemail_options", "summary": "发送邮件" }, { "key": "intent", "url": "app.html#app_app_intent_options", "summary": "意图" }, { "key": "startActivity", "url": "app.html#app_app_startactivity_options", "summary": "启动活动" }, { "key": "sendBroadcast", "url": "app.html#app_app_sendbroadcast_options", "summary": "发送广播" } ] }, { "name": "automator", "url": "widgets-based-automation.html", "summary": "自动操作", "properties": [ { "key": "click", "url": "widgets-based-automation.html#widgets_based_automation_click_text_i", "summary": "点击", "global": true }, { "key": "longClick", "url": "widgets-based-automation.html#widgets_based_automation_longclick_text_i", "summary": "长按", "global": true }, { "key": "press", "url": "", "summary": "按住", "global": true }, { "key": "swipe", "url": "", "summary": "滑动", "global": true }, { "key": "gesture", "url": "", "summary": "手势", "global": true }, { "key": "gestures", "url": "", "summary": "异步手势", "global": true }, { "key": "gestureAsync", "url": "", "summary": "多手势", "global": true }, { "key": "gesturesAsync", "url": "", "summary": "异步多手势", "global": true }, { "key": "scrollDown", "url": "widgets-based-automation.html#widgets_based_automation_scrollup_i", "summary": "下滑", "global": true }, { "key": "scrollUp", "url": "widgets-based-automation.html#widgets_based_automation_scrollup_i", "summary": "上滑", "global": true }, { "key": "input", "url": "widgets-based-automation.html#widgets_based_automation_input_i_text", "summary": "输入文本", "global": true }, { "key": "setText", "url": "widgets-based-automation.html#widgets_based_automation_settext_i_text", "summary": "设置文本", "global": true } ] }, { "name": "console", "url": "console.html", "summary": "控制台", "properties": [ { "key": "show", "url": "console.html#console_console_show", "summary": "显示" }, { "key": "hide", "url": "console.html#console_console_hide", "summary": "隐藏" }, { "key": "clear", "url": "console.html#console_console_clear", "summary": "清空" }, { "key": "verbose", "url": "console.html#console_console_verbose_data_args", "summary": "不重要日志" }, { "key": "info", "url": "console.html#console_console_info_data_args", "summary": "打印信息" }, { "key": "log", "url": "console.html#console_console_log_data_args", "summary": "打印日志", "global": true }, { "key": "warn", "url": "console.html#console_console_warn_data_args", "summary": "打印警告" }, { "key": "error", "url": "console.html#console_console_error_data_args", "summary": "打印错误" }, { "key": "assert", "url": "console.html#console_console_assert_value_message", "summary": "断言" }, { "key": "input", "url": "console.html#console_console_input_data_args", "summary": "输入" }, { "key": "rawInput", "url": "console.html#console_console_rawinput_data_args", "summary": "输入字符串" }, { "key": "setSize", "url": "console.html#console_console_setsize_w_h", "summary": "输入字符串" }, { "key": "setPosition", "url": "console.html#console_console_setposition_x_y", "summary": "设置位置" } ] }, { "name": "dialogs", "url": "dialogs.html", "summary": "对话框", "properties": [ { "key": "select", "url": "dialogs.html#dialogs_dialogs_select_title_items_callback", "summary": "选择" }, { "key": "singleChoice", "url": "dialogs.html#dialogs_dialogs_singlechoice_title_items_index_callback", "summary": "单选" }, { "key": "multiChoice", "url": "dialogs.html#dialogs_dialogs_multichoice_title_items_indices_callback", "summary": "多选" }, { "key": "rawInput", "url": "dialogs.html#dialogs_dialogs_rawinput_title_prefill_callback", "summary": "输入字符串" }, { "key": "input", "url": "dialogs.html#dialogs_dialogs_input_title_prefill_callback", "summary": "输入" }, { "key": "alert", "url": "dialogs.html#dialogs_dialogs_alert_title_content_callback", "summary": "消息框" }, { "key": "confirm", "url": "dialogs.html#dialogs_dialogs_confirm_title_content_callback", "summary": "确认框" }, { "key": "prompt", "url": "dialogs.html#dialogs_dialogs_prompt_title_prefill_callback", "summary": "输入字符串" } ] }, { "name": "images", "url": "images.html", "summary": "图色", "properties": [ { "key": "save", "url": "images.html#images_images_save_image_path", "summary": "保存图片" }, { "key": "pixel", "url": "images.html#images_images_pixel_image_x_y", "summary": "取色" }, { "key": "read", "url": "images.html#images_images_read_path", "summary": "读取图片" }, { "key": "load", "url": "images.html#images_images_load_url", "summary": "加载图片" }, { "key": "clip", "url": "images.html#images_images_clip_img_x_y_w_h", "summary": "剪切图片" }, { "key": "requestScreenCapture", "url": "images.html#images_images_requestscreencapture_landscape", "summary": "请求截屏", "global": true }, { "key": "captureScreen", "url": "images.html#images_capturescreen", "summary": "截屏", "global": true }, { "key": "findColor", "url": "images.html#images_images_findcolor_image_color_options", "summary": "找色", "global": true }, { "key": "findColorInRegion", "url": "images.html#images_images_findcolorinregion_img_color_x_y_width_height_threads_algorithm_threshold", "summary": "区域找色", "global": true }, { "key": "findColorEquals", "url": "images.html#images_images_findcolorequals_img_color_x_y_width_height_threads", "summary": "精确找色", "global": true }, { "key": "findMultiColors", "url": "images.html#images_images_clip_img_x_y_w_h", "summary": "多点找色", "global": true }, { "key": "detectsColor", "url": "images.html#images_images_detectscolor_image_color_x_y_threshold_16_algorithm_diff", "summary": "颜色检测" }, { "key": "findImage", "url":"images.html#images_images_findimage_img_template_options", "summary": "找图", "global": true }, { "key": "findImageInRegion", "url":"images.html#images_images_findimageinregion_img_template_x_y_width_height_threshold", "summary": "区域找图", "global": true } ] }, { "name": "colors", "url": "colors.html", "summary": "颜色", "properties": [ { "key": "red", "url": "images.html#images_colors_red_color", "summary": "R值" }, { "key": "green", "url": "images.html#images_colors_green_color", "summary": "G值" }, { "key": "blue", "url": "images.html#images_colors_blue_color", "summary": "B值" }, { "key": "alpha", "url": "images.html#images_colors_alpha_color", "summary": "透明度" }, { "key": "toString", "url": "images.html#images_colors_tostring_color", "summary": "颜色转字符串" }, { "key": "rgb", "url": "images.html#images_colors_rgb_red_green_blue", "summary": "RGB" }, { "key": "argb", "url": "images.html#images_colors_argb_alpha_red_green_blue", "summary": "ARGB" }, { "key": "parseColor", "url": "images.html#images_colors_parsecolor_colorstr", "summary": "字符串转颜色" }, { "key": "isSimilar", "url": "images.html#images_colors_issimilar_color2_color2_threshold_algorithm", "summary": "颜色相似" }, { "key": "equals", "url": "images.html#images_colors_equals_color1_color2", "summary": "颜色相等" } ] }, { "name": "events", "url": "events.html", "summary": "事件", "properties": [ { "key": "emitter", "url": "events.html#events_events_emitter", "summary": "" }, { "key": "observeKey", "url": "events.html#events_events_observekey", "summary": "监听按键" }, { "key": "setKeyInterceptionEnabled", "url": "events.html#events_events_setkeyinterceptionenabled_key_enabled", "summary": "屏蔽按键" }, { "key": "observeTouch", "url": "events.html#events_events_observetouch", "summary": "监听触摸" }, { "key": "observeNotification", "url": "events.html#events_obversenotification", "summary": "监听通知" }, { "key": "onKeyDown", "url": "events.html#events_events_onkeydown_keyname_listener", "summary": "按键按下事件" }, { "key": "onKeyUp", "url": "events.html#events_events_onkeyup_keyname_listener", "summary": "按键弹起事件" }, { "key": "onceKeyDown", "url": "events.html#events_events_oncekeydown_keyname_listener", "summary": "" }, { "key": "onceKeyUp", "url": "events.html#events_events_oncekeyup_keyname_listener", "summary": "" }, { "key": "onToast", "url": "events.html#events_toast", "summary": "toast事件" }, { "key": "onNotification", "url": "events.html#events_notification", "summary": "通知事件" }, { "key": "removeAllKeyDownListeners", "url": "events.html#events_events_removeallkeydownlisteners_keyname", "summary": "" }, { "key": "removeAllKeyUpListeners", "url": "events.html#events_events_removeallkeyuplisteners_keyname", "summary": "" }, { "key": "onTouch", "url": "events.html#events_events_ontouch_listener", "summary": "触摸事件" }, { "key": "removeAllTouchListeners", "url": "events.html#events_events_removealltouchlisteners", "summary": "" }, { "key": "getTouchEventTimeout", "url": "events.html#events_events_gettoucheventtimeout", "summary": "" }, { "key": "setTouchEventTimeout", "url": "events.html#events_events_settoucheventtimeout_timeout", "summary": "" }, { "key": "on", "url": "events.html#events_eventemitter_on_eventname_listener", "summary": "" }, { "key": "once", "url": "events.html#events_eventemitter_once_eventname_listener", "summary": "" }, { "key": "emit", "url": "events.html#events_eventemitter_emit_eventname_args", "summary": "" }, { "key": "getListeners", "url": "", "summary": "" }, { "key": "addListener", "url": "events.html#events_eventemitter_addlistener_eventname_listener", "summary": "" }, { "key": "eventNames", "url": "events.html#events_eventemitter_eventnames", "summary": "" }, { "key": "listenerCount", "url": "events.html#events_eventemitter_listenercount_eventname", "summary": "" }, { "key": "listeners", "url": "events.html#events_eventemitter_listeners_eventname", "summary": "" }, { "key": "prependListener", "url": "events.html#events_eventemitter_prependlistener_eventname_listener", "summary": "" }, { "key": "prependOnceListener", "url": "events.html#events_eventemitter_prependoncelistener_eventname_listener", "summary": "" }, { "key": "removeAllListeners", "url": "events.html#events_eventemitter_removealllisteners_eventname", "summary": "" }, { "key": "removeListener", "url": "events.html#events_eventemitter_removelistener_eventname_listener", "summary": "" }, { "key": "setMaxListeners", "url": "events.html#events_eventemitter_setmaxlisteners_n", "summary": "" }, { "key": "getMaxListeners", "url": "events.html#events_eventemitter_getmaxlisteners", "summary": "" }, { "key": "defaultMaxListeners", "url": "events.html#events_eventemitter_defaultmaxlisteners", "summary": "" } ] }, { "name": "files", "properties": [ { "key": "isFile", "summary": "文件判断", "url": "files.html#files_files_isfile_path" }, { "key": "isDir", "summary": "文件夹判断", "url": "files.html#files_files_isdir_path" }, { "key": "isEmptyDir", "summary": "空文件夹判断", "url": "files.html#files_files_isemptydir_path" }, { "key": "join", "summary": "连接路径", "url": "files.html#files_files_join_parent_child" }, { "key": "create", "summary": "创建文件", "url": "files.html#files_files_create_path" }, { "key": "createWithDirs", "summary": "创建文件", "url": "files.html#files_files_createwithdirs_path" }, { "key": "exists", "summary": "判断文件存在", "url": "files.html#files_files_exists_path" }, { "key": "ensureDir", "summary": "确保文件夹", "url": "files.html#files_files_ensuredir_path" }, { "key": "read", "summary": "读取文本", "url": "files.html#files_files_read_path_encoding_utf_8" }, { "key": "readBytes", "summary": "读取字节", "url": "files.html#files_files_readbytes_path" }, { "key": "write", "summary": "写入文本", "url": "files.html#files_files_write_path_text_encoding_utf_8" }, { "key": "writeBytes", "summary": "写入字节", "url": "files.html#files_files_writebytes_path_bytes" }, { "key": "append", "summary": "附加文本", "url": "files.html#files_files_append_path_text_encoding_utf_8" }, { "key": "appendBytes", "summary": "附加字节", "url": "files.html#files_files_appendbytes_path_text_encoding_utf_8" }, { "key": "copy", "summary": "复制", "url": "files.html#files_files_copy_frompath_topath" }, { "key": "move", "summary": "移动", "url": "files.html#files_files_move_frompath_topath" }, { "key": "rename", "summary": "重命名", "url": "files.html#files_files_rename_path_newname" }, { "key": "renameWithoutExtension", "summary": "重命名", "url": "files.html#files_files_renamewithoutextension_path_newname" }, { "key": "getName", "summary": "获取文件名", "url": "files.html#files_files_getname_path" }, { "key": "getNameWithoutExtension", "summary": "获取文件名", "url": "files.html#files_files_getnamewithoutextension_path" }, { "key": "getExtension", "summary": "获取拓展名", "url": "files.html#files_files_getextension_path" }, { "key": "remove", "summary": "删除", "url": "files.html#files_files_remove_path" }, { "key": "removeDir", "summary": "删除文件夹", "url": "files.html#files_files_removedir_path" }, { "key": "getSdcardPath", "summary": "SD卡路径", "url": "files.html#files_files_getsdcardpath" }, { "key": "cwd", "summary": "当前文件夹", "url": "files.html#files_files_cwd" }, { "key": "path", "summary": "解析路径", "url": "files.html#files_files_path_relativepath" }, { "key": "listDir", "summary": "列表文件夹", "url": "files.html#files_files_listdir_path_filter" }, { "global": true, "key": "open", "summary": "打开文件", "url": "files.html#files_open_path_mode_r_encoding_utf_8_buffersize_8192" } ], "summary": "文件", "url": "files.html" }, { "name": "timers", "url": "timers.html", "summary": "定时器", "properties": [ { "key": "setTimeout", "url": "timers.html#timers_settimeout_callback_delay_args", "summary": "定时执行", "global": true }, { "key": "clearTimeout", "url": "timers.html#timers_cleartimeout_id", "summary": "取消定时", "global": true }, { "key": "setInterval", "url": "timers.html#timers_setinterval_callback_delay_args", "summary": "循环执行", "global": true }, { "key": "clearInterval", "url": "timers.html#timers_clearinterval_id", "summary": "清除循环", "global": true }, { "key": "setImmediate", "url": "timers.html#timers_setimmediate_callback_args", "summary": "\"立即\"执行", "global": true }, { "key": "clearImmediate", "url": "timers.html#timers_clearimmediate_id", "summary": "清除\"立即\"", "global": true } ] }, { "name": "selector", "url": "widgets-based-automation.html", "summary": "选择器", "properties": [ { "key": "id", "url": "", "summary": "", "global": true }, { "key": "idContains", "url": "", "summary": "", "global": true }, { "key": "idStartsWith", "url": "", "summary": "", "global": true }, { "key": "idEndsWith", "url": "", "summary": "", "global": true }, { "key": "idMatches", "url": "", "summary": "", "global": true }, { "key": "text", "url": "", "summary": "", "global": true }, { "key": "textContains", "url": "", "summary": "", "global": true }, { "key": "textStartsWith", "url": "", "summary": "", "global": true }, { "key": "textEndsWith", "url": "", "summary": "", "global": true }, { "key": "textMatches", "url": "", "summary": "", "global": true }, { "key": "desc", "url": "", "summary": "", "global": true }, { "key": "descContains", "url": "", "summary": "", "global": true }, { "key": "descStartsWith", "url": "", "summary": "", "global": true }, { "key": "descEndsWith", "url": "", "summary": "", "global": true }, { "key": "descMatches", "url": "", "summary": "", "global": true }, { "key": "className", "url": "", "summary": "", "global": true }, { "key": "classNameContains", "url": "", "summary": "", "global": true }, { "key": "classNameStartsWith", "url": "", "summary": "", "global": true }, { "key": "classNameEndsWith", "url": "", "summary": "", "global": true }, { "key": "classNameMatches", "url": "", "summary": "", "global": true }, { "key": "packageName", "url": "", "summary": "", "global": true }, { "key": "packageNameContains", "url": "", "summary": "", "global": true }, { "key": "packageNameStartsWith", "url": "", "summary": "", "global": true }, { "key": "packageNameEndsWith", "url": "", "summary": "", "global": true }, { "key": "packageNameMatches", "url": "", "summary": "", "global": true }, { "key": "bounds", "url": "", "summary": "", "global": true }, { "key": "boundsInside", "url": "", "summary": "", "global": true }, { "key": "boundsContains", "url": "", "summary": "", "global": true }, { "key": "drawingOrder", "url": "", "summary": "", "global": true }, { "key": "checkable", "url": "", "summary": "", "global": true }, { "key": "checked", "url": "", "summary": "", "global": true }, { "key": "focusable", "url": "", "summary": "", "global": true }, { "key": "focused", "url": "", "summary": "", "global": true }, { "key": "visibleToUser", "url": "", "summary": "", "global": true }, { "key": "accessibilityFocused", "url": "", "summary": "", "global": true }, { "key": "selected", "url": "", "summary": "", "global": true }, { "key": "clickable", "url": "", "summary": "", "global": true }, { "key": "longClickable", "url": "", "summary": "", "global": true }, { "key": "enabled", "url": "", "summary": "", "global": true }, { "key": "password", "url": "", "summary": "", "global": true }, { "key": "scrollable", "url": "", "summary": "", "global": true }, { "key": "editable", "url": "", "summary": "", "global": true }, { "key": "contentInvalid", "url": "", "summary": "", "global": true }, { "key": "contextClickable", "url": "", "summary": "", "global": true }, { "key": "multiLine", "url": "", "summary": "", "global": true }, { "key": "dismissable", "url": "", "summary": "", "global": true }, { "key": "checkable", "url": "", "summary": "", "global": true }, { "key": "checked", "url": "", "summary": "", "global": true }, { "key": "focusable", "url": "", "summary": "", "global": true }, { "key": "focused", "url": "", "summary": "", "global": true }, { "key": "visibleToUser", "url": "", "summary": "", "global": true }, { "key": "accessibilityFocused", "url": "", "summary": "", "global": true }, { "key": "selected", "url": "", "summary": "", "global": true }, { "key": "clickable", "url": "", "summary": "", "global": true }, { "key": "longClickable", "url": "", "summary": "", "global": true }, { "key": "enabled", "url": "", "summary": "", "global": true }, { "key": "password", "url": "", "summary": "", "global": true }, { "key": "scrollable", "url": "", "summary": "", "global": true }, { "key": "editable", "url": "", "summary": "", "global": true }, { "key": "contentInvalid", "url": "", "summary": "", "global": true }, { "key": "contextClickable", "url": "", "summary": "", "global": true }, { "key": "multiLine", "url": "", "summary": "", "global": true }, { "key": "dismissable", "url": "", "summary": "", "global": true } ] }, { "name": "floaty", "properties": [ { "key": "window", "summary": "", "url": "floaty.html#floaty_floaty_window_layout" }, { "key": "closeAll", "summary": "", "url": "floaty.html#floaty_floaty_closeall" } ], "url": "floaty.html", "summary": "悬浮窗" }, { "name": "device", "properties": [ { "key": "width", "summary": "屏幕宽度", "url": "device.html#device_device_width", "variable": true }, { "key": "height", "summary": "屏幕高度", "url": "device.html#device_device_height", "variable": true }, { "key": "buildId", "summary": "修订版本号", "url": "device.html#device_device_buildid", "variable": true }, { "key": "broad", "summary": "", "url": "device.html#device_device_broad", "variable": true }, { "key": "brand", "summary": "品牌", "url": "device.html#device_device_brand", "variable": true }, { "key": "device", "summary": "", "url": "device.html#device_device_device", "variable": true }, { "key": "model", "summary": "设备型号", "url": "device.html#device_deivce_model", "variable": true }, { "key": "product", "summary": "", "url": "device.html#device_device_product", "variable": true }, { "key": "bootloader", "summary": "", "url": "device.html#device_device_bootloader", "variable": true }, { "key": "hardware", "summary": "", "url": "device.html#device_device_hardware", "variable": true }, { "key": "fingerprint", "summary": "", "url": "device.html#device_device_fingerprint", "variable": true }, { "key": "serial", "summary": "", "url": "device.html#device_device_serial", "variable": true }, { "key": "sdkInt", "summary": "安卓API版本", "url": "device.html#device_device_sdkint", "variable": true }, { "key": "incremental", "summary": "", "url": "device.html#device_device_incremental", "variable": true }, { "key": "release", "summary": "安卓版本", "url": "device.html#device_device_release", "variable": true }, { "key": "baseOS", "summary": "", "url": "device.html#device_device_baseos", "variable": true }, { "key": "securityPatch", "summary": "", "url": "device.html#device_device_securitypatch", "variable": true }, { "key": "codename", "summary": "", "url": "device.html#device_device_codename", "variable": true }, { "key": "getIMEI", "summary": "IMEI", "url": "device.html#device_device_getimei" }, { "key": "getAndroidId", "summary": "AndroidID", "url": "device.html#device_device_getandroidid" }, { "key": "getMacAddress", "summary": "MAC地址", "url": "device.html#device_device_getmacaddress" }, { "key": "getBrightness", "summary": "屏幕亮度", "url": "device.html#device_device_getbrightness" }, { "key": "getBrightnessMode", "summary": "亮度模式", "url": "device.html#device_device_getbrightnessmode" }, { "key": "setBrightness", "summary": "设置亮度", "url": "device.html#device_device_setbrightness_b" }, { "key": "setBrightnessMode", "summary": "设亮度模式", "url": "device.html#device_device_setbrightnessmode_mode" }, { "key": "getMusicVolume", "summary": "媒体音量", "url": "device.html#device_device_getmusicvolume" }, { "key": "getNotificationVolume", "summary": "通知音量", "url": "device.html#device_device_getnotificationvolume" }, { "key": "getAlarmVolume", "summary": "闹钟音量", "url": "device.html#device_device_getalarmvolume" }, { "key": "getMusicMaxVolume", "summary": "媒体最大音量", "url": "device.html#device_device_getmusicmaxvolume" }, { "key": "getNotificationMaxVolume", "summary": "通知最大音量", "url": "device.html#device_device_getnotificationmaxvolume" }, { "key": "getAlarmMaxVolume", "summary": "闹钟最大音量", "url": "device.html#device_device_getalarmmaxvolume" }, { "key": "setMusicVolume", "summary": "设媒体音量", "url": "device.html#device_device_setmusicvolume_volume" }, { "key": "setNotificationVolume", "summary": "设通知音量", "url": "device.html#device_device_setnotificationvolume_volume" }, { "key": "setAlarmVolume", "summary": "设闹钟音量", "url": "device.html#device_device_setalarmvolume_volume" }, { "key": "getBattery", "summary": "获取电量", "url": "device.html#device_device_getbattery" }, { "key": "isCharging", "summary": "是否充电", "url": "device.html#device_device_ischarging" }, { "key": "getTotalMem", "summary": "全部内存", "url": "device.html#device_device_gettotalmem" }, { "key": "getAvailMem", "summary": "可用内存", "url": "device.html#device_device_getavailmem" }, { "key": "isScreenOn", "summary": "屏幕是否亮", "url": "device.html#device_device_isscreenon" }, { "key": "wakeUp", "summary": "唤醒设备", "url": "device.html#device_device_wakeup" }, { "key": "wakeUpIfNeeded", "summary": "唤醒", "url": "device.html#device_device_wakeupifneeded" }, { "key": "keepScreenOn", "summary": "屏幕常亮", "url": "device.html#device_device_keepscreenon_timeout" }, { "key": "keepScreenDim", "summary": "屏幕常半亮", "url": "device.html#device_device_keepscreendim_timeout" }, { "key": "cancelKeepingAwake", "summary": "取消保持唤醒", "url": "device.html#device_device_cancelkeepingawake" }, { "key": "vibrate", "summary": "震动", "url": "device.html#device_device_vibrate_millis" }, { "key": "cancelVibration", "summary": "取消震动", "url": "device.html#device_device_cancelvibration" } ], "url": "device.html", "summary": "设备" }, { "name": "http", "properties": [ { "key": "get", "summary": "GET请求", "url": "http.html#http_http_get_url_options_callback" }, { "key": "post", "summary": "POST请求", "url": "http.html#http_http_post_url_data_options_callback" }, { "key": "postJson", "summary": "", "url": "http.html#http_http_postjson_url_data_options_callback" }, { "key": "postMultipart", "summary": "", "url": "http.html#http_http_postmultipart_url_files_options_callback" }, { "key": "request", "summary": "", "url": "http.html#http_http_request_url_options_callback" } ], "url": "http.html", "summary": "HTTP" }, { "name": "keys", "properties": [ { "global": true, "key": "back", "summary": "返回", "url": "keys.html#keys_back" }, { "global": true, "key": "home", "summary": "HOME键", "url": "keys.html#keys_home" }, { "global": true, "key": "powerDialog", "summary": "电源菜单", "url": "keys.html#keys_powerdialog" }, { "global": true, "key": "notifications", "summary": "拉通知栏", "url": "keys.html#keys_notifications" }, { "global": true, "key": "quickSettings", "summary": "长拉通知栏", "url": "keys.html#keys_quicksettings" }, { "global": true, "key": "recents", "summary": "最近任务", "url": "keys.html#keys_recents" }, { "global": true, "key": "splitScreen", "summary": "分屏", "url": "keys.html#keys_splitscreen" }, { "global": true, "key": "Home", "summary": "HOME键", "url": "keys.html#keys_home_1" }, { "global": true, "key": "Back", "summary": "返回键", "url": "keys.html#keys_back_1" }, { "global": true, "key": "Power", "summary": "电源键", "url": "keys.html#keys_power" }, { "global": true, "key": "Menu", "summary": "菜单键", "url": "keys.html#keys_menu" }, { "global": true, "key": "VolumeUp", "summary": "音量上键", "url": "keys.html#keys_volumeup" }, { "global": true, "key": "VolumeDown", "summary": "音量下键", "url": "keys.html#keys_volumedown" }, { "global": true, "key": "Camera", "summary": "照相键", "url": "keys.html#keys_camera" }, { "global": true, "key": "Up", "summary": "上键", "url": "keys.html#keys_up" }, { "global": true, "key": "Down", "summary": "下键", "url": "keys.html#keys_down" }, { "global": true, "key": "Left", "summary": "左键", "url": "keys.html#keys_left" }, { "global": true, "key": "Right", "summary": "右键", "url": "keys.html#keys_right" }, { "global": true, "key": "OK", "summary": "确定键", "url": "keys.html#keys_ok" }, { "global": true, "key": "Text", "summary": "输入文本", "url": "keys.html#keys_text_text" }, { "global": true, "key": "KeyCode", "summary": "键值模拟", "url": "keys.html#keys_keycode_code" } ], "url": "keys.html", "summary": "按键" }, { "name": "storages", "properties": [ { "key": "create", "summary": "创建", "url": "storages.html#storages_storages_create_name" }, { "key": "remove", "summary": "移除", "url": "storages.html#storages_storages_remove_name" } ], "url": "storages.html", "summary": "本地存储" }, { "name": "threads", "properties": [ { "key": "start", "summary": "新线程", "url": "threads.html#threads_threads_start_action" }, { "key": "shutDownAll", "summary": "关闭所有线程", "url": "threads.html#threads_threads_shutdownall" }, { "key": "currentThread", "summary": "当前线程", "url": "threads.html#threads_threads_currentthread" }, { "key": "disposable", "summary": "", "url": "threads.html#threads_threads_disposable" }, { "key": "atomic", "summary": "原子整数", "url": "threads.html#threads_threads_atomic_initialvalue" }, { "key": "lock", "summary": "创建锁", "url": "threads.html#threads_threads_lock" } ], "url": "threads.html", "summary": "多线程" }, { "name": "media", "properties": [ { "key": "scanFile", "summary": "扫描文件", "url": "media.html#media_media_scanfile_path" }, { "key": "playMusic", "summary": "播放音乐", "url": "media.html#media_media_playmusic_path_volume_looping" }, { "key": "musicSeekTo", "summary": "调整进度", "url": "media.html#media_media_musicseekto_msec" }, { "key": "pauseMusic", "summary": "暂停音乐", "url": "media.html#media_media_pausemusic" }, { "key": "resumeMusic", "summary": "继续播放", "url": "media.html#media_media_resumemusic" }, { "key": "stopMusic", "summary": "停止音乐", "url": "media.html#media_media_stopmusic" }, { "key": "isMusicPlaying", "summary": "是否在播放", "url": "media.html#media_media_ismusicplaying" }, { "key": "getMusicDuration", "summary": "音乐时长", "url": "media.html#media_media_getmusicduration" }, { "key": "getMusicCurrentPosition", "summary": "当前位置", "url": "media.html#media_media_getmusiccurrentposition" } ], "url": "media.html", "summary": "多媒体" }, { "name": "sensors", "properties": [ { "key": "register", "summary": "注册监听", "url": "sensors.html#sensors_sensors_register_sensorname_delay" }, { "key": "unregister", "summary": "注销监听", "url": "sensors.html#sensors_sensors_unregister_emitter" }, { "key": "unregisterAll", "summary": "注销所有", "url": "sensors.html#sensors_sensors_unregisterall" }, { "key": "ignoresUnsupportedSensor", "summary": "忽略不支持传感器", "url": "sensors.html#sensors_sensors_ignoresunsupportedsensor", "variable": true } ], "url": "sensors.html", "summary": "传感器" }, { "name": "engines", "properties": [ { "key": "execScript", "summary": "执行脚本", "url": "engines.html#engines_engines_execscript_name_script_config" }, { "key": "execScriptFile", "summary": "执行脚本文件", "url": "engines.html#engines_engines_execscriptfile_path_config" }, { "key": "execAutoFile", "summary": "执行录制文件", "url": "engines.html#engines_engines_execautofile_path_config" }, { "key": "stopAll", "summary": "停止全部", "url": "engines.html#engines_engines_stopall" }, { "key": "stopAllAndToast", "summary": "停止并提示", "url": "engines.html#engines_engines_stopallandtoast" }, { "key": "myEngine", "summary": "当前引擎", "url": "engines.html#engines_engines_myengine" }, { "key": "all", "summary": "所有引擎", "url": "engines.html#engines_engines_all" } ], "url": "engines.html", "summary": "脚本引擎" } ]