Instance Method

interfaceMode()

The current mode for the interface.

Declaration

func interfaceMode() -> CWInterfaceMode

Discussion

Dynamically queries the interface for the current mode. Returns kCWInterfaceModeNone in the case of an error, or if the interface is not participating in a network.