One Logo Pool Ball
MatterSupport · IOS API REFERENCE

MatterAddDeviceRequest.Topology

struct · iOS 16.1+ · SDK 27.1

struct Topology

Information describing the properties of the ecosystem. The topology of a fabric consists of its homes, rooms, and devices. The number of homes included in this class determines whether the setup presents a home selection step. If there are two or more homes, the user selects one home to add the device to.

Members (5)

init · iOS 16.1+

init

TypeScript
static init(ecosystemName: string, homes: Array<MatterAddDeviceRequest_Home>): MatterAddDeviceRequest_Topology
Swift declaration
init(ecosystemName: String, homes: [MatterAddDeviceRequest.Home])

Creates the topology. - Parameters: - ecosystemName: The name of your ecosystem. This is a localized string that appears during device setup. - homes: An array of available homes to add the new device into.

get · iOS 16.1+

ecosystemName

TypeScript
get ecosystemName(): string
Swift declaration
var ecosystemName: String

The name of your ecosystem. This is a localized string that appears during device setup.

set · iOS 16.1+

ecosystemName

TypeScript
set ecosystemName(value: string)
Swift declaration
var ecosystemName: String

The name of your ecosystem. This is a localized string that appears during device setup.

get · iOS 16.1+

homes

TypeScript
get homes(): Array<MatterAddDeviceRequest_Home>
Swift declaration
var homes: [MatterAddDeviceRequest.Home]

An array of available homes to add the new device into.

set · iOS 16.1+

homes

TypeScript
set homes(value: Array<MatterAddDeviceRequest_Home>)
Swift declaration
var homes: [MatterAddDeviceRequest.Home]

An array of available homes to add the new device into.

Skipped declarations

No declarations were skipped in this snapshot.

All MatterSupport types →