public class CommunitiesEntity
extends java.lang.Object
Constructor and Description |
---|
CommunitiesEntity(CommunitiesEntityType type,
java.lang.String id,
boolean isFollower,
int followersCount,
java.lang.String title,
java.lang.String avatarUrl) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAvatarUrl()
Get avatar URL of the topic/user.
|
int |
getFollowersCount()
Number of followers of the entity.
|
java.lang.String |
getId()
Unique identifier of the entity.
|
java.lang.String |
getTitle()
Title of the topic.
|
CommunitiesEntityType |
getType()
Type of entity.
|
boolean |
isFollowedByMe()
If current user follows the entity.
|
public CommunitiesEntity(CommunitiesEntityType type, java.lang.String id, boolean isFollower, int followersCount, java.lang.String title, java.lang.String avatarUrl)
public CommunitiesEntityType getType()
public java.lang.String getId()
CommunitiesEntityType.USER
, you can use ID as user ID in other calls/
Could be null for CommunitiesEntityType.APP
or CommunitiesEntityType.UNKNOWN
.public boolean isFollowedByMe()
public int getFollowersCount()
public java.lang.String getTitle()
public java.lang.String getAvatarUrl()
(c) Copyright GetSocial BV, 2020. All Rights Reserved.