ScanAction
public enum ScanAction
Indicates whether a scan should continue, continue but blacklist the current discovery, stop, or stop and connect.
-
Continue scanning.
Declaration
Swift
case `continue`
-
Continue scanning, but don’t discover the same peripheral in the current callback again within the same scan session.
Declaration
Swift
case blacklist
-
Stop scanning.
Declaration
Swift
case stop
-
Stop scanning, and connect to a discovery.
Declaration
Swift
case connect(ScanDiscovery, Timeout, WarningOptions, (ConnectionResult) -> Void)