Contents

init(topology:setupPayload:showing:shouldScanNetworks:)

Create the request with an optional network scan.

Declaration

init(topology: MatterAddDeviceRequest.Topology, setupPayload: MTRSetupPayload? = nil, showing deviceCriteria: MatterAddDeviceRequest.DeviceCriteria = .allDevices, shouldScanNetworks: Bool = true)

Parameters

  • topology:

    The topology of the home.

  • setupPayload:

    The setup payload.

  • shouldScanNetworks:

    A flag that determines whether to request a network scan.

See Also

Creating the request