File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ dependencies {
4848// api('com.tencent.iot.thirdparty.android:xp2p-sdk:latest.integration') {
4949// changing = true
5050// }
51- api ' com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.3-SNAPSHOT '
51+ api ' com.tencent.iot.thirdparty.android:xp2p-sdk:2.4.3'
5252 api ' com.tencent.iot.thirdparty.android:media-server:1.0.0'
5353}
5454
Original file line number Diff line number Diff line change @@ -206,6 +206,17 @@ WlanDetectBody 定义如下
206206| :---------------------------- | :---------------------------- | :--------------- |
207207| onWlanDevicesDetectedCallback | OnWlanDevicesDetectedCallback | 广播响应包监听器 |
208208
209+ 21 . 设置是否输出P2P日志(默认情况下,控制台日志以及日志文件输出是打开状态)
210+
211+ > void setLogEnable(boolean console, boolean file);
212+
213+ > 注意: 在start service之前调用该接口, 可以和XP2P.setCallback(this)接口一起调用
214+
215+ | 参数 | 类型 | 描述 |
216+ | :---- | :------------- | :------------------- |
217+ | console | boolean | 控制台日志输出开关 |
218+ | file | boolean | 日志文件输出开关 |
219+
209220### 废弃接口
210221
211222~~ public static String getComandRequestWithSync(String cmd, long timeout);~~
You can’t perform that action at this time.
0 commit comments