selectAreas(with:completion:)
Command SelectAreas
Declaration
func selectAreas(with params: MTRServiceAreaClusterSelectAreasParams, completion: @escaping @Sendable (MTRServiceAreaClusterSelectAreasResponseParams?, (any Error)?) -> Void)func selectAreas(with params: MTRServiceAreaClusterSelectAreasParams) async throws -> MTRServiceAreaClusterSelectAreasResponseParamsDiscussion
This command is used to select a set of device areas, where the device is to operate.