One Logo Pool Ball
Matter · IOS API REFERENCE

MTRClusterThreadNetworkDirectory

class · iOS 18.4+ · SDK 27.1

class MTRClusterThreadNetworkDirectory

Members (14)

method · iOS 18.4+

addNetwork

TypeScript
addNetwork(params: MTRThreadNetworkDirectoryClusterAddNetworkParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func addNetwork(with params: MTRThreadNetworkDirectoryClusterAddNetworkParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 18.4+

getOperationalDataset

TypeScript
getOperationalDataset(params: MTRThreadNetworkDirectoryClusterGetOperationalDatasetParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (MTRThreadNetworkDirectoryClusterOperationalDatasetResponseParams) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func operationalDataset(with params: MTRThreadNetworkDirectoryClusterGetOperationalDatasetParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTRThreadNetworkDirectoryClusterOperationalDatasetResponseParams
init · iOS 18.4+

init

TypeScript
static init(device: MTRDevice, endpointID: _Foundation_NSNumber, queue: _Dispatch_DispatchQueue): (MTRClusterThreadNetworkDirectory) | null
Swift declaration
init?(device: MTRDevice, endpointID: NSNumber, queue: dispatch_queue_t)
method · iOS 18.4+

readAttributeAcceptedCommandList

TypeScript
readAttributeAcceptedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeAcceptedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeAttributeList

TypeScript
readAttributeAttributeList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeAttributeList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeClusterRevision

TypeScript
readAttributeClusterRevision(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeClusterRevision(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeFeatureMap

TypeScript
readAttributeFeatureMap(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeFeatureMap(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeGeneratedCommandList

TypeScript
readAttributeGeneratedCommandList(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeGeneratedCommandList(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributePreferredExtendedPanID

TypeScript
readAttributePreferredExtendedPanID(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributePreferredExtendedPanID(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeThreadNetworkTableSize

TypeScript
readAttributeThreadNetworkTableSize(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeThreadNetworkTableSize(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

readAttributeThreadNetworks

TypeScript
readAttributeThreadNetworks(params?: (MTRReadParams) | null): (Record<string, unknown>) | null
Swift declaration
func readAttributeThreadNetworks(with params: MTRReadParams?) -> [String : Any]?
method · iOS 18.4+

removeNetwork

TypeScript
removeNetwork(params: MTRThreadNetworkDirectoryClusterRemoveNetworkParams, expectedDataValueDictionaries: (Array<Record<string, unknown>>) | null, expectedValueIntervalMs: (_Foundation_NSNumber) | null, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func removeNetwork(with params: MTRThreadNetworkDirectoryClusterRemoveNetworkParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
method · iOS 18.4+

writeAttributePreferredExtendedPanID

TypeScript
writeAttributePreferredExtendedPanIDWithValueExpectedValueInterval(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber): void
Swift declaration
func writeAttributePreferredExtendedPanID(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
method · iOS 18.4+

writeAttributePreferredExtendedPanID

TypeScript
writeAttributePreferredExtendedPanIDWithValueExpectedValueIntervalParams(dataValueDictionary: Record<string, unknown>, expectedValueIntervalMs: _Foundation_NSNumber, params?: (MTRWriteParams) | null): void
Swift declaration
func 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 →