Table of Contents

Class BluetoothSocket

Namespace
Android.Bluetooth
Assembly
MASES.Netdroid.dll
public class BluetoothSocket : Closeable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
BluetoothSocket
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

BluetoothSocket()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public BluetoothSocket()

BluetoothSocket(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public BluetoothSocket(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

TYPE_L2CAP

public static int TYPE_L2CAP { get; }

Property Value

int

TYPE_RFCOMM

public static int TYPE_RFCOMM { get; }

Property Value

int

TYPE_SCO

public static int TYPE_SCO { get; }

Property Value

int

Methods

Close()

public void Close()

Exceptions

IOException

Connect()

public void Connect()

Exceptions

IOException

GetConnectionType()

public int GetConnectionType()

Returns

int

int

GetInputStream()

public InputStream GetInputStream()

Returns

InputStream

InputStream

Exceptions

IOException

GetMaxReceivePacketSize()

public int GetMaxReceivePacketSize()

Returns

int

int

GetMaxTransmitPacketSize()

public int GetMaxTransmitPacketSize()

Returns

int

int

GetOutputStream()

public OutputStream GetOutputStream()

Returns

OutputStream

OutputStream

Exceptions

IOException

GetRemoteDevice()

public BluetoothDevice GetRemoteDevice()

Returns

BluetoothDevice

BluetoothDevice

IsConnected()

public bool IsConnected()

Returns

bool

bool