One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

ActionEvent

struct · iOS 18.0+ · SDK 27.1

struct ActionEvent<ActionType> where ActionType : EntityAction

The structure returned to all action event handlers. Actions perform their function within one or more custom event handlers associated with an action type. The event structure contains useful information for an action to perform its function when an action event is raised. - Important: Do not store ``ActionEvent`` instances beyond the event handler's scope. The event contains references (like ``actionStatus``) that are only valid during the callback. Storing the event and accessing it later results in undefined behavior.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

3 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ActionEvent.action

This declaration needs Swift generic type arguments. (no canonical witness for ActionType)

ActionEvent.parameter

This declaration needs Swift generic type arguments. (no canonical witness for ActionType.EventParameterType)

ActionEvent.entity

The containing type needs Swift generic type arguments. (no canonical witness for ActionType)

All RealityFoundation types →