public class RobotContacts.AccessFamilyData
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
getAllFamilyInfo()
Get all family data.
|
java.lang.String |
getName(java.lang.String uuid)
Get family member name.
|
byte[] |
getOriginPhoto(java.lang.String uuid)
Get family member origin size photo.
|
java.lang.String |
getOriginPhotoURL(java.lang.String uuid)
Get family member origin photo URL
|
byte[] |
getPhoto(java.lang.String uuid)
Get family member photo.
|
FamilyInfo |
getSuperAdmin()
Get super admin user info
|
java.util.ArrayList |
getUUID(java.lang.String userName)
Get family member UUID.
|
boolean |
isAdmin(java.lang.String uuid)
Check if this user is administrator or not.
|
boolean |
isBind(java.lang.String uuid)
Indicates whether this person has VoIP account.
|
java.lang.String |
setOriginPhotoURL(java.lang.String uuid,
java.lang.String photoURL)
Set family member origin photo URL
|
public java.util.ArrayList getAllFamilyInfo()
public java.lang.String getName(java.lang.String uuid)
uuid
- user UUIDpublic byte[] getOriginPhoto(java.lang.String uuid)
uuid
- user UUIDpublic java.lang.String getOriginPhotoURL(java.lang.String uuid)
uuid
- user UUIDpublic byte[] getPhoto(java.lang.String uuid)
uuid
- user UUIDpublic FamilyInfo getSuperAdmin()
public java.util.ArrayList getUUID(java.lang.String userName)
userName
- user namepublic boolean isAdmin(java.lang.String uuid)
uuid
- user UUIDtrue
is admin, or false
if notpublic boolean isBind(java.lang.String uuid)
uuid
- user UUIDtrue
is bind, or false
if notpublic java.lang.String setOriginPhotoURL(java.lang.String uuid, java.lang.String photoURL)
uuid
- user UUIDphotoURL
- photo url