ActivityType enum

The type of an Activity.

Inheritance
Available extensions

Values

game → const ActivityType

Playing a game.

const ActivityType(0)
streaming → const ActivityType

Streaming a game.

const ActivityType(1)
listening → const ActivityType

Listening to a song.

const ActivityType(2)
watching → const ActivityType

Watching a stream.

const ActivityType(3)
custom → const ActivityType

Custom activity.

const ActivityType(4)
competing → const ActivityType

Competing in a game.

const ActivityType(5)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ActivityType>
A constant List of the values in this enum, in order of their declaration.