WifiManager.LocalOnlyHotspotCallback.OnFailed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
LocalOnlyHotspot failed to start.
[Android.Runtime.Register("onFailed", "(I)V", "GetOnFailed_IHandler", ApiSince=26)]
public virtual void OnFailed (Android.Net.Wifi.LocalOnlyHotspotCallbackErrorCode reason);
[<Android.Runtime.Register("onFailed", "(I)V", "GetOnFailed_IHandler", ApiSince=26)>]
abstract member OnFailed : Android.Net.Wifi.LocalOnlyHotspotCallbackErrorCode -> unit
override this.OnFailed : Android.Net.Wifi.LocalOnlyHotspotCallbackErrorCode -> unit
Parameters
The reason for failure could be one of: #ERROR_TETHERING_DISALLOWED
, #ERROR_INCOMPATIBLE_MODE
,
#ERROR_NO_CHANNEL
, or #ERROR_GENERIC
.
- Attributes
Remarks
LocalOnlyHotspot failed to start.
Applications can attempt to call WifiManager#startLocalOnlyHotspot(LocalOnlyHotspotCallback, Handler)
again at a later time.
Java documentation for android.net.wifi.WifiManager.LocalOnlyHotspotCallback.onFailed(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.