Table of Contents

Class WifiAwareSession

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

Constructors

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

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

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

Methods

Close()

public void Close()

CreateNetworkSpecifierOpen(int, byte[])

[Obsolete("Deprecated in JVM")]
public NetworkSpecifier CreateNetworkSpecifierOpen(int arg0, byte[] arg1)

Parameters

arg0 int

int

arg1 byte[]

byte

Returns

NetworkSpecifier

NetworkSpecifier

CreateNetworkSpecifierPassphrase(int, byte[], String)

[Obsolete("Deprecated in JVM")]
public NetworkSpecifier CreateNetworkSpecifierPassphrase(int arg0, byte[] arg1, String arg2)

Parameters

arg0 int

int

arg1 byte[]

byte

arg2 String

String

Returns

NetworkSpecifier

NetworkSpecifier

Publish(PublishConfig, DiscoverySessionCallback, Handler)

public void Publish(PublishConfig arg0, DiscoverySessionCallback arg1, Handler arg2)

Parameters

arg0 PublishConfig

PublishConfig

arg1 DiscoverySessionCallback

DiscoverySessionCallback

arg2 Handler

Handler

Subscribe(SubscribeConfig, DiscoverySessionCallback, Handler)

public void Subscribe(SubscribeConfig arg0, DiscoverySessionCallback arg1, Handler arg2)

Parameters

arg0 SubscribeConfig

SubscribeConfig

arg1 DiscoverySessionCallback

DiscoverySessionCallback

arg2 Handler

Handler