doum
8 天以前 d5810177a4e77ea273971e51dd150bd84906de6f
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 getBatteryInfo
 */
export interface IUnionGetBatteryInfoParams extends ICommonAPIParams {
}
/**
 * 获取设备电量 返回结果定义
 * @apiName getBatteryInfo
 */
export interface IUnionGetBatteryInfoResult {
    level: number;
    isCharging: boolean;
}
/**
 * 获取设备电量
 * @apiName getBatteryInfo
 */
export declare function getBatteryInfo$(params: IUnionGetBatteryInfoParams): Promise<IUnionGetBatteryInfoResult>;
export default getBatteryInfo$;