Class BluetoothDevice
public class BluetoothDevice : Parcelable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IParcelable
- Inheritance
-
BluetoothDevice
- Implements
- Inherited Members
- Extension Methods
Constructors
BluetoothDevice(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 BluetoothDevice(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
ACTION_ACL_CONNECTED
public static String ACTION_ACL_CONNECTED { get; set; }
Property Value
ACTION_ACL_DISCONNECTED
public static String ACTION_ACL_DISCONNECTED { get; set; }
Property Value
ACTION_ACL_DISCONNECT_REQUESTED
public static String ACTION_ACL_DISCONNECT_REQUESTED { get; set; }
Property Value
ACTION_ALIAS_CHANGED
public static String ACTION_ALIAS_CHANGED { get; set; }
Property Value
ACTION_BOND_STATE_CHANGED
public static String ACTION_BOND_STATE_CHANGED { get; set; }
Property Value
ACTION_CLASS_CHANGED
public static String ACTION_CLASS_CHANGED { get; set; }
Property Value
ACTION_ENCRYPTION_CHANGE
public static String ACTION_ENCRYPTION_CHANGE { get; set; }
Property Value
ACTION_FOUND
public static String ACTION_FOUND { get; set; }
Property Value
ACTION_KEY_MISSING
public static String ACTION_KEY_MISSING { get; set; }
Property Value
ACTION_NAME_CHANGED
public static String ACTION_NAME_CHANGED { get; set; }
Property Value
ACTION_PAIRING_REQUEST
public static String ACTION_PAIRING_REQUEST { get; set; }
Property Value
ACTION_UUID
public static String ACTION_UUID { get; set; }
Property Value
ADDRESS_TYPE_ANONYMOUS
public static int ADDRESS_TYPE_ANONYMOUS { get; set; }
Property Value
ADDRESS_TYPE_PUBLIC
public static int ADDRESS_TYPE_PUBLIC { get; set; }
Property Value
ADDRESS_TYPE_RANDOM
public static int ADDRESS_TYPE_RANDOM { get; set; }
Property Value
ADDRESS_TYPE_UNKNOWN
public static int ADDRESS_TYPE_UNKNOWN { get; set; }
Property Value
BOND_BONDED
public static int BOND_BONDED { get; set; }
Property Value
BOND_BONDING
public static int BOND_BONDING { get; set; }
Property Value
BOND_NONE
public static int BOND_NONE { get; set; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
CREATOR
public static Parcelable.Creator CREATOR { get; set; }
Property Value
DEVICE_TYPE_CLASSIC
public static int DEVICE_TYPE_CLASSIC { get; set; }
Property Value
DEVICE_TYPE_DUAL
public static int DEVICE_TYPE_DUAL { get; set; }
Property Value
DEVICE_TYPE_LE
public static int DEVICE_TYPE_LE { get; set; }
Property Value
DEVICE_TYPE_UNKNOWN
public static int DEVICE_TYPE_UNKNOWN { get; set; }
Property Value
ENCRYPTION_ALGORITHM_AES
public static int ENCRYPTION_ALGORITHM_AES { get; set; }
Property Value
ENCRYPTION_ALGORITHM_E0
public static int ENCRYPTION_ALGORITHM_E0 { get; set; }
Property Value
ENCRYPTION_ALGORITHM_NONE
public static int ENCRYPTION_ALGORITHM_NONE { get; set; }
Property Value
ERROR
public static int ERROR { get; set; }
Property Value
EXTRA_BOND_STATE
public static String EXTRA_BOND_STATE { get; set; }
Property Value
EXTRA_CLASS
public static String EXTRA_CLASS { get; set; }
Property Value
EXTRA_DEVICE
public static String EXTRA_DEVICE { get; set; }
Property Value
EXTRA_ENCRYPTION_ALGORITHM
public static String EXTRA_ENCRYPTION_ALGORITHM { get; set; }
Property Value
EXTRA_ENCRYPTION_ENABLED
public static String EXTRA_ENCRYPTION_ENABLED { get; set; }
Property Value
EXTRA_ENCRYPTION_STATUS
public static String EXTRA_ENCRYPTION_STATUS { get; set; }
Property Value
EXTRA_IS_COORDINATED_SET_MEMBER
public static String EXTRA_IS_COORDINATED_SET_MEMBER { get; set; }
Property Value
EXTRA_KEY_SIZE
public static String EXTRA_KEY_SIZE { get; set; }
Property Value
EXTRA_NAME
public static String EXTRA_NAME { get; set; }
Property Value
EXTRA_PAIRING_KEY
public static String EXTRA_PAIRING_KEY { get; set; }
Property Value
EXTRA_PAIRING_VARIANT
https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html#EXTRA_PAIRING_VARIANT
public static String EXTRA_PAIRING_VARIANT { get; set; }
Property Value
EXTRA_PREVIOUS_BOND_STATE
public static String EXTRA_PREVIOUS_BOND_STATE { get; set; }
Property Value
EXTRA_RSSI
public static String EXTRA_RSSI { get; set; }
Property Value
EXTRA_TRANSPORT
public static String EXTRA_TRANSPORT { get; set; }
Property Value
EXTRA_UUID
public static String EXTRA_UUID { get; set; }
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
PAIRING_VARIANT_PASSKEY_CONFIRMATION
public static int PAIRING_VARIANT_PASSKEY_CONFIRMATION { get; set; }
Property Value
PAIRING_VARIANT_PIN
public static int PAIRING_VARIANT_PIN { get; set; }
Property Value
PHY_LE_1M
public static int PHY_LE_1M { get; set; }
Property Value
PHY_LE_1M_MASK
public static int PHY_LE_1M_MASK { get; set; }
Property Value
PHY_LE_2M
public static int PHY_LE_2M { get; set; }
Property Value
PHY_LE_2M_MASK
public static int PHY_LE_2M_MASK { get; set; }
Property Value
PHY_LE_CODED
public static int PHY_LE_CODED { get; set; }
Property Value
PHY_LE_CODED_MASK
public static int PHY_LE_CODED_MASK { get; set; }
Property Value
PHY_OPTION_NO_PREFERRED
public static int PHY_OPTION_NO_PREFERRED { get; set; }
Property Value
PHY_OPTION_S2
public static int PHY_OPTION_S2 { get; set; }
Property Value
PHY_OPTION_S8
public static int PHY_OPTION_S8 { get; set; }
Property Value
TRANSPORT_AUTO
public static int TRANSPORT_AUTO { get; set; }
Property Value
TRANSPORT_BREDR
public static int TRANSPORT_BREDR { get; set; }
Property Value
TRANSPORT_LE
public static int TRANSPORT_LE { get; set; }
Property Value
Methods
ConnectGatt(Context, bool, BluetoothGattCallback)
public BluetoothGatt ConnectGatt(Context arg0, bool arg1, BluetoothGattCallback arg2)
Parameters
arg0Contextarg1boolarg2BluetoothGattCallback
Returns
ConnectGatt(Context, bool, BluetoothGattCallback, int)
public BluetoothGatt ConnectGatt(Context arg0, bool arg1, BluetoothGattCallback arg2, int arg3)
Parameters
arg0Contextarg1boolarg2BluetoothGattCallbackarg3int
Returns
ConnectGatt(Context, bool, BluetoothGattCallback, int, int)
public BluetoothGatt ConnectGatt(Context arg0, bool arg1, BluetoothGattCallback arg2, int arg3, int arg4)
Parameters
arg0Contextarg1boolarg2BluetoothGattCallbackarg3intarg4int
Returns
ConnectGatt(Context, bool, BluetoothGattCallback, int, int, Handler)
public BluetoothGatt ConnectGatt(Context arg0, bool arg1, BluetoothGattCallback arg2, int arg3, int arg4, Handler arg5)
Parameters
Returns
CreateBond()
public bool CreateBond()
Returns
CreateInsecureL2capChannel(int)
public BluetoothSocket CreateInsecureL2capChannel(int arg0)
Parameters
Returns
Exceptions
CreateInsecureRfcommSocketToServiceRecord(UUID)
public BluetoothSocket CreateInsecureRfcommSocketToServiceRecord(UUID arg0)
Parameters
Returns
Exceptions
CreateL2capChannel(int)
public BluetoothSocket CreateL2capChannel(int arg0)
Parameters
Returns
Exceptions
CreateRfcommSocketToServiceRecord(UUID)
public BluetoothSocket CreateRfcommSocketToServiceRecord(UUID arg0)
Parameters
Returns
Exceptions
CreateUsingSocketSettings(BluetoothSocketSettings)
public BluetoothSocket CreateUsingSocketSettings(BluetoothSocketSettings arg0)
Parameters
Returns
Exceptions
DescribeContents()
public int DescribeContents()
Returns
FetchUuidsWithSdp()
public bool FetchUuidsWithSdp()
Returns
GetAddress()
public String GetAddress()
Returns
GetAddressType()
public int GetAddressType()
Returns
GetAlias()
public String GetAlias()
Returns
GetBluetoothClass()
public BluetoothClass GetBluetoothClass()
Returns
GetBondState()
public int GetBondState()
Returns
GetIdentityAddressWithType()
public BluetoothDevice.BluetoothAddress GetIdentityAddressWithType()
Returns
GetName()
public String GetName()
Returns
GetType()
public int GetType()
Returns
GetUuids()
public ParcelUuid[] GetUuids()
Returns
SetAlias(String)
public int SetAlias(String arg0)
Parameters
Returns
SetPairingConfirmation(bool)
public bool SetPairingConfirmation(bool arg0)
Parameters
Returns
SetPin(byte[])
public bool SetPin(byte[] arg0)
Parameters
Returns
WriteToParcel(Parcel, int)
public void WriteToParcel(Parcel arg0, int arg1)