Package de.jcm.discordgamesdk.activity
Class ActivityButton
java.lang.Object
de.jcm.discordgamesdk.activity.ActivityButton
A structure used for custom buttons
This structure is not documented in the Game SDK, but is documented in the Gateway API
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ActivityButton
public ActivityButton() -
ActivityButton
Construct a new ActivityButton- Parameters:
label
- The text displayed on the buttonurl
- Link that is clicked to
-
-
Method Details
-
getLabel
Get a label- Returns:
- button label
-
setLabel
Set a label- Parameters:
label
- The text displayed on the button
-
getUrl
Get a url- Returns:
- button url
-
setUrl
Set a url- Parameters:
url
- Link that is clicked to
-