Skip to content
New issue

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

请问 如果 更新了deviceinfo 信息 比如设置了pincode 怎么才能获得到最新的属性状态 ,只能通过再一次拉去设备列表吗 #21

Open
hudson-s opened this issue Feb 20, 2019 · 1 comment

Comments

@hudson-s
Copy link

请问 如果 更新了deviceinfo 信息 比如设置了pincode 怎么才能获得到最新的属性状态 ,只能通过再一次拉去设备列表吗

@M201370367
Copy link
Contributor

您可以采取两种方式来实现:
1.在callback里面更新本地的缓存,下次直接从缓存里面读取,建议程序每次进入时更新一下本地缓存;
2.再拉一次设备获取。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants