NetworkControl
public protocol NetworkControl : Peripheral
Network peripheral interface.
This peripheral can be retrieved by:
device.getPeripheral(Peripherals.networkControl)
-
Network routing policy setting.
Declaration
Swift
var routingPolicy: NetworkControlRoutingSetting { get }
-
Links details.
Declaration
Swift
var links: [NetworkControlLinkInfo] { get }
-
Current link,
nil
ifroutingPolicy.policy
isbroadcast
or if unavailable.Declaration
Swift
var currentLink: NetworkControlLinkType? { get }
-
Global link quality, in range [0, 4].
0
for lowest quality and4
for highest quality.Declaration
Swift
var linkQuality: Int? { get }
-
Maximum cellular bitrate, in kilobits per second.
Declaration
Swift
var maxCellularBitrate: IntSetting { get }
-
Direct connection mode setting.
Declaration
Swift
var directConnection: NetworkDirectConnectionSetting { get }