This PR contains the work done to update the library and the attached example project to use the Swift 6.4 computer as a minimum supported version and also, to use the latest features introduced in it. Reviewed-on: #1 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
10 lines
301 B
Swift
10 lines
301 B
Swift
extension Network {
|
|
/// The device's wifi status. Wraps `WifiStatus`.
|
|
public enum WifiStatus: UInt32, Sendable {
|
|
case notConnected = 0
|
|
case connected = 1
|
|
/// A connection was attempted but no configured access point was available.
|
|
case notAvailable = 2
|
|
}
|
|
}
|