One Logo Pool Ball
AppIntents · IOS API REFERENCE

AppEntityUIElement.State

struct · iOS 18.4+ · SDK 27.1

struct State

The current UI state of the entity that's visible onscreen.

Members (3)

init · iOS 18.4+

init

TypeScript
static init(isSelected?: boolean): AppEntityUIElement_State
Swift declaration
init(isSelected: Bool = false)

Creates the state that describes if a UI element is selected. - parameter isSelected: A Boolean value that indicates whether the UI element is selected.

get · iOS 18.4+

isSelected

TypeScript
get isSelected(): boolean
Swift declaration
var isSelected: Bool

A Boolean value that indicates whether the UI element is selected.

set · iOS 18.4+

isSelected

TypeScript
set isSelected(value: boolean)
Swift declaration
var isSelected: Bool

A Boolean value that indicates whether the UI element is selected.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →