android.net.wifi.p2p
Class WifiP2pDevice

java.lang.Object
  extended by android.net.wifi.p2p.WifiP2pDevice
All Implemented Interfaces:
Parcelable

public class WifiP2pDevice
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static int AVAILABLE
           
static int CONNECTED
           
static Parcelable.Creator<WifiP2pDevice> CREATOR
           
 String deviceAddress
           
 String deviceName
           
static int FAILED
           
static int INVITED
           
 String primaryDeviceType
           
 String secondaryDeviceType
           
 int status
           
static int UNAVAILABLE
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
WifiP2pDevice()
           
WifiP2pDevice(WifiP2pDevice source)
           
 
Method Summary
 int describeContents()
           
 boolean equals(Object obj)
           
 boolean isGroupOwner()
           
 boolean isServiceDiscoveryCapable()
           
 String toString()
           
 boolean wpsDisplaySupported()
           
 boolean wpsKeypadSupported()
           
 boolean wpsPbcSupported()
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

deviceName

public String deviceName

deviceAddress

public String deviceAddress

primaryDeviceType

public String primaryDeviceType

secondaryDeviceType

public String secondaryDeviceType

CONNECTED

public static final int CONNECTED
See Also:
Constant Field Values

INVITED

public static final int INVITED
See Also:
Constant Field Values

FAILED

public static final int FAILED
See Also:
Constant Field Values

AVAILABLE

public static final int AVAILABLE
See Also:
Constant Field Values

UNAVAILABLE

public static final int UNAVAILABLE
See Also:
Constant Field Values

status

public int status

CREATOR

public static final Parcelable.Creator<WifiP2pDevice> CREATOR
Constructor Detail

WifiP2pDevice

public WifiP2pDevice()

WifiP2pDevice

public WifiP2pDevice(WifiP2pDevice source)
Method Detail

wpsPbcSupported

public boolean wpsPbcSupported()

wpsKeypadSupported

public boolean wpsKeypadSupported()

wpsDisplaySupported

public boolean wpsDisplaySupported()

isServiceDiscoveryCapable

public boolean isServiceDiscoveryCapable()

isGroupOwner

public boolean isGroupOwner()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.