Compartilhar via


WifiManager.PingSupplicant Method

Definition

Check that the supplicant daemon is responding to requests.

[Android.Runtime.Register("pingSupplicant", "()Z", "GetPingSupplicantHandler")]
public virtual bool PingSupplicant ();
[<Android.Runtime.Register("pingSupplicant", "()Z", "GetPingSupplicantHandler")>]
abstract member PingSupplicant : unit -> bool
override this.PingSupplicant : unit -> bool

Returns

true if we were able to communicate with the supplicant and it returned the expected response to the PING message.

Attributes

Remarks

Check that the supplicant daemon is responding to requests.

This member is deprecated. Will return the output of #isWifiEnabled() instead.

Java documentation for android.net.wifi.WifiManager.pingSupplicant().

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.

Applies to