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

OVR_Requests_Notification.h File

*** Notifications Overview: Notifications are a way for the Oculus platform to push timely updates to your application. These are typically time-sensitive items and try to be prolific. In addition to your application, they usually present themselves in the 2D/3D Stores as well as Universal Menu.
*** Read Status: Notifications will currently show up in these areas until they either expire or they're marked as read. If you mark a notification as read, it'll be removed from all surfaces.
The Notifications class provides a way to manage and display notifications to the user. Notifications can be used to inform the user of important events, such as new messages, friend requests, or updates to installed apps. See more info about Platform Solutions here.

Functions

Marks a notification as read, causing it to disappear from various surfaces such as the Universal Menu and in-app retrieval. This action is useful for indicating that the user has acknowledged or acted upon the notification.
Parameters
notificationID
The unique identifier (UUID) of the notification to be marked as read.
A message with type ovrMessage_Notification_MarkAsRead will be generated in response.First call ovr_Message_IsError() to check if an error occurred.This response has no payload. If no error occurred, the request was successful. Yay!
Did you find this page helpful?
Thumbs up icon
Thumbs down icon