MrShi
8 天以前 3845c70bd7ce578b65522ad020a8dc524316b4d4
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$;