One Logo Pool Ball
Matter · IOS API REFERENCE

MTRBaseClusterApplicationLauncher

class · iOS 16.1+ · SDK 27.1

class MTRBaseClusterApplicationLauncher

Members (57)

static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAcceptedCommandList

TypeScript
static readAttributeAcceptedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAcceptedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeAcceptedCommandList

TypeScript
static readAttributeAcceptedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAcceptedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAttributeList

TypeScript
static readAttributeAttributeListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAttributeList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeAttributeList

TypeScript
static readAttributeAttributeListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeAttributeList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeCatalogList

TypeScript
static readAttributeCatalogListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeCatalogList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeCatalogList

TypeScript
static readAttributeCatalogListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeCatalogList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeClusterRevision

TypeScript
static readAttributeClusterRevisionWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeClusterRevision(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeClusterRevision

TypeScript
static readAttributeClusterRevisionWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeClusterRevision(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeCurrentApp

TypeScript
static readAttributeCurrentAppWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (MTRApplicationLauncherClusterApplicationEP) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeCurrentApp(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRApplicationLauncherClusterApplicationEP
static · iOS 16.4+

readAttributeCurrentApp

TypeScript
static readAttributeCurrentAppWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (MTRApplicationLauncherClusterApplicationEPStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeCurrentApp(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> MTRApplicationLauncherClusterApplicationEPStruct
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeFeatureMap

TypeScript
static readAttributeFeatureMapWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeFeatureMap(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.4+

readAttributeFeatureMap

TypeScript
static readAttributeFeatureMapWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeFeatureMap(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> NSNumber
static · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeGeneratedCommandList

TypeScript
static readAttributeGeneratedCommandListWithAttributeCacheEndpointQueueCompletionHandler(attributeCacheContainer: MTRAttributeCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeGeneratedCommandList(withAttributeCache attributeCacheContainer: MTRAttributeCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
static · iOS 16.4+

readAttributeGeneratedCommandList

TypeScript
static readAttributeGeneratedCommandListWithClusterStateCacheEndpointQueueCompletion(clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue, completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
class func readAttributeGeneratedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
method · iOS 17.4+

hideApp

TypeScript
hideAppCompletion(completion: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func hideApp() async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.4+

hideApp

TypeScript
hideAppWithCompletion(params: (MTRApplicationLauncherClusterHideAppParams) | null, completion: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func hideApp(with params: MTRApplicationLauncherClusterHideAppParams?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

hideApp

TypeScript
hideAppWithCompletionHandler(params: (MTRApplicationLauncherClusterHideAppParams) | null, completionHandler: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func hideApp(with params: MTRApplicationLauncherClusterHideAppParams?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
init · iOS 16.1+ · Deprecated in iOS 16.4

init

TypeScript
static initDeviceEndpointQueue(device: MTRBaseDevice, endpoint: number, queue: _Dispatch_DispatchQueue): (MTRBaseClusterApplicationLauncher) | null
Swift declaration
init?(device: MTRBaseDevice, endpoint: UInt16, queue: dispatch_queue_t)
init · iOS 16.4+

init

TypeScript
static initDeviceEndpointIDQueue(device: MTRBaseDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRBaseClusterApplicationLauncher) | null
Swift declaration
init?(device: MTRBaseDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 17.4+

launchApp

TypeScript
launchAppCompletion(completion: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func launchApp() async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.4+

launchApp

TypeScript
launchAppWithCompletion(params: (MTRApplicationLauncherClusterLaunchAppParams) | null, completion: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func launchApp(with params: MTRApplicationLauncherClusterLaunchAppParams?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

launchApp

TypeScript
launchAppWithCompletionHandler(params: (MTRApplicationLauncherClusterLaunchAppParams) | null, completionHandler: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func launchApp(with params: MTRApplicationLauncherClusterLaunchAppParams?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.4+

readAttributeAcceptedCommandList

TypeScript
readAttributeAcceptedCommandListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAcceptedCommandList

TypeScript
readAttributeAcceptedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeAcceptedCommandList() async throws -> [Any]
method · iOS 16.4+

readAttributeAttributeList

TypeScript
readAttributeAttributeListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeAttributeList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeAttributeList

TypeScript
readAttributeAttributeListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeAttributeList() async throws -> [Any]
method · iOS 16.4+

readAttributeCatalogList

TypeScript
readAttributeCatalogListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeCatalogList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeCatalogList

TypeScript
readAttributeCatalogListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeCatalogList() async throws -> [Any]
method · iOS 16.4+

readAttributeClusterRevision

TypeScript
readAttributeClusterRevisionCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeClusterRevision

TypeScript
readAttributeClusterRevisionCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeClusterRevision() async throws -> NSNumber
method · iOS 16.4+

readAttributeCurrentApp

TypeScript
readAttributeCurrentAppCompletion(completion: ((arg0: (MTRApplicationLauncherClusterApplicationEPStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeCurrentApp() async throws -> MTRApplicationLauncherClusterApplicationEPStruct
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeCurrentApp

TypeScript
readAttributeCurrentAppCompletionHandler(completionHandler: ((arg0: (MTRApplicationLauncherClusterApplicationEP) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeCurrentApp() async throws -> MTRApplicationLauncherClusterApplicationEP
method · iOS 16.4+

readAttributeFeatureMap

TypeScript
readAttributeFeatureMapCompletion(completion: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeFeatureMap

TypeScript
readAttributeFeatureMapCompletionHandler(completionHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeFeatureMap() async throws -> NSNumber
method · iOS 16.4+

readAttributeGeneratedCommandList

TypeScript
readAttributeGeneratedCommandListCompletion(completion: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 16.1+ · Deprecated in iOS 16.4

readAttributeGeneratedCommandList

TypeScript
readAttributeGeneratedCommandListCompletionHandler(completionHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func readAttributeGeneratedCommandList() async throws -> [Any]
method · iOS 17.4+

stopApp

TypeScript
stopAppCompletion(completion: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func stopApp() async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.4+

stopApp

TypeScript
stopAppWithCompletion(params: (MTRApplicationLauncherClusterStopAppParams) | null, completion: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func stopApp(with params: MTRApplicationLauncherClusterStopAppParams?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

stopApp

TypeScript
stopAppWithCompletionHandler(params: (MTRApplicationLauncherClusterStopAppParams) | null, completionHandler: ((arg0: (MTRApplicationLauncherClusterLauncherResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func stopApp(with params: MTRApplicationLauncherClusterStopAppParams?) async throws -> MTRApplicationLauncherClusterLauncherResponseParams
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeAcceptedCommandList

TypeScript
subscribeAttributeAcceptedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeAcceptedCommandList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeAcceptedCommandList

TypeScript
subscribeAttributeAcceptedCommandListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeAcceptedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeAttributeList

TypeScript
subscribeAttributeAttributeListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeAttributeList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeAttributeList

TypeScript
subscribeAttributeAttributeListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeAttributeList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeCatalogList

TypeScript
subscribeAttributeCatalogListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeCatalogList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeCatalogList

TypeScript
subscribeAttributeCatalogListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeCatalogList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeClusterRevision

TypeScript
subscribeAttributeClusterRevisionWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeClusterRevision(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeClusterRevision

TypeScript
subscribeAttributeClusterRevisionWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeClusterRevision(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeCurrentApp

TypeScript
subscribeAttributeCurrentAppWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (MTRApplicationLauncherClusterApplicationEP) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeCurrentApp(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRApplicationLauncherClusterApplicationEP?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeCurrentApp

TypeScript
subscribeAttributeCurrentAppWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (MTRApplicationLauncherClusterApplicationEPStruct) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeCurrentApp(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (MTRApplicationLauncherClusterApplicationEPStruct?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeFeatureMap

TypeScript
subscribeAttributeFeatureMapWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeFeatureMap(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeFeatureMap

TypeScript
subscribeAttributeFeatureMapWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (_Foundation_NSNumber) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeFeatureMap(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping (NSNumber?, (any Error)?) -> Void)
method · iOS 16.1+ · Deprecated in iOS 16.4

subscribeAttributeGeneratedCommandList

TypeScript
subscribeAttributeGeneratedCommandListWithMinIntervalMaxIntervalParamsSubscriptionEstablishedReportHandler(minInterval: _Foundation_NSNumber, maxInterval: _Foundation_NSNumber, params: (MTRSubscribeParams) | null, subscriptionEstablishedHandler: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeGeneratedCommandList(withMinInterval minInterval: NSNumber, maxInterval: NSNumber, params: MTRSubscribeParams?, subscriptionEstablished subscriptionEstablishedHandler: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

subscribeAttributeGeneratedCommandList

TypeScript
subscribeAttributeGeneratedCommandListWithSubscriptionEstablishedReportHandler(params: MTRSubscribeParams, subscriptionEstablished: ((() => void)) | null, reportHandler: ((arg0: (Array<unknown>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func subscribeAttributeGeneratedCommandList(with params: MTRSubscribeParams, subscriptionEstablished: MTRSubscriptionEstablishedHandler?, reportHandler: @escaping ([Any]?, (any Error)?) -> Void)
method · iOS 16.4+

writeAttributeCurrentApp

TypeScript
writeAttributeCurrentAppWithValueCompletion(value: (MTRApplicationLauncherClusterApplicationEPStruct) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeCurrentApp(withValue value: MTRApplicationLauncherClusterApplicationEPStruct?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeCurrentApp

TypeScript
writeAttributeCurrentAppWithValueCompletionHandler(value: (MTRApplicationLauncherClusterApplicationEP) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeCurrentApp(withValue value: MTRApplicationLauncherClusterApplicationEP?) async throws
method · iOS 16.4+

writeAttributeCurrentApp

TypeScript
writeAttributeCurrentAppWithValueParamsCompletion(value: (MTRApplicationLauncherClusterApplicationEPStruct) | null, params: (MTRWriteParams) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeCurrentApp(withValue value: MTRApplicationLauncherClusterApplicationEPStruct?, params: MTRWriteParams?) async throws
method · iOS 16.1+ · Deprecated in iOS 16.4

writeAttributeCurrentApp

TypeScript
writeAttributeCurrentAppWithValueParamsCompletionHandler(value: (MTRApplicationLauncherClusterApplicationEP) | null, params: (MTRWriteParams) | null, completionHandler: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func writeAttributeCurrentApp(withValue value: MTRApplicationLauncherClusterApplicationEP?, params: MTRWriteParams?) async throws

Skipped declarations

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

MTRBaseClusterApplicationLauncher.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All Matter types →