Matter · IOS API REFERENCE
MTRBaseClusterGroups
class · iOS 16.1+ · SDK 27.1
class MTRBaseClusterGroups
Members (52)
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAcceptedCommandList
TypeScriptstatic readAttributeAcceptedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAcceptedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeAcceptedCommandList
TypeScriptstatic readAttributeAcceptedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAcceptedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAttributeList
TypeScriptstatic readAttributeAttributeListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAttributeList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeAttributeList
TypeScriptstatic readAttributeAttributeListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeAttributeList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeClusterRevision
TypeScriptstatic readAttributeClusterRevisionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeClusterRevision(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeClusterRevision
TypeScriptstatic readAttributeClusterRevisionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeClusterRevision(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeFeatureMap
TypeScriptstatic readAttributeFeatureMapWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeFeatureMap(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeFeatureMap
TypeScriptstatic readAttributeFeatureMapWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeFeatureMap(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeGeneratedCommandList
TypeScriptstatic readAttributeGeneratedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeGeneratedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+readAttributeGeneratedCommandList
TypeScriptstatic readAttributeGeneratedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeGeneratedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4readAttributeNameSupport
TypeScriptstatic readAttributeNameSupportWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeNameSupport(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+readAttributeNameSupport
TypeScriptstatic readAttributeNameSupportWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationclass func readAttributeNameSupport(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
method · iOS 16.4+addGroupIfIdentifying
TypeScriptaddGroupIfIdentifyingWithCompletion(params: MTRGroupsClusterAddGroupIfIdentifyingParams, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc addGroupIfIdentifying(with params: MTRGroupsClusterAddGroupIfIdentifyingParams) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4addGroupIfIdentifying
TypeScriptaddGroupIfIdentifyingWithCompletionHandler(params: MTRGroupsClusterAddGroupIfIdentifyingParams, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc addGroupIfIdentifying(with params: MTRGroupsClusterAddGroupIfIdentifyingParams) async throws
method · iOS 16.4+addGroup
TypeScriptaddGroupWithCompletion(params: MTRGroupsClusterAddGroupParams, completion: ((arg0: (MTRGroupsClusterAddGroupResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc addGroup(with params: MTRGroupsClusterAddGroupParams) async throws -> MTRGroupsClusterAddGroupResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4addGroup
TypeScriptaddGroupWithCompletionHandler(params: MTRGroupsClusterAddGroupParams, completionHandler: ((arg0: (MTRGroupsClusterAddGroupResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc addGroup(with params: MTRGroupsClusterAddGroupParams) async throws -> MTRGroupsClusterAddGroupResponseParams
method · iOS 16.4+getGroupMembership
TypeScriptgetGroupMembershipWithCompletion(params: MTRGroupsClusterGetGroupMembershipParams, completion: ((arg0: (MTRGroupsClusterGetGroupMembershipResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc groupMembership(with params: MTRGroupsClusterGetGroupMembershipParams) async throws -> MTRGroupsClusterGetGroupMembershipResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4getGroupMembership
TypeScriptgetGroupMembershipWithCompletionHandler(params: MTRGroupsClusterGetGroupMembershipParams, completionHandler: ((arg0: (MTRGroupsClusterGetGroupMembershipResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc groupMembership(with params: MTRGroupsClusterGetGroupMembershipParams) async throws -> MTRGroupsClusterGetGroupMembershipResponseParams
init · iOS 16.1+ · Deprecated in iOS 16.4init
TypeScriptstatic initDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterGroups) | null
Swift declarationinit?(device: MTRBaseDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+init
TypeScriptstatic initDeviceEndpointIDQueue(device: MTRBaseDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRBaseClusterGroups) | null
Swift declarationinit?(device: MTRBaseDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 16.4+readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.4+readAttributeAttributeList
TypeScriptreadAttributeAttributeListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAttributeList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeAttributeList
TypeScriptreadAttributeAttributeListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeAttributeList() async throws -> [Any]
method · iOS 16.4+readAttributeClusterRevision
TypeScriptreadAttributeClusterRevisionCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeClusterRevision
TypeScriptreadAttributeClusterRevisionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.4+readAttributeFeatureMap
TypeScriptreadAttributeFeatureMapCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeFeatureMap
TypeScriptreadAttributeFeatureMapCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.4+readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 16.4+readAttributeNameSupport
TypeScriptreadAttributeNameSupportCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeNameSupport() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4readAttributeNameSupport
TypeScriptreadAttributeNameSupportCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc readAttributeNameSupport() async throws -> NSNumber
method · iOS 16.4+removeAllGroups
TypeScriptremoveAllGroupsCompletion(completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc removeAllGroups() async throws
method · iOS 16.1+ · Deprecated in iOS 16.4removeAllGroups
TypeScriptremoveAllGroupsCompletionHandler(completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc removeAllGroups() async throws
method · iOS 16.4+removeAllGroups
TypeScriptremoveAllGroupsWithCompletion(params: (MTRGroupsClusterRemoveAllGroupsParams) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc removeAllGroups(with params: MTRGroupsClusterRemoveAllGroupsParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4removeAllGroups
TypeScriptremoveAllGroupsWithCompletionHandler(params: (MTRGroupsClusterRemoveAllGroupsParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc removeAllGroups(with params: MTRGroupsClusterRemoveAllGroupsParams?) async throws
method · iOS 16.4+removeGroup
TypeScriptremoveGroupWithCompletion(params: MTRGroupsClusterRemoveGroupParams, completion: ((arg0: (MTRGroupsClusterRemoveGroupResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc removeGroup(with params: MTRGroupsClusterRemoveGroupParams) async throws -> MTRGroupsClusterRemoveGroupResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4removeGroup
TypeScriptremoveGroupWithCompletionHandler(params: MTRGroupsClusterRemoveGroupParams, completionHandler: ((arg0: (MTRGroupsClusterRemoveGroupResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc removeGroup(with params: MTRGroupsClusterRemoveGroupParams) async throws -> MTRGroupsClusterRemoveGroupResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeAcceptedCommandList
TypeScriptsubscribeAttributeAcceptedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAcceptedCommandList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeAcceptedCommandList
TypeScriptsubscribeAttributeAcceptedCommandListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAcceptedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeAttributeList
TypeScriptsubscribeAttributeAttributeListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAttributeList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeAttributeList
TypeScriptsubscribeAttributeAttributeListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeAttributeList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeClusterRevision
TypeScriptsubscribeAttributeClusterRevisionWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeClusterRevision(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeClusterRevision
TypeScriptsubscribeAttributeClusterRevisionWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeClusterRevision(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeFeatureMap
TypeScriptsubscribeAttributeFeatureMapWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeFeatureMap(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeFeatureMap
TypeScriptsubscribeAttributeFeatureMapWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeFeatureMap(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeGeneratedCommandList
TypeScriptsubscribeAttributeGeneratedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeGeneratedCommandList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeGeneratedCommandList
TypeScriptsubscribeAttributeGeneratedCommandListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeGeneratedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4subscribeAttributeNameSupport
TypeScriptsubscribeAttributeNameSupportWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeNameSupport(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+subscribeAttributeNameSupport
TypeScriptsubscribeAttributeNameSupportWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc subscribeAttributeNameSupport(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+viewGroup
TypeScriptviewGroupWithCompletion(params: MTRGroupsClusterViewGroupParams, completion: ((arg0: (MTRGroupsClusterViewGroupResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc viewGroup(with params: MTRGroupsClusterViewGroupParams) async throws -> MTRGroupsClusterViewGroupResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4viewGroup
TypeScriptviewGroupWithCompletionHandler(params: MTRGroupsClusterViewGroupParams, completionHandler: ((arg0: (MTRGroupsClusterViewGroupResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc viewGroup(with params: MTRGroupsClusterViewGroupParams) async throws -> MTRGroupsClusterViewGroupResponseParams
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRBaseClusterGroups.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Matter types →