WpsCallback
abstract classWpsCallback
kotlin.Any | |
↳ | android.net.wifi.WifiManager.WpsCallback |
Interface for callback invocation on a start WPS action
Summary
Public constructors | |
---|---|
Public methods | |
---|---|
abstract Unit |
WPS operation failed |
abstract Unit |
WPS start succeeded |
abstract Unit |
WPS operation completed successfully |
Public constructors
Public methods
onFailed
Added in API level 21
abstract funonFailed(reason: Int): Unit
Deprecated: This API is deprecated
WPS operation failed
Parameters | |
---|---|
reason |
Int: The reason for failure could be one of WPS_TKIP_ONLY_PROHIBITED , WPS_OVERLAP_ERROR , WPS_WEP_PROHIBITED , WPS_TIMED_OUT or WPS_AUTH_FAILURE and some generic errors. |
onStarted
Added in API level 21
abstract funonStarted(pin: String!): Unit
Deprecated: This API is deprecated
WPS start succeeded
onSucceeded
Added in API level 21
abstract funonSucceeded(): Unit
Deprecated: This API is deprecated
WPS operation completed successfully