|
在使用 MCU Android SDK 的时候 上传文件 成功后 CUSDK 没有文件上传后的状态回调。
- public class FileSync2 implements CoreSDK.FileTransfer2CallBack{
- @Override
- public void transferStatus(JNIMessage message) {// 最原始回调(文件传输)
- String value = message.getStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_RESULT.getName());
- Gson gson = new Gson();
- BVCU_File_TransferInfos[] infos = gson.fromJson(value, BVCU_File_TransferInfos[].class);
- Log.d(TAG, "transferStatus: -->"+value);//
- if (onFileTransferListener != null) {
- Utils.sendMessage(handler, TRANSFER_LISTENER, infos);
- }
copycode
只有在 CUSDK 的日志里有输出
- 2019-05-07 15:18:24.301 12326-12326/com.inchatcu.mcu I/CoreSDK: ----------------->PostMessageToNative file.sync
- 2019-05-07 15:18:24.302 12326-12326/com.inchatcu.mcu I/CoreSDK: ----------------->S_ID -> file.sync
- 2019-05-07 15:18:24.302 12326-12326/com.inchatcu.mcu I/CoreSDK: ----------------->I_METHOD -> 0
- 2019-05-07 15:18:24.302 12326-12326/com.inchatcu.mcu I/CoreSDK: <-----------------PostMessageToNative
- 2019-05-07 15:18:24.305 12326-12372/com.inchatcu.mcu I/CUGlobal: pMsg->iAction = 13
- 2019-05-07 15:18:24.305 12326-12372/com.inchatcu.mcu I/CUGlobal: File:jni/CUGlobal.cpp,Func = handleThreadMsg, begin
- 2019-05-07 15:18:24.305 12326-12372/com.inchatcu.mcu I/CUGlobal: param.iFileStartOffset = -1
- 2019-05-07 15:18:24.305 12326-12372/com.inchatcu.mcu I/CUGlobal: pBVCSPParam->stFileTarget.iStartTime_iOffset = -1
- 2019-05-07 15:18:24.305 12326-12372/com.inchatcu.mcu I/CUGlobal: bUpload 1, local /storage/emulated/0/UE4Game/PUBGM/PUBGM/Saved/TmpHeadImages_2019-05-02/PU_20223914_00_20190502_102334.jpg, remote /PU_20223914/Photo/20190507/PU_20223914_00_20190502_102334.jpg
- 2019-05-07 15:18:24.308 12326-12372/com.inchatcu.mcu I/CUGlobal: openFileTransfer success! hDialog = 4
- 2019-05-07 15:18:24.308 12326-12372/com.inchatcu.mcu I/CUGlobal: File:jni/CUGlobal.cpp,Func = handleThreadMsg, end
- 2019-05-07 15:18:24.308 12326-12326/com.inchatcu.mcu I/CoreSDK: <FAIL> RefObject [0xffa19824] destroyed with count=2
copycode
请问下是什么问题
|
|