GSWifiChannelInfo

@objcMembers
public class GSWifiChannelInfo : NSObject

Helper class to retrieve the band and channel identifier from a wifi channel.

Note

This class should only be used on Objective-C. In Swift, use WifiChannel.getChannelId() and WifiChannel.getBand()
  • Retrieves the frequency band where this channel operates.

    Declaration

    Swift

    public static func getBand(fromWifiChannel wifiChannel: WifiChannel) -> Band

    Parameters

    wifiChannel

    the wifi channel from which to get the band

    Return Value

    the channel frequency band

  • Retrieves the channel identifier.

    Declaration

    Swift

    public static func getChannelId(fromWifiChannel wifiChannel: WifiChannel) -> Int

    Parameters

    wifiChannel

    the wifi channel from which to get the channel identifier

    Return Value

    the channel identifier