Contents

addNetwork(with:completion:)

Command AddNetwork

Declaration

func addNetwork(with params: MTRThreadNetworkDirectoryClusterAddNetworkParams, completion: @escaping  @Sendable ((any Error)?) -> Void)
func addNetwork(with params: MTRThreadNetworkDirectoryClusterAddNetworkParams) async throws

Discussion

Adds an entry to the ThreadNetworks attribute with the specified Thread Operational Dataset.