Table of Contents

Class WifiP2pDevice

Namespace
Android.Net.Wifi.P2p
Assembly
MASES.Netdroid.dll
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

arg0 WifiP2pDevice

WifiP2pDevice

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

initializer IJVMBridgeBaseInitializer

Properties

AVAILABLE

public static int AVAILABLE { get; set; }

Property Value

int

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

CONNECTED

public static int CONNECTED { get; set; }

Property Value

int

CREATOR

public static Parcelable.Creator CREATOR { get; set; }

Property Value

Parcelable.Creator

FAILED

public static int FAILED { get; set; }

Property Value

int

INVITED

public static int INVITED { get; set; }

Property Value

int

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

UNAVAILABLE

public static int UNAVAILABLE { get; set; }

Property Value

int

deviceAddress

public String deviceAddress { get; set; }

Property Value

String

deviceName

public String deviceName { get; set; }

Property Value

String

primaryDeviceType

public String primaryDeviceType { get; set; }

Property Value

String

secondaryDeviceType

public String secondaryDeviceType { get; set; }

Property Value

String

status

public int status { get; set; }

Property Value

int

Methods

CreatePoolableInstance()

HPA initializer for WifiP2pDevice()

public static WifiP2pDevice CreatePoolableInstance()

Returns

WifiP2pDevice

CreatePoolableInstance(WifiP2pDevice)

HPA initializer for WifiP2pDevice(Android.Net.Wifi.P2p.WifiP2pDevice arg0)

public static WifiP2pDevice CreatePoolableInstance(WifiP2pDevice arg0)

Parameters

arg0 WifiP2pDevice

Returns

WifiP2pDevice

DescribeContents()

public int DescribeContents()

Returns

int

int

GetIpAddress()

public InetAddress GetIpAddress()

Returns

InetAddress

InetAddress

GetVendorElements()

public List<ScanResult.InformationElement> GetVendorElements()

Returns

List<ScanResult.InformationElement>

List

GetWfdInfo()

public WifiP2pWfdInfo GetWfdInfo()

Returns

WifiP2pWfdInfo

WifiP2pWfdInfo

IsGroupOwner()

public bool IsGroupOwner()

Returns

bool

bool

IsOpportunisticBootstrappingMethodSupported()

public bool IsOpportunisticBootstrappingMethodSupported()

Returns

bool

bool

IsPassphraseDisplayBootstrappingMethodSupported()

public bool IsPassphraseDisplayBootstrappingMethodSupported()

Returns

bool

bool

IsPassphraseKeypadBootstrappingMethodSupported()

public bool IsPassphraseKeypadBootstrappingMethodSupported()

Returns

bool

bool

IsPinCodeDisplayBootstrappingMethodSupported()

public bool IsPinCodeDisplayBootstrappingMethodSupported()

Returns

bool

bool

IsPinCodeKeypadBootstrappingMethodSupported()

public bool IsPinCodeKeypadBootstrappingMethodSupported()

Returns

bool

bool

IsServiceDiscoveryCapable()

public bool IsServiceDiscoveryCapable()

Returns

bool

bool

Update(WifiP2pDevice)

public void Update(WifiP2pDevice arg0)

Parameters

arg0 WifiP2pDevice

WifiP2pDevice

WpsDisplaySupported()

public bool WpsDisplaySupported()

Returns

bool

bool

WpsKeypadSupported()

public bool WpsKeypadSupported()

Returns

bool

bool

WpsPbcSupported()

public bool WpsPbcSupported()

Returns

bool

bool

WriteToParcel(Parcel, int)

public void WriteToParcel(Parcel arg0, int arg1)

Parameters

arg0 Parcel

Parcel

arg1 int

int