Matter · IOS API REFERENCE
MTRClusterThreadNetworkDirectory
class · iOS 18.4+ · SDK 27.1
class MTRClusterThreadNetworkDirectory
Members (14)
method · iOS 18.4+addNetwork
TypeScriptaddNetwork(params: MTRThreadNetworkDirectoryClusterAddNetworkParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc addNetwork(with params: MTRThreadNetworkDirectoryClusterAddNetworkParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 18.4+getOperationalDataset
TypeScriptgetOperationalDataset(params: MTRThreadNetworkDirectoryClusterGetOperationalDatasetParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRThreadNetworkDirectoryClusterOperationalDatasetResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declarationfunc operationalDataset(with params: MTRThreadNetworkDirectoryClusterGetOperationalDatasetParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRThreadNetworkDirectoryClusterOperationalDatasetResponseParams
init · iOS 18.4+init
TypeScriptstatic init(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterThreadNetworkDirectory) | null
Swift declarationinit?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 18.4+readAttributeAcceptedCommandList
TypeScriptreadAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributeAttributeList
TypeScriptreadAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributeClusterRevision
TypeScriptreadAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributeFeatureMap
TypeScriptreadAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributeGeneratedCommandList
TypeScriptreadAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributePreferredExtendedPanID
TypeScriptreadAttributePreferredExtendedPanID(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributePreferredExtendedPanID(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributeThreadNetworkTableSize
TypeScriptreadAttributeThreadNetworkTableSize(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeThreadNetworkTableSize(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+readAttributeThreadNetworks
TypeScriptreadAttributeThreadNetworks(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declarationfunc readAttributeThreadNetworks(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+removeNetwork
TypeScriptremoveNetwork(params: MTRThreadNetworkDirectoryClusterRemoveNetworkParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declarationfunc removeNetwork(with params: MTRThreadNetworkDirectoryClusterRemoveNetworkParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 18.4+writeAttributePreferredExtendedPanID
TypeScriptwriteAttributePreferredExtendedPanIDWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declarationfunc writeAttributePreferredExtendedPanID(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 18.4+writeAttributePreferredExtendedPanID
TypeScriptwriteAttributePreferredExtendedPanIDWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declarationfunc writeAttributePreferredExtendedPanID(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber, params: MTRWriteParams?)
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTRClusterThreadNetworkDirectory.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All Matter types →