enum MatterSuggestedUserAction
extension MatterSuggestedUserAction : CaseIterable, Equatable, Hashable, RawRepresentable, Sendable
Suggested user actions to potentially resolve a commissioning failure.
-
Check if an hub is present and online. The presence of an hub is required for commissioning. It serves as both the Google fabric handler and, if necessary, thread boarder router.
Declaration
Swift
case checkHubAvailability
-
Check if the phone is connected to the same wifi network as the hub.
Declaration
Swift
case checkWifiNetwork
-
Check if the device available, e.g. make sure it is turned on or plugged in.
Declaration
Swift
case checkDeviceAvailability
-
Factory reset the device being commissioned.
Declaration
Swift
case factoryResetDevice
-
Try again later without.
Declaration
Swift
case tryAgainLater
-
Undocumented
Declaration
Swift
static let defaultActions: [MatterSuggestedUserAction]
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: String)
Parameters
rawValue
The raw value to use for the new instance.