Contents

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 -> MTRServiceAreaClusterSelectAreasResponseParams

Discussion

This command is used to select a set of device areas, where the device is to operate.