Search found 23 matches

by callannna
2024年 Jun 13日 18:42
Forum: App开发
Topic: 智能生活app SDK 和 业务拓展 SDK 有什么区别?
Replies: 0
Views: 26

智能生活app SDK 和 业务拓展 SDK 有什么区别?

业务拓展 SDK 是以 Home SDK 底层能力为基础,将复杂逻辑业务模块不断沉淀、独立封装的业务属性 SDK,可降低您对业务逻辑的理解成本,加速您接入涂鸦 App 最新生态能力。目前,涂鸦已经开发了五大核心能力,包括设备配网、家庭管理、群组管理、设备管理以及场景自动化等。 务必确保在已完成智能生活 App SDK 集成接入的情况下,再开始接入业务拓展 SDK 在 App module 中的 build.gradle 中加入依赖。 ext.version = "5.8.2" ... dependencies { ... implementation "com.t...
by callannna
2024年 Jun 13日 18:19
Forum: App开发
Topic: 【已经解决】获取家庭详情接口,报错REQUEST_CIRCUIT_BREAKER
Replies: 2
Views: 26

Re: 【已经解决】获取家庭详情接口,报错REQUEST_CIRCUIT_BREAKER

这个表示 用户被拉黑名单,限制接口访问,原因可能是发现恶意刷新接口,或者刷新过于频繁

by callannna
2024年 Jun 13日 18:18
Forum: App开发
Topic: 【已经解决】获取家庭详情接口,报错REQUEST_CIRCUIT_BREAKER
Replies: 2
Views: 26

【已经解决】获取家庭详情接口,报错REQUEST_CIRCUIT_BREAKER

Code: Select all

void getHomeDetail(IThingHomeResultCallback callback)

该方法接口突然报错“REQUEST_CIRCUIT_BREAKER”, 是什么意思?。

by callannna
2024年 Jun 13日 18:06
Forum: App开发
Topic: 配网成功以后,发现家庭下的添加设备消息也会通知,这个消息可以当做配网成功吗?
Replies: 1
Views: 27

配网成功以后,发现家庭下的添加设备消息也会通知,这个消息可以当做配网成功吗?

wifi设备配网过程中,使用 val builder = ActivatorBuilder() .setSsid(strSsid) .setContext(v.context) .setPassword(strPassword) .setActivatorModel(ActivatorModelEnum.THING_EZ) .setTimeOut(100) .setToken(token) .setListener(object : IThingSmartActivatorListener { @Override override fun onStep(step: String?, data:...
by callannna
2024年 Jun 13日 12:02
Forum: App开发
Topic: 家庭成员自定义角色问题
Replies: 0
Views: 22

家庭成员自定义角色问题

目前Homesdk对于家庭成员角色,仅支持对于家庭拥有者,家庭管理员,家庭普通成员的添加修改。对于自定义角色没有支持。如需支持可以提交技术支持工单。

by callannna
2024年 Jun 13日 11:53
Forum: App开发
Topic: 转移家庭所有者接口变更
Replies: 0
Views: 22

转移家庭所有者接口变更

最新版本HomeSDK调用updateMember将role从管理员改为家庭拥有者将不再支持,如果调用出现UNSUPPORTED_ROLE错误,使用新接口方法transferOwner即可。

Code: Select all

 /**
     * 家庭所有者转移权限
     * @param gid 家庭id
     * @param memberId 新的家庭所有者id
     * @param listener
     */
     void transferOwner(long gid,long memberId, IResultCallback listener);
by callannna
2024年 Mar 8日 09:39
Forum: iOS & Android Development
Topic: Notifications Permissions (Android)
Replies: 7
Views: 1676

Re: Notifications Permissions (Android)

If it still doesn't work, please provide us with the version number of your mobile operating system, the model of your phone, and the scenario in which the request for notification permissions is triggered, such as whether it occurs on startup, or only with certain devices, and what type of device i...
by callannna
2024年 Mar 8日 09:13
Forum: iOS & Android Development
Topic: Notifications Permissions (Android)
Replies: 7
Views: 1676

Re: Notifications Permissions (Android)

Are you using the latest version? You can try version 5.8.1. 'com.thingclips.smart:thingsmart:5.8.1'