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

OVR_Requests_PushNotification.h File

Push notification ovrPushNotificationResultHandle provides a simple and efficient way for devices to register for and receive push notifications, enabling developers to build engaging and interactive applications that deliver timely updates and alerts to users.

Functions

Register the device to receive push notification. The registered notification id can be fetched by ovr_PushNotificationResult_GetId().A message with type ovrMessage_PushNotification_Register 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 ovrPushNotificationResultHandle. Extract the payload from the message handle with ovr_Message_GetPushNotificationResult().
Did you find this page helpful?
Thumbs up icon
Thumbs down icon