One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMActionSet

class · iOS 8.0+ · SDK 27.1

class HMActionSet

Members (9)

method · iOS 8.0+

addAction

TypeScript
addAction(action: HMAction, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func addAction(_ action: HMAction) async throws
method · iOS 8.0+

removeAction

TypeScript
removeAction(action: HMAction, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func removeAction(_ action: HMAction) async throws
method · iOS 8.0+

updateName

TypeScript
updateName(name: string, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func updateName(_ name: String) async throws
get · iOS 9.0+

actionSetType

TypeScript
get actionSetType(): string
Swift declaration
var actionSetType: String { get }
get · iOS 8.0+

actions

TypeScript
get actions(): Array<HMAction>
Swift declaration
var actions: Set<HMAction> { get }
get · iOS 8.0+

isExecuting

TypeScript
get isExecuting(): boolean
Swift declaration
var isExecuting: Bool { get }
get · iOS 10.0+

lastExecutionDate

TypeScript
get lastExecutionDate(): (globalThis.Date) | null
Swift declaration
var lastExecutionDate: Date? { get }
get · iOS 8.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get }
get · iOS 9.0+

uniqueIdentifier

TypeScript
get uniqueIdentifier(): string
Swift declaration
var uniqueIdentifier: UUID { get }

Skipped declarations

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

HMActionSet.init()

inherited init: clang: 'init' is unavailable

All HomeKit types →