case class RawActivity(name: String, type: ActivityType, url: Option[String], createdAt: Instant, timestamps: Option[ActivityTimestamps], applicationId: Option[ApplicationId], details: Option[String], state: Option[String], emoji: Option[ActivityEmoji], party: Option[RawActivityParty], assets: Option[ActivityAsset], secrets: Option[ActivitySecrets], instance: Option[Boolean], flags: Option[ActivityFlags], buttons: Option[Seq[String]]) extends Product with Serializable
The content of a presence.
- name
The text show.
- url
A uri if the type is streaming.
- timestamps
Timestamps for start and end of activity.
- applicationId
Application id of the game.
- details
What the player is doing.
- state
The user's party status.
- party
Info about the user's party.
- assets
Images for the presence and hover texts.
- secrets
Secrets for rich presence joining and spectating.
- instance
If the activity is an instanced game session.
- flags
Indicates what the payload includes
- buttons
Custom buttons shown for the rich presence
- Source
- rawData.scala
- Alphabetic
- By Inheritance
- RawActivity
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new RawActivity(name: String, type: ActivityType, url: Option[String], createdAt: Instant, timestamps: Option[ActivityTimestamps], applicationId: Option[ApplicationId], details: Option[String], state: Option[String], emoji: Option[ActivityEmoji], party: Option[RawActivityParty], assets: Option[ActivityAsset], secrets: Option[ActivitySecrets], instance: Option[Boolean], flags: Option[ActivityFlags], buttons: Option[Seq[String]])
- name
The text show.
- url
A uri if the type is streaming.
- timestamps
Timestamps for start and end of activity.
- applicationId
Application id of the game.
- details
What the player is doing.
- state
The user's party status.
- party
Info about the user's party.
- assets
Images for the presence and hover texts.
- secrets
Secrets for rich presence joining and spectating.
- instance
If the activity is an instanced game session.
- flags
Indicates what the payload includes
- buttons
Custom buttons shown for the rich presence
Value Members
- val applicationId: Option[ApplicationId]
- val assets: Option[ActivityAsset]
- val buttons: Option[Seq[String]]
- val createdAt: Instant
- val details: Option[String]
- val emoji: Option[ActivityEmoji]
- val flags: Option[ActivityFlags]
- val instance: Option[Boolean]
- val name: String
- val party: Option[RawActivityParty]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def requireCanSend(): Unit
- val secrets: Option[ActivitySecrets]
- val state: Option[String]
- val timestamps: Option[ActivityTimestamps]
- def toActivity: Activity
- val type: ActivityType
- val url: Option[String]