IActivity class abstract

Constructors

IActivity()

Properties

activityFlags IActivityFlags
Activity flags ORd together, describes what the payload includes
no setter
applicationId Snowflake?
Application id for the game
no setter
assets IGameAssets?
Images for the presence and their hover texts
no setter
buttons Iterable<String>
Activity buttons. List of button labels
no setter
createdAt DateTime
Timestamp of when the activity was added to the user's session
no setter
customStatusEmoji IActivityEmoji?
The emoji used for a custom status
no setter
details String?
What the player is currently doing
no setter
hashCode int
The hash code for this object.
no setterinherited
instance bool?
Whether or not the activity is an instanced game session
no setter
name String
The activity name.
no setter
party IActivityParty?
Information for the current party of the player
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secrets IGameSecrets?
Secrets for Rich Presence joining and spectating
no setter
state String?
The user's current party status
no setter
timestamps IActivityTimestamps?
Timestamps for start and/or end of the game
no setter
type ActivityType
The activity type.
no setter
url String?
The game URL, if provided.
no setter

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