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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val applicationId: Option[ApplicationId]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val assets: Option[ActivityAsset]
- val buttons: Option[Seq[String]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val createdAt: Instant
- val details: Option[String]
- val emoji: Option[ActivityEmoji]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val flags: Option[ActivityFlags]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val instance: Option[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val party: Option[RawActivityParty]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def requireCanSend(): Unit
- val secrets: Option[ActivitySecrets]
- val state: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val timestamps: Option[ActivityTimestamps]
- def toActivity: Activity
- val type: ActivityType
- val url: Option[String]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])