BluetoothDevice
InterfaceConsts
ActionAclConnected
ActionAclDisconnected
ActionAclDisconnectRequested
ActionAliasChanged
ActionBondStateChanged
ActionClassChanged
ActionFound
ActionNameChanged
ActionPairingRequest
ActionUuid
AddressTypePublic
AddressTypeRandom
AddressTypeUnknown
DeviceTypeClassic
DeviceTypeDual
DeviceTypeLe
DeviceTypeUnknown
Error
ExtraBondState
ExtraClass
ExtraDevice
ExtraIsCoordinatedSetMember
ExtraName
ExtraPairingKey
ExtraPairingVariant
ExtraPreviousBondState
ExtraRssi
ExtraTransport
ExtraUuid
PairingVariantPasskeyConfirmation
PairingVariantPin
Address
Alias
BluetoothClass
BondState
Creator
JniPeerMembers
Name
ThresholdClass
ThresholdType
Type
ConnectGatt(Context, Boolean, BluetoothGattCallback)
ConnectGatt(Context, Boolean, BluetoothGattCallback, BluetoothTransports)
ConnectGatt(Context, Boolean, BluetoothGattCallback, BluetoothTransports, BluetoothPhy)
ConnectGatt(Context, Boolean, BluetoothGattCallback, BluetoothTransports, ScanSettingsPhy)
ConnectGatt(Context, Boolean, BluetoothGattCallback, BluetoothTransports, BluetoothPhy, Handler)
ConnectGatt(Context, Boolean, BluetoothGattCallback, BluetoothTransports, ScanSettingsPhy, Handler)
CreateBond()
CreateInsecureL2capChannel(Int32)
CreateInsecureRfcommSocketToServiceRecord(UUID)
CreateL2capChannel(Int32)
CreateRfcommSocketToServiceRecord(UUID)
DescribeContents()
FetchUuidsWithSdp()
GetUuids()
SetAlias(String)
SetPairingConfirmation(Boolean)
SetPin(Byte[])
WriteToParcel(Parcel, ParcelableWriteFlags)
net9.0-android34.0
namespace Android.Bluetooth
{
[Register("android/bluetooth/BluetoothDevice", DoNotGenerateAcw = true)]
public sealed class BluetoothDevice : Object, IParcelable, IJavaObject, IJavaPeerable, IDisposable
{
[Register("connectGatt", "(Landroid/content/Context;ZLandroid/bluetooth/BluetoothGattCallback;II)Landroid/bluetooth/BluetoothGatt;", "", ApiSince = 26)]
[RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
[SupportedOSPlatform("android26.0")]
public BluetoothGatt? ConnectGatt(Context? context, bool autoConnect, BluetoothGattCallback? callback, [GeneratedEnum] BluetoothTransports transport, [GeneratedEnum] BluetoothPhy phy);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Android | 21.022.023.024.025.026.027.028.029.030.031.032.033.034.0 |
Information specific to net9.0-android34.0 | |
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API