Package-level declarations

Types

Link copied to clipboard

An exception that is thrown when the SoftAp manager fails to bind to the connected SoftAP network.

Link copied to clipboard
data class HostNameConfiguration(val serviceName: String = "wifiprov", val hostName: String = "https://wifiprov.local/", val certificate: String = CERTIFICATE)

Host name configuration contains the hostname of the SoftAP provisioning service.

Link copied to clipboard

NetworkServiceDiscoveryListener that would listen to the network service discovery events.

Link copied to clipboard

An exception that is thrown when the SoftAp manager loses connectivity from the SoftAP.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class SoftAp(val ssid: String, val passphraseConfiguration: PassphraseConfiguration)

WifiDevice class represents a Wi-Fi network that the device should connect to.

Link copied to clipboard
sealed class SoftApException : Exception

An exception that is thrown when the SoftAP provisioning fails.

Link copied to clipboard
class SoftApManager(context: Context, hostNameConfiguration: HostNameConfiguration = HostNameConfiguration())

Entry point to the SoftApManager.

Link copied to clipboard

Created by Roshan Rajaratnam on 19/02/2024.

Link copied to clipboard

An exception that is thrown when the SoftAp manager fails to connect to the SoftAP network.

Link copied to clipboard

An exception that is thrown when the WiFi is not enabled.

Link copied to clipboard
data class Wpa2Passphrase(val passphrase: String) : PassphraseConfiguration
Link copied to clipboard
data class Wpa3Passphrase(val passphrase: String) : PassphraseConfiguration