Skip to content

UserRecord ​

A CrowdControl user object.

Kind: Class

Namespace: CrowdControl.Common

Inheritance: ICloneable → IEquatable\<UserRecord\>

Public Constructors

UserRecord(string ccID, string service, string serviceID, string name = null, string login = null, string avatarURL = null)

A CrowdControl user object.

Public Member Functions

string

SanitizedName(TextEncoding encoding)

Gets the sanitized name of the viewer, based on the supplied character encoding.

bool

Equals(UserRecord other)

virtual override

bool

Equals(object obj)

virtual override

int

GetHashCode()

UserRecord

Clone()

Public Attributes

string

Service

The streaming service the viewer is accessing via.

string

ServiceID

The streaming service ID of the viewer.

string

CrowdControlID

The Crowd Control ID of the viewer.

string

Name

The display name of the viewer.

string

Login

The login name of the viewer.

string

AvatarURL

The viewer's avatar (the square icon) url.

bool

Anonymous

The viewer's avatar (the square icon) url.

string[]

Subscriptions

The viewer's subscription tier on this channel.

Properties

string

PortableName

[get, ]

The portable (latin alphabet) name of the viewer.

string

ID

[get, ]