Challenge
(
ptr
)
|
Signature
com.meta.horizon.platform.ovr.models.Challenge.Challenge(final long ptr) Parameters ptr: final long |
getCreationType
()
|
An enum that specifies if this challenge was created by a user (com.meta.horizon.platform.ovr.enums.ChallengeCreationType#UserCreated) or the app developer (com.meta.horizon.platform.ovr.enums.ChallengeCreationType#DeveloperCreated).
Signature
ChallengeCreationType com.meta.horizon.platform.ovr.models.Challenge.getCreationType() Returns ChallengeCreationType
ChallengeCreationType
|
getDescription
()
|
A displayable string of the challenge's description.
Signature
String com.meta.horizon.platform.ovr.models.Challenge.getDescription() Returns String
String
|
getEndDate
()
|
The timestamp when this challenge ends. You can retrieve this field from the response of the challenge creation request.
Signature
LocalDateTime com.meta.horizon.platform.ovr.models.Challenge.getEndDate() Returns LocalDateTime
LocalDateTime
|
getID
()
|
The ID of the challenge. This is an unique string that the application will refer to this challenge in your app.
Signature
long com.meta.horizon.platform.ovr.models.Challenge.getID() Returns long
long
|
getInvitedUsers
()
| |
getLeaderboard
()
|
The com.meta.horizon.platform.ovr.models.Leaderboard associated with this challenge. You can retrieve the leaderboard ID from the response of the challenge creation request.
Signature
Leaderboard com.meta.horizon.platform.ovr.models.Challenge.getLeaderboard() |
getParticipants
()
| |
getStartDate
()
|
The timestamp when this challenge begins. You can retrieve this field from the response of the challenge creation request.
Signature
LocalDateTime com.meta.horizon.platform.ovr.models.Challenge.getStartDate() Returns LocalDateTime
LocalDateTime
|
getTitle
()
|
A displayable string of the challenge's title.
Signature
String com.meta.horizon.platform.ovr.models.Challenge.getTitle() Returns String
String
|
getVisibility
()
|
An enum that specifies who can see and participate in this challenge.
com.meta.horizon.platform.ovr.enums.ChallengeVisibility#InviteOnly - Only those invited can participate in it. Everyone can see it.
com.meta.horizon.platform.ovr.enums.ChallengeVisibility#Public - Everyone can participate and see this challenge.
com.meta.horizon.platform.ovr.enums.ChallengeVisibility#Private - Only those invited can participate and see this challenge.
Signature
ChallengeVisibility com.meta.horizon.platform.ovr.models.Challenge.getVisibility() Returns ChallengeVisibility
ChallengeVisibility
|