CBLHotspotConfiguration

Objective-C

@protocol CBLHotspotConfiguration <NSObject>

Swift

protocol HotspotConfiguration : NSObjectProtocol, Sendable

An object describing a connected-to WiFi network.

  • The network’s SSID.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *ssid;

    Swift

    var ssid: String { get }
  • The network’s interface (i.e., en0).

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nonnull) NSString *interface;

    Swift

    var interface: String { get }
  • Signal that the WiFi network should be disconnected.

    Declaration

    Objective-C

    - (void)disconnect;

    Swift

    func disconnect()