MrShi
8 天以前 7c93550a244fcc74678344628c229b42438c729f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { ICommonAPIParams } from '../../../constant/types';
/**
 * 获取设备电量 请求参数定义
 * @apiName device.base.getBatteryInfo
 */
export interface IDeviceBaseGetBatteryInfoParams extends ICommonAPIParams {
}
/**
 * 获取设备电量 返回结果定义
 * @apiName device.base.getBatteryInfo
 */
export interface IDeviceBaseGetBatteryInfoResult {
    level: number;
    isCharging: boolean;
}
/**
 * 获取设备电量
 * @apiName device.base.getBatteryInfo
 */
export declare function getBatteryInfo$(params: IDeviceBaseGetBatteryInfoParams): Promise<IDeviceBaseGetBatteryInfoResult>;
export default getBatteryInfo$;