Class BluetoothSocket
public class BluetoothSocket : Closeable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICloseable, IAutoCloseable
- Inheritance
-
BluetoothSocket
- Implements
- Extension Methods
Constructors
BluetoothSocket(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 BluetoothSocket(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
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
TYPE_L2CAP
public static int TYPE_L2CAP { get; set; }
Property Value
TYPE_LE
public static int TYPE_LE { get; set; }
Property Value
TYPE_RFCOMM
public static int TYPE_RFCOMM { get; set; }
Property Value
TYPE_SCO
public static int TYPE_SCO { get; set; }
Property Value
Methods
Close()
public void Close()
Exceptions
Connect()
public void Connect()
Exceptions
GetConnectionType()
public int GetConnectionType()
Returns
GetInputStream()
public InputStream GetInputStream()
Returns
Exceptions
GetMaxReceivePacketSize()
public int GetMaxReceivePacketSize()
Returns
GetMaxTransmitPacketSize()
public int GetMaxTransmitPacketSize()
Returns
GetOutputStream()
public OutputStream GetOutputStream()
Returns
Exceptions
GetRemoteDevice()
public BluetoothDevice GetRemoteDevice()
Returns
IsConnected()
public bool IsConnected()