CmdResponseSettingOnlyCallback.java
2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
package com.glsx.mstar.callback;
public interface CmdResponseSettingOnlyCallback {
/**
* 进入/退出设置模式
*
* @param enterOrExit
* @param isSuccess
*/
void onSwitchModeSetting(boolean enterOrExit, boolean isSuccess);
/**
* 发送设置模式心跳
*
* @param isSuccess
*/
void onHeartbeatModeSetting(boolean isSuccess);
/**
* 获取设置信息
*
* @param data
*/
void onGetSettingInfo(String data);
/**
* 获取wifi信息
*
* @param wifiInfo
*/
void onGetWifiInfo(String wifiInfo, boolean isSuccess);
/**
* 设置wifi 名称和密码
*
* @param name WIFI SSID
* @param pwd WIFI 密码
* @param isSuccess
*/
void onSetWifiInfo(String name, String pwd, boolean isSuccess);
/**
* 重启wifi
*
* @param isSuccess
*/
void onRestartWifi(boolean isSuccess);
/**
* 设置碰撞灵敏度
*
* @param level 分辨率等级
* @param isSuccess
*/
void onSetGSensor(String level, boolean isSuccess);
/**
* 设置停车监控灵敏度
*
* @param level 灵敏度
* @param isSuccess
*/
void onSetParkingGuard(String level, boolean isSuccess);
/**
* 设置录制视频分辨率
*
* @param res 分辨率等级
* @param isSuccess
*/
void onSetRecordResolution(String res, boolean isSuccess);
/**
* 循环录像时长
*
* @param time 分辨率
* @param isSuccess
*/
void onSetVideoClipTime(String time, boolean isSuccess);
/**
* 录制音频开关
*
* @param isOn true|false 打开|关闭
* @param isSuccess
*/
void onSwitchRecordSound(boolean isOn, boolean isSuccess);
/**
* 获取录制音频开关接口(安智享独立接口)
*
* @param isSuccess 请求接口状态
*/
void onQueryRecordSoundState(boolean isSuccess);
/**
* 获取SD卡信息
*
* @param isSuccess
*/
void onGetSDCardInfo(boolean isSuccess);
/**
* 格式化SD卡
*
* @param isSuccess
*/
void onFormatSDCard(boolean isSuccess);
/**
* 获取版本信息
*
* @param isSuccess
*/
void onGetVersionInfo(boolean isSuccess);
/**
* 恢复出厂设置
*
* @param isSuccess
*/
void onFactoryReset(boolean isSuccess);
/**
* 切换录制状态
*
* @param isOn
* @param isSuccess
*/
void onSwitchRecord(boolean isOn, boolean isSuccess);
/**
* 设置音量
*
* @param isSuccess
*/
void onSetVolume(boolean isSuccess);
/**
* 切换提示音开关
*/
void onSwitchWarningTone(boolean isOn, boolean isSuccess);
}