WifiStationSecuritySetting

public protocol WifiStationSecuritySetting : AnyObject

Setting providing access to the Wifi station security setup.

  • Tells if the setting value has been changed and is waiting for change confirmation.

    Declaration

    Swift

    var updating: Bool { get }
  • Supported security modes.

    Declaration

    Swift

    var supportedModes: Set<SecurityMode> { get }
  • Current wifi station security mode.

    Declaration

    Swift

    var mode: SecurityMode { get }
  • Sets the security mode to .open.

    Note

    this function does nothing if the .open mode is not supported (see supportedModes).

    Declaration

    Swift

    func open()
  • Sets the security mode, using the given password to authenticate.

    Note

    this function does nothing if the mode is .open or is not supported (see supportedModes).

    Declaration

    Swift

    func secure(with mode: SecurityMode, password: String)

    Parameters

    mode

    security mode to set

    password

    access point password