Platform v15 Reference Guide

OVR_Requests_RichPresence.h File Reference

Function Documentation

ovrRequest ovr_RichPresence_Clear ( )
Clear rich presence for running app
A message with type ovrMessage_RichPresence_Clear will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
This response has no payload. If no error occured, the request was successful. Yay!
ovrRequest ovr_RichPresence_GetDestinations ( )
Gets all the destinations that the presence can be set to
A message with type ovrMessage_RichPresence_GetDestinations 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 ovrDestinationArrayHandle. Extract the payload from the message handle with ovr_Message_GetDestinationArray().
ovrRequest ovr_RichPresence_GetNextDestinationArrayPage ( ovrDestinationArrayHandle handle )
Get the next page of entries
A message with type ovrMessage_RichPresence_GetNextDestinationArrayPage 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 ovrDestinationArrayHandle. Extract the payload from the message handle with ovr_Message_GetDestinationArray().
ovrRequest ovr_RichPresence_Set ( ovrRichPresenceOptionsHandle richPresenceOptions )
Set rich presence for running app
A message with type ovrMessage_RichPresence_Set will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
This response has no payload. If no error occured, the request was successful. Yay!
1
2
3
4
5
6
7
8
9
10
11
19
20
29
30
39
40
48
49
50
// This file was @generated with LibOVRPlatform/codegen/main. Do not modify it!

#ifndef OVR_REQUESTS_RICHPRESENCE_H
#define OVR_REQUESTS_RICHPRESENCE_H

#include "OVR_Types.h"
#include "OVR_Platform_Defs.h"

#include "OVR_DestinationArray.h"
#include "OVR_RichPresenceOptions.h"

OVRP_PUBLIC_FUNCTION(ovrRequest) ovr_RichPresence_Clear();

OVRP_PUBLIC_FUNCTION(ovrRequest) ovr_RichPresence_GetDestinations();

OVRP_PUBLIC_FUNCTION(ovrRequest) ovr_RichPresence_GetNextDestinationArrayPage(ovrDestinationArrayHandle handle);

OVRP_PUBLIC_FUNCTION(ovrRequest) ovr_RichPresence_Set(ovrRichPresenceOptionsHandle richPresenceOptions);

#endif
The documentation for this file was generated from the following file: OVR_Requests_RichPresence.h