Meta XR Platform SDK (UPM) v71 Reference Guide
Meta XR Platform SDK (UPM) v71 Reference Guide
Select your platform
No SDKs available
No versions available

Request Class

Extends Request
This Request class provides a set of tools and services for developing VR applications. It represents a request made to the OculusPlatform, such as a request to initialize the platform or to retrieve user data.

Properties

It is a public property of the Request class that represents the unique identifier for a request. It can be used to identify and track requests.

Member Functions

Request
( ulong requestID )
This function takes a callback function as a parameter and attaches it to the request. When the request is completed, the callback function will be called with the result of the request.
This function is called when a message is received from the OculusPlatform in response to the request. It takes a Message object as a parameter, which contains the result of the request.
Request
( ulong requestID )
Request OnComplete
( Message.Callback callback )
It is called when a message is received in response to a request made by the application.

Static Member Functions

This will run callbacks on all messages that returned from the server. If too many message are coming back at once, then a limit can be passed in as an arg to limit the number of messages to run callbacks on at a time
Did you find this page helpful?