removeNetwork(with:completion:)
Command RemoveNetwork
Declaration
func removeNetwork(with params: MTRThreadNetworkDirectoryClusterRemoveNetworkParams, completion: @escaping @Sendable ((any Error)?) -> Void)func removeNetwork(with params: MTRThreadNetworkDirectoryClusterRemoveNetworkParams) async throwsDiscussion
Removes the network with the given Extended PAN ID from the ThreadNetworks attribute.