We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
获取音频开关状态 TTLockClient.getDefault().getMuteModeState 方法成功回调 onGetMuteModeStateSuccess(boolean enabled),但是 enabled 值和实际相反,有声音 enabled 为 false,没有声音 enabled 值为 true.
TTLockClient.getDefault().getMuteModeState
onGetMuteModeStateSuccess(boolean enabled)
enabled
false
true
同样,设置音频开关状态 TTLockClient.getDefault().setMuteMode 第一个参数 boolean enable 传入 true 实际效果是关闭音频,false 为开启音频。官网文档备注为 enable true – on, false – off,和实际相反?
TTLockClient.getDefault().setMuteMode
boolean enable
enable true – on, false – off
The text was updated successfully, but these errors were encountered:
这个接口的意思是设置静音模式 并不是开启声音的意思。所以跟你理解的会相反
Sorry, something went wrong.
No branches or pull requests
获取音频开关状态
TTLockClient.getDefault().getMuteModeState
方法成功回调onGetMuteModeStateSuccess(boolean enabled)
,但是enabled
值和实际相反,有声音enabled
为false
,没有声音enabled
值为true
.同样,设置音频开关状态
TTLockClient.getDefault().setMuteMode
第一个参数boolean enable
传入true
实际效果是关闭音频,false
为开启音频。官网文档备注为enable true – on, false – off
,和实际相反?The text was updated successfully, but these errors were encountered: