One Logo Pool Ball
RealityKit · IOS API REFERENCE

AccessibilityEvents.CustomAction

struct · iOS 17.0+ · SDK 27.1

struct CustomAction

An accessibility event for a custom action defined in your app.

Members (5)

get · iOS 17.0+

key

TypeScript
get key(): _Foundation_LocalizedStringResource
Swift declaration
var key: LocalizedStringResource

The localized string key identifying this action.

set · iOS 17.0+

key

TypeScript
set key(value: _Foundation_LocalizedStringResource)
Swift declaration
var key: LocalizedStringResource

The localized string key identifying this action.

init · iOS 17.0+

init

TypeScript
static init(key: _Foundation_LocalizedStringResource, entity: _RealityFoundation_Entity): AccessibilityEvents_CustomAction
Swift declaration
init(key: LocalizedStringResource, entity: Entity)
get · iOS 17.0+

entity

TypeScript
get entity(): _RealityFoundation_Entity
Swift declaration
var entity: Entity

The receiver of the action.

set · iOS 17.0+

entity

TypeScript
set entity(value: _RealityFoundation_Entity)
Swift declaration
var entity: Entity

The receiver of the action.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityKit types →