hostEntity
TypeScriptget hostEntity(): Promise<_RealityFoundation_Entity>Swift declaration@MainActor @preconcurrency let hostEntity: EntityThe entity containing the component declaring support for this rotor type.
struct · iOS 17.0+ · SDK 27.1
@MainActor @preconcurrency struct RotorNavigationAn accessibility event associated with a rotor navigation.
get hostEntity(): Promise<_RealityFoundation_Entity>Swift declaration@MainActor @preconcurrency let hostEntity: EntityThe entity containing the component declaring support for this rotor type.
get currentItem(): Promise<(unknown) | null>Swift declaration@MainActor @preconcurrency let currentItem: Any?The current element of the search.
get resultHandler(): Promise<((arg0: unknown) => Promise<void>)>Swift declaration@MainActor @preconcurrency let resultHandler: (Any) -> VoidThe handler for the result of the current search. When observing RotorNavigation events
get searchDirection(): Promise<_UIKit_UIAccessibilityCustomRotor_Direction>Swift declaration@MainActor @preconcurrency let searchDirection: UIAccessibilityCustomRotor.DirectionThe direction in which to search.
get rotorType(): Promise<AccessibilityComponent_RotorType>Swift declaration@MainActor @preconcurrency let rotorType: AccessibilityComponent.RotorTypeThe type of the rotor associated with the event.
static init(rotorType: AccessibilityComponent_RotorType, hostEntity: _RealityFoundation_Entity, currentItem: (unknown) | null, searchDirection: _UIKit_UIAccessibilityCustomRotor_Direction, resultHandler: ((arg0: unknown) => void)): Promise<AccessibilityEvents_RotorNavigation>Swift declaration@MainActor @preconcurrency init(rotorType: AccessibilityComponent.RotorType, hostEntity: Entity, currentItem: Any?, searchDirection: UIAccessibilityCustomRotor.Direction, resultHandler: @escaping (Any) -> Void)No declarations were skipped in this snapshot.