Interface RichPresence

    • Method Detail

      • getApplicationIdLong

        long getApplicationIdLong()
        The ID for the responsible application.
        Returns:
        The ID for the application
      • getApplicationId

        @Nonnull
        java.lang.String getApplicationId()
        The ID for the responsible application.
        Returns:
        The ID for the application
      • getSessionId

        @Nullable
        java.lang.String getSessionId()
        Session ID for this presence.
        Used by spotify integration.
        Returns:
        Session ID
      • getSyncId

        @Nullable
        java.lang.String getSyncId()
        Sync ID for this presence.
        Used by spotify integration.
        Returns:
        Sync ID
      • getState

        @Nullable
        java.lang.String getState()
        The user's current party status
        Example: "Looking to Play", "Playing Solo", "In a Group"
        Returns:
        The user's current party status
      • getDetails

        @Nullable
        java.lang.String getDetails()
        What the player is currently doing
        Example: "Competitive - Captain's Mode", "In Queue", "Unranked PvP"
        Returns:
        What the player is currently doing
      • getParty

        @Nullable
        RichPresence.Party getParty()
        Information on the active party of the player
        Returns:
        Party wrapper or null if unset
      • getLargeImage

        @Nullable
        RichPresence.Image getLargeImage()
        Information on the large image displayed in the profile view
        Returns:
        Image wrapper or null if unset
      • getSmallImage

        @Nullable
        RichPresence.Image getSmallImage()
        Information on the small corner image displayed in the profile view
        Returns:
        Image wrapper or null if unset