CommunitiesEntity

@objcMembers
@objc(GetSocialCommunitiesEntity)
public class CommunitiesEntity : NSObject

Describe a community entity.

  • id

    Entity id.

    Declaration

    Swift

    public internal(set) var id: String { get }
  • Entity type.

    Declaration

    Swift

    public internal(set) var type: CommunitiesEntityType { get }
  • Localized title.

    Declaration

    Swift

    public var title: String? { get }
  • Avatar url.

    Declaration

    Swift

    public internal(set) var avatarUrl: String? { get }
  • Number of followers.

    Declaration

    Swift

    public internal(set) var followersCount: Int { get }
  • Current user is follower or not.

    Declaration

    Swift

    public internal(set) var isFollowedByMe: Bool { get }
  • Check if specified action is available or not.

    Declaration

    Swift

    public func isActionAllowed(action: CommunitiesAction) -> Bool

    Return Value

    true, if action is available, otherwise false.

  • Description.

    Declaration

    Swift

    public override var description: String { get }