public enum CommissioningStyle

  1. Object
  2. Enum<CommissioningStyle>
  3. CommissioningStyle

ImplementsComparable<CommissioningStyle>

How a backend adds a new accessory, so an app can word its own button honestly.

Enum constants

OS_OWNED_UIThe operating system runs the whole flow in its own UI, over your app.
ECOSYSTEM_APP_HANDOFFYour app cannot do it, but it can send the user to the ecosystem app that can.
NONENot possible from this platform at all – watchOS, tvOS, macOS, or an Android device with no Play services.

Methods

public static CommissioningStyle[] values()
public static CommissioningStyle valueOf(String name)

Inherited methods

Enum constant details

OS_OWNED_UI

OS_OWNED_UI

The operating system runs the whole flow in its own UI, over your app.

What both mobile backends do: iOS presents the MatterSupport add-device sheet, Android presents the Play services commissioning activity. Your app hands over a setup payload and a preference for where the accessory should land, and gets a single result when the user is finished.

There is no progress reporting inside it, and the user can take a long time – they may have to unscrew a fitting. Do not put a spinner with a short timeout behind this.

ECOSYSTEM_APP_HANDOFF

ECOSYSTEM_APP_HANDOFF

Your app cannot do it, but it can send the user to the ecosystem app that can.

Commissioner.openEcosystemApp() is the whole capability here.

An iOS build that commissions onto a fabric of its own answers this on iOS 16.1 through 16.3: Apple’s Matter framework starts at 16.4, so the generated extension is built for 16.4 and those releases cannot load it. The app itself still runs, and hands off.

NONE

NONE
Not possible from this platform at all – watchOS, tvOS, macOS, or an Android device with no Play services.

Method details

values

public static CommissioningStyle[] values()

valueOf

public static CommissioningStyle valueOf(String name)