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

FOvrPreemptableLatentAction Class

Extends FPendingLatentAction
An Interface for our latent actions that can be interrupted. It provide a way to handle OVR Platform requests that are initiated by blueprint nodes. These requests often involve network communication and require a response handler to be registered with the UOvrPlatformSubsystem.

Protected Fields

This is the name of the function that will be executed when the latent action is triggered.
This variable is used to store the output link.
This is a weak pointer to an object that will be notified when the latent action is complete.
This is an instance of the OvrPlatformRequestGenerator class, which is used to generate requests to the Oculus Platform SDK.
This is an instance of the OvrPlatformResponseProcessor class, which is used to process the response from the Oculus Platform SDK.
This is the ID of the request.
This variable indicates whether the response from the Oculus VR Platform (OVRP) Subsystem should be ignored.

Member Functions

FOvrPreemptableLatentAction
( const FLatentActionInfo & LatentInfo,
virtual ~FOvrPreemptableLatentAction ( )
This function can be called to ignore the response from the Oculus Platform SDK. When this function is called, the latent action will not wait for a response from the SDK and will instead continue execution immediately.

Protected Functions

This function returns a pointer to the UOvrPlatformSubsystem object, which provides access to the Oculus Platform SDK. The subsystem is used to perform various operations with the Oculus Platform, such as making requests and processing responses.
This function unlinks the request delegate from the Oculus Platform SDK. The request delegate is used to handle the response from the SDK, and unlinking it allows the latent action to ignore the response if desired.
This function is a virtual function that is called when the object associated with the latent action is destroyed.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon