Class WifiP2pDevice
public class WifiP2pDevice : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
- Inheritance
-
WifiP2pDevice
- Implements
- Inherited Members
- Extension Methods
Constructors
WifiP2pDevice()
public WifiP2pDevice()
WifiP2pDevice(WifiP2pDevice)
public WifiP2pDevice(WifiP2pDevice arg0)
Parameters
WifiP2pDevice(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public WifiP2pDevice(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
AVAILABLE
public static int AVAILABLE { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CONNECTED
public static int CONNECTED { get; set; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
FAILED
public static int FAILED { get; set; }
Property Value
INVITED
public static int INVITED { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
UNAVAILABLE
public static int UNAVAILABLE { get; set; }
Property Value
deviceAddress
public String deviceAddress { get; set; }
Property Value
deviceName
public String deviceName { get; set; }
Property Value
primaryDeviceType
public String primaryDeviceType { get; set; }
Property Value
secondaryDeviceType
public String secondaryDeviceType { get; set; }
Property Value
status
public int status { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for WifiP2pDevice()
public static WifiP2pDevice CreatePoolableInstance()
Returns
CreatePoolableInstance(WifiP2pDevice)
HPA initializer for WifiP2pDevice(Android.Net.Wifi.P2p.WifiP2pDevice arg0)
public static WifiP2pDevice CreatePoolableInstance(WifiP2pDevice arg0)
Parameters
arg0WifiP2pDevice
Returns
DescribeContents()
public int DescribeContents()
Returns
GetIpAddress()
public InetAddress GetIpAddress()
Returns
GetVendorElements()
public List<ScanResult.InformationElement> GetVendorElements()
Returns
GetWfdInfo()
public WifiP2pWfdInfo GetWfdInfo()
Returns
IsGroupOwner()
public bool IsGroupOwner()
Returns
IsOpportunisticBootstrappingMethodSupported()
public bool IsOpportunisticBootstrappingMethodSupported()
Returns
IsPassphraseDisplayBootstrappingMethodSupported()
public bool IsPassphraseDisplayBootstrappingMethodSupported()
Returns
IsPassphraseKeypadBootstrappingMethodSupported()
public bool IsPassphraseKeypadBootstrappingMethodSupported()
Returns
IsPinCodeDisplayBootstrappingMethodSupported()
public bool IsPinCodeDisplayBootstrappingMethodSupported()
Returns
IsPinCodeKeypadBootstrappingMethodSupported()
public bool IsPinCodeKeypadBootstrappingMethodSupported()
Returns
IsServiceDiscoveryCapable()
public bool IsServiceDiscoveryCapable()
Returns
Update(WifiP2pDevice)
public void Update(WifiP2pDevice arg0)
Parameters
WpsDisplaySupported()
public bool WpsDisplaySupported()
Returns
WpsKeypadSupported()
https://developer.android.com/reference/android/net/wifi/p2p/WifiP2pDevice.html#wpsKeypadSupported()
public bool WpsKeypadSupported()
Returns
WpsPbcSupported()
public bool WpsPbcSupported()
Returns
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)