SPNetwork
public class SPNetwork : NSObject
Object representing a wireless network
-
SSID (name) of the network
Declaration
Swift
public var ssid: String -
Signal strength of the network (RSSI)
Declaration
Swift
public var rssi: Int -
Boolean indicating whether the network is password-protected or not
Declaration
Swift
public var requiresPassword: Bool -
SPNetwork Initializer
Declaration
Swift
public init(ssid: String, rssi: Int, requiresPassword: Bool)Parameters
ssidSSID (name) of the network
rssiSignal strength of the network (RSSI)
requiresPasswordBoolean indicating whether the network is password-protected or not
SPNetwork Class Reference