public class EMUser extends EMEntity
EMEntity.EntityType
构造器和说明 |
---|
EMUser(String username,
Boolean canLogin)
已过时。
use
EMUser instead |
EMUser(String username,
String uuid,
Boolean canLogin) |
EMUser(String username,
String pushNickname,
String uuid,
Boolean canLogin,
List<PushResource> pushResources) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals(Object o) |
boolean |
getCanLogin() |
String |
getPushNickname() |
List<PushResource> |
getPushResources() |
String |
getUsername() |
String |
getUuid() |
int |
hashCode() |
String |
toString() |
static void |
validatePassword(String password) |
static void |
validateUsername(String username) |
@Deprecated public EMUser(String username, Boolean canLogin)
EMUser
insteadusername
- 用户名canLogin
- 是否可登录public EMUser(String username, String uuid, Boolean canLogin)
username
- 用户名uuid
- 用户的uuidcanLogin
- 是否可登录public static void validateUsername(String username)
public static void validatePassword(String password)
public String getUsername()
public String getPushNickname()
public String getUuid()
public boolean getCanLogin()
public List<PushResource> getPushResources()
Copyright © 2024. All rights reserved.