Adding documentation to ActivityType constants

This commit is contained in:
One-Nub 2020-05-23 22:40:44 -05:00
parent 7e558a249b
commit 9ebbd95595

View file

@ -125,9 +125,16 @@ class ActivityTimestamps {
/// Represents type of presence activity
class ActivityType extends IEnum<int> {
///Status type when playing a game
static const ActivityType game = ActivityType._create(0);
///Status type when streaming a game. Only supports twitch.tv or youtube.com url
static const ActivityType streaming = ActivityType._create(1);
///Status type when listening to Spotify
static const ActivityType listening = ActivityType._create(2);
///Custom status, not supported for bot accounts
static const ActivityType custom = ActivityType._create(4);
/// Creates [ActivityType] from [value]