NIMSDK-AOS 10.4.0-beta
载入中...
搜索中...
未找到
OnlineClient.java
浏览该文件的文档.
1package com.netease.nimlib.sdk.auth;
2
3import java.io.Serializable;
4
5/**
6 * 多端同时登录时,其他在线的客户端的信息。
7 */
8public interface OnlineClient extends Serializable {
9
10 /**
11 * 客户端的操作系统信息,格式为
12 * @return 操作系统信息
13 */
14 public String getOs();
15
16 /**
17 * 客户端类型。
18 * @see ClientType
19 *
20 * @return 客户端类型
21 */
22 public int getClientType();
23
24 public long getLoginTime();
25
26 public String getClientIp();
27
28 public String getCustomTag();
29
30 public int getCustomClientType();
31}
多端同时登录时,其他在线的客户端的信息。
int getClientType()
客户端类型。
String getOs()
客户端的操作系统信息,格式为