getSelfIdsOnOtherPlatform method

Future<List<String>> getSelfIdsOnOtherPlatform()

~english Gets the unique IDs of the current user on the other devices. The ID is in the format of username + "/" + resource.

Return The list of unique IDs of users on the other devices if the method succeeds.

Throws A description of the exception. See EMError. ~end

~chinese 获取登录用户在其他登录设备上唯一 ID,该 ID 由 username + "/" + resource 组成。

Return 该方法调用成功会返回 ID 列表。

Throws 如果有方法调用的异常会在这里抛出,可以看到具体错误原因。请参见 EMError。 ~end

Implementation

Future<List<String>> getSelfIdsOnOtherPlatform() async {
  return Client.instance.contactManager.getSelfIdsOnOtherPlatform();
}