ActivityType enum
The type of an Activity.
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
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.