|
|
|
@ -105,6 +105,10 @@ public class MyApplication extends Application { |
|
|
|
.create(); |
|
|
|
|
|
|
|
DUILiteSDK.init(getApplicationContext()); |
|
|
|
|
|
|
|
//DUILiteSDK.setGlobalAudioSaveEnable(true); //使能全局音频保存开关,此开关关闭则不保存音频.默认为开,但是需要设置下面的保存路径才能保存音频
|
|
|
|
|
|
|
|
//DUILiteSDK.setGlobalAudioSavePath(Constant.CACHE_PATH);
|
|
|
|
// SDK 授权
|
|
|
|
DUILiteSDK.doAuth(getApplicationContext(), config, new DUILiteSDK.InitListener() { |
|
|
|
@Override |
|
|
|
|