DiscordPresence

Methods
18
Fields
None

Getting one

DiscordPresence.builder():build()

Methods

MethodReturnsDescription
toBuilder()DiscordPresenceBuilderA builder holding this presence's fields.
equals(any)booleanWhether o is a presence with equal fields.
getState()string?The state line.
getDetails()string?The details line.
getStartTimestamp()Instant?When the activity started.
getEndTimestamp()Instant?When the activity ends.
getLargeImageKey()string?The large image's asset key.
getLargeImageText()string?The large image's hover text.
getSmallImageKey()string?The small image's asset key.
getSmallImageText()string?The small image's hover text.
getPartyId()string?The party id.
getPartySize()numberThe party's size.
getPartyMax()numberThe party's largest size.
getMatchSecret()string?The match secret.
getJoinSecret()string?The join secret.
getSpectateSecret()string?The spectate secret.
isInstance()booleanWhether it is an instance.
builder()DiscordPresenceBuilderA builder with every field unset.

Returned by

MethodReturnsDescription
DiscordPresenceBuilder.buildDiscordPresenceThe presence.

Method details