unbindWithIdentifiers method

void unbindWithIdentifiers({
  1. required List identifys,
  2. required XGBindType bindType,
})

批量解绑账号或标签 ios 对于账号操作. List类型为dic数组{'account':identifyStr, 'accountType':0} ios 对于标签操作,List类型为字符串数组(标签字符串不允许有空格或者是tab字符) identifyStr android List类型为字符串数组(标签字符串不允许有空格或者是tab字符) identifyStr

Implementation

void unbindWithIdentifiers({
  required List identifys,
  required XGBindType bindType,
}) {
  if (Platform.isIOS) {
    _channel.invokeMethod('unbindWithIdentifiers',
        {'identifys': identifys, 'bindType': bindType.index});
  } else {
    if (bindType.index == XGBindType.tag.index) {
      xgApi.deleteXgTags(tagNames: identifys);
    }
  }
}