7 Manage groups
Parameter
Type
Description
groupName
String
The new name of the
group.
callback
IResultCallback
The callback.
Example
1
ITuyaGroup mGroup
=
TuyaHomeSdk
.
newBlueMeshGroupInstance
(
groupId
);
2
mGroup
.
renameGroup
(
" Group name"
,
new
IResultCallback
() {
3
@Override
4
public
void
onError
(
String
code
,
String
errorMsg
) {
5
}
6
@Override
7
public
void
onSuccess
() {
8
}
9
});
26 / 31