public enum CommissioningStyle
- Object
- Enum<CommissioningStyle>
- CommissioningStyle
ImplementsComparable<CommissioningStyle>
Enum constants
OS_OWNED_UI | The operating system runs the whole flow in its own UI, over your app. |
ECOSYSTEM_APP_HANDOFF | Your app cannot do it, but it can send the user to the ecosystem app that can. |
NONE | Not 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_UIThe 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_HANDOFFYour 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
NONEMethod details
values
public static CommissioningStyle[] values()valueOf
public static CommissioningStyle valueOf(String name)