ActivityType enum
Activity types
The streaming type currently only supports Twitch and YouTube. Only https://twitch.tv/ and https://youtube.com/ urls will work.
https://discord.com/developers/docs/topics/gateway#activity-object-activity-types
Constructors
- ActivityType()
-
const
Values
- game → const ActivityType
-
Format: Playing {name}
Example: "Playing Rocket League"
- streaming → const ActivityType
-
Format: Streaming {name}
Example: "Streaming Rocket League"
- listening → const ActivityType
-
Format: Listening to {name}
Example: "Listening to Spotify"
- watching → const ActivityType
-
Format: Watching {name}
Example: "Watching YouTube Together"
- custom → const ActivityType
-
Format: {emoji} {name}
Example: ":smiley: I am cool"
- competing → const ActivityType
-
Format: Competing in {name}
Example: "Competing in Arena World Champions"
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.