public class WifiP2pProvDiscEvent extends Object
WifiP2pProvDiscEvent(java.lang.String)
for supported typesModifier and Type | Field and Description |
---|---|
WifiP2pDevice |
device |
static int |
ENTER_PIN |
int |
event |
static int |
PBC_REQ |
static int |
PBC_RSP |
String |
pin |
static int |
SHOW_PIN |
Constructor and Description |
---|
WifiP2pProvDiscEvent() |
WifiP2pProvDiscEvent(String string) |
public static final int PBC_REQ
public static final int PBC_RSP
public static final int ENTER_PIN
public static final int SHOW_PIN
public int event
public WifiP2pDevice device
public String pin
public WifiP2pProvDiscEvent()
public WifiP2pProvDiscEvent(String string) throws IllegalArgumentException
string
- formats supported include
P2P-PROV-DISC-PBC-REQ 42:fc:89:e1:e2:27
P2P-PROV-DISC-PBC-RESP 02:12:47:f2:5a:36
P2P-PROV-DISC-ENTER-PIN 42:fc:89:e1:e2:27
P2P-PROV-DISC-SHOW-PIN 42:fc:89:e1:e2:27 44490607
Note: The events formats can be looked up in the wpa_supplicant codeIllegalArgumentException
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())