ConnectWifiLauncherResult

data class ConnectWifiLauncherResult(val hotspotConfig: WifiConnectConfig?, val exception: Exception? = null, val isWifiConnected: Boolean = false)

Result of a Wi-Fi connection attempt.

Constructors

Link copied to clipboard
constructor(hotspotConfig: WifiConnectConfig?, exception: Exception? = null, isWifiConnected: Boolean = false)

Properties

Link copied to clipboard

Any exception that occurred during connection, or null if successful.

Link copied to clipboard
val hotspotConfig: WifiConnectConfig?

The configuration of the hotspot connected to, or null if failed.

Link copied to clipboard

True if the connection was successful, false otherwise.