Table of Contents

Class WifiAwareManager

Namespace
Android.Net.Wifi.Aware
Assembly
MASES.Netdroid.dll
public class WifiAwareManager : JVMBridgeBase<WifiAwareManager>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
WifiAwareManager
Implements
Extension Methods

Constructors

WifiAwareManager(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 WifiAwareManager(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

ACTION_WIFI_AWARE_RESOURCE_CHANGED

public static String ACTION_WIFI_AWARE_RESOURCE_CHANGED { get; set; }

Property Value

String

ACTION_WIFI_AWARE_STATE_CHANGED

public static String ACTION_WIFI_AWARE_STATE_CHANGED { get; set; }

Property Value

String

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

EXTRA_AWARE_RESOURCES

public static String EXTRA_AWARE_RESOURCES { get; set; }

Property Value

String

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

WIFI_AWARE_DATA_PATH_ROLE_INITIATOR

public static int WIFI_AWARE_DATA_PATH_ROLE_INITIATOR { get; set; }

Property Value

int

WIFI_AWARE_DATA_PATH_ROLE_RESPONDER

public static int WIFI_AWARE_DATA_PATH_ROLE_RESPONDER { get; set; }

Property Value

int

WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VISIBLE

public static int WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VISIBLE { get; set; }

Property Value

int

WIFI_AWARE_DISCOVERY_LOST_REASON_UNKNOWN

public static int WIFI_AWARE_DISCOVERY_LOST_REASON_UNKNOWN { get; set; }

Property Value

int

Methods

Attach(AttachCallback, IdentityChangedListener, Handler)

public void Attach(AttachCallback arg0, IdentityChangedListener arg1, Handler arg2)

Parameters

arg0 AttachCallback

AttachCallback

arg1 IdentityChangedListener

IdentityChangedListener

arg2 Handler

Handler

Attach(AttachCallback, Handler)

public void Attach(AttachCallback arg0, Handler arg1)

Parameters

arg0 AttachCallback

AttachCallback

arg1 Handler

Handler

GetAvailableAwareResources()

public AwareResources GetAvailableAwareResources()

Returns

AwareResources

AwareResources

GetCharacteristics()

public Characteristics GetCharacteristics()

Returns

Characteristics

Characteristics

GetPairedDevices(Executor, Consumer<List<String>>)

public void GetPairedDevices(Executor arg0, Consumer<List<String>> arg1)

Parameters

arg0 Executor

Executor

arg1 Consumer<List<String>>

Consumer

IsAvailable()

public bool IsAvailable()

Returns

bool

bool

IsDeviceAttached()

public bool IsDeviceAttached()

Returns

bool

bool

IsInstantCommunicationModeEnabled()

public bool IsInstantCommunicationModeEnabled()

Returns

bool

bool

IsOpportunisticModeEnabled(Executor, Consumer<Boolean>)

public void IsOpportunisticModeEnabled(Executor arg0, Consumer<Boolean> arg1)

Parameters

arg0 Executor

Executor

arg1 Consumer<Boolean>

Consumer

IsSetChannelOnDataPathSupported()

public bool IsSetChannelOnDataPathSupported()

Returns

bool

bool

RemovePairedDevice(String)

public void RemovePairedDevice(String arg0)

Parameters

arg0 String

String

ResetPairedDevices()

public void ResetPairedDevices()

SetOpportunisticModeEnabled(bool)

public void SetOpportunisticModeEnabled(bool arg0)

Parameters

arg0 bool

bool