差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
template:temp_android_api [2023/04/22 23:20] hjw [表] |
template:temp_android_api [2023/05/25 22:55] (当前版本) hjw [表] |
||
---|---|---|---|
行 23: | 行 23: | ||
5、以sysctrl开头的是系统控制类api,包括定时开关机 | 5、以sysctrl开头的是系统控制类api,包括定时开关机 | ||
- | ^ 接口类别 | + | ^ 接口类别 |
- | ^ 硬件及系统信息查询类 | + | ^ 硬件及系统信息查询类 |
- | | ::: | devinfo_getAvailMem() | + | | ::: | devinfo_getAvailMem() |
- | | ::: | devinfo_getBuildNumber() | + | | ::: | devinfo_getBuildNumber() |
- | | ::: | devinfo_getCpuCores() | + | | ::: | devinfo_getCpuCores() |
- | | ::: | devinfo_getCPUCurFreqKHz() | + | | ::: | devinfo_getCPUCurFreqKHz() |
- | | ::: | devinfo_getCPUMaxFreqKHz() | + | | ::: | devinfo_getCPUMaxFreqKHz() |
- | | ::: | devinfo_getCPUMinFreqKHz() | + | | ::: | devinfo_getCPUMinFreqKHz() |
- | | ::: | devinfo_getCPUTemp() | + | | ::: | devinfo_getCPUTemp() |
- | | ::: | devinfo_getDeviceModel() | + | | ::: | devinfo_getDeviceModel() |
- | | ::: | devinfo_getKernelVersion() | + | | ::: | devinfo_getKernelVersion() |
- | | ::: | + | | ::: | devinfo_getSerialNum() |
- | | ::: | devinfo_getSerialNum() | + | | ::: | devinfo_getStorageAvailableSize() |
- | | ::: | devinfo_getStorageAvailableSize() | + | | ::: | devinfo_getStorageTotalSize() |
- | | ::: | devinfo_getStorageTotalSize() | + | | ::: | devinfo_getTotalMem() |
- | | ::: | devinfo_getTotalMem() | + | ^ 显示控制类 |
- | | ::: | + | | ::: | display_getScreenBrightness() |
- | ^ 显示控制类 | + | | ::: | display_getScreenRotation() |
- | | ::: | display_getScreenBrightness() | + | | ::: | display_getWindowHeight() |
- | | ::: | + | | ::: | display_getWindowWidth() |
- | | ::: | display_getScreenRotation() | + | | ::: | display_setNavBar(Boolean enable) |
- | | ::: | display_getWindowHeight() | + | | ::: | display_setNavBarSlideShow(Boolean enable) |
- | | ::: | display_getWindowWidth() | + | | ::: | display_setScreenBrightness(int screenBrightness) |
- | | ::: | display_setNavBar(java.lang.Boolean enable) | + | | ::: |
- | | ::: | display_setNavBarSlideShow(java.lang.Boolean enable) | + | ^ GPIO控制类 |
- | | ::: | display_setScreenBrightness(int screenBrightness) | + | | ::: |
- | | ::: | + | | ::: | gpio_read(int gpioNumber) |
- | | ::: | + | | ::: | gpio_unExport(int gpioNumber) |
- | + | | ::: | gpio_write(int gpioNumber, int value) | |
- | + | ^ 串口控制类 | |
- | + | | ::: | List< | |
- | + | | ::: | uart_IsOpen(String uartNode) | |
- | + | | ::: | uart_open(String uartNode, int baudrate) | |
- | + | | ::: | uart_receive(String uartNode, UartReceiveDataCallback callback) | |
+ | | ::: | uart_send(String uartNode, byte[] buffer) | ||
+ | | ::: | uart_stopReceive(String uartNode) | ||
+ | ^ 系统控制类 | ||
+ | | ::: | sysctrl_cancelShutdown() | ||
+ | | ::: | sysctrl_powerOn(String time, boolean repeat) | ||
+ | | ::: | sysctrl_reboot(String time, boolean repeat) | ||
+ | | ::: | sysctrl_rebootNow() | ||
+ | | ::: | sysctrl_shutdown(String time, boolean repeat) | ||
+ | | ::: | sysctrl_shutdownNow() | ||
+ | | ::: | sysctrl_installApk(String apkPath) | ||