updateBindIdentifiers method
批量更新账号或标签
ios 对于账号操作. List类型为dic数组{'account':identifyStr, 'accountType':0}
ios 对于标签操作,List类型为字符串数组(标签字符串不允许有空格或者是tab字符) identifyStr
android List类型为字符串数组(标签字符串不允许有空格或者是tab字符) identifyStr
Implementation
void updateBindIdentifiers({
required List identifys,
required XGBindType bindType,
}) {
if (Platform.isIOS) {
_channel.invokeMethod('updateBindIdentifiers',
{'identifys': identifys, 'bindType': bindType.index});
} else {
if (bindType.index == XGBindType.tag.index) {
xgApi.setXgTags(tagNames: identifys);
}
}
}