API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_Challenges_DeclineInvite Function

If the current user has an invite to the challenge, decline the invite ovrMessage_Challenges_DeclineInvite will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrChallengeHandle. Extract the payload from the message handle with ovr_Message_GetChallenge().

Signature

ovrRequest ovr_Challenges_DeclineInvite(ovrID challengeID)

Parameters

challengeID: ovrID The ID of challenge that the user is going to decline. It can be retrieved by ovr_Challenge_GetID().

Returns