Matter · IOS API REFERENCE
MTRClusterActions
class · iOS 16.1+ · SDK 27.1
class MTRClusterActions
Members (34)
method · iOS 16.4+disableActionWithDuration
TypeScriptdisableActionWithDurationWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterDisableActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc disableActionWithDuration(with params: MTRActionsClusterDisableActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4disableActionWithDuration
TypeScriptdisableActionWithDurationWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterDisableActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc disableActionWithDuration(with params: MTRActionsClusterDisableActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+disableAction
TypeScriptdisableActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterDisableActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc disableAction(with params: MTRActionsClusterDisableActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4disableAction
TypeScriptdisableActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterDisableActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc disableAction(with params: MTRActionsClusterDisableActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+enableActionWithDuration
TypeScriptenableActionWithDurationWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterEnableActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc enableActionWithDuration(with params: MTRActionsClusterEnableActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4enableActionWithDuration
TypeScriptenableActionWithDurationWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterEnableActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc enableActionWithDuration(with params: MTRActionsClusterEnableActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+enableAction
TypeScriptenableActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterEnableActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc enableAction(with params: MTRActionsClusterEnableActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4enableAction
TypeScriptenableActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterEnableActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc enableAction(with params: MTRActionsClusterEnableActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic initDeviceEndpointQueue(device: MTRDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRClusterActions) | null
Swift declarationinit?(device: MTRDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+init
TypeScriptstatic initDeviceEndpointIDQueue(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterActions) | null
Swift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.4+instantAction
TypeScriptinstantActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterInstantActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc instantAction(with params: MTRActionsClusterInstantActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4instantAction
TypeScriptinstantActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterInstantActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc instantAction(with params: MTRActionsClusterInstantActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+instantActionWithTransition
TypeScriptinstantActionWithTransitionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterInstantActionWithTransitionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc instantActionWithTransition(with params: MTRActionsClusterInstantActionWithTransitionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4instantActionWithTransition
TypeScriptinstantActionWithTransitionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterInstantActionWithTransitionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc instantActionWithTransition(with params: MTRActionsClusterInstantActionWithTransitionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+pauseActionWithDuration
TypeScriptpauseActionWithDurationWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterPauseActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc pauseActionWithDuration(with params: MTRActionsClusterPauseActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4pauseActionWithDuration
TypeScriptpauseActionWithDurationWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterPauseActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc pauseActionWithDuration(with params: MTRActionsClusterPauseActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+pauseAction
TypeScriptpauseActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterPauseActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc pauseAction(with params: MTRActionsClusterPauseActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4pauseAction
TypeScriptpauseActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterPauseActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc pauseAction(with params: MTRActionsClusterPauseActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeActionList
TypeScriptreadAttributeActionList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeActionList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeAttributeList
TypeScriptreadAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeClusterRevision
TypeScriptreadAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeEndpointLists
TypeScriptreadAttributeEndpointLists(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeEndpointLists(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeFeatureMap
TypeScriptreadAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.1+readAttributeSetupURL
TypeScriptreadAttributeSetupURL(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeSetupURL(with params: MTRReadParams?) -> [String : Any]?
method · iOS 16.4+resumeAction
TypeScriptresumeActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterResumeActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc resumeAction(with params: MTRActionsClusterResumeActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4resumeAction
TypeScriptresumeActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterResumeActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc resumeAction(with params: MTRActionsClusterResumeActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+startActionWithDuration
TypeScriptstartActionWithDurationWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterStartActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc startActionWithDuration(with params: MTRActionsClusterStartActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4startActionWithDuration
TypeScriptstartActionWithDurationWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterStartActionWithDurationParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc startActionWithDuration(with params: MTRActionsClusterStartActionWithDurationParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+startAction
TypeScriptstartActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterStartActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc startAction(with params: MTRActionsClusterStartActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4startAction
TypeScriptstartActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterStartActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc startAction(with params: MTRActionsClusterStartActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.4+stopAction
TypeScriptstopActionWithExpectedValuesExpectedValueIntervalCompletion(params: MTRActionsClusterStopActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc stopAction(with params: MTRActionsClusterStopActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4stopAction
TypeScriptstopActionWithExpectedValuesExpectedValueIntervalCompletionHandler(params: MTRActionsClusterStopActionParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc stopAction(with params: MTRActionsClusterStopActionParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRClusterActions.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Matter types →