BluetoothGatt
InterfaceConsts
ConnectionPriorityBalanced
ConnectionPriorityDck
ConnectionPriorityHigh
ConnectionPriorityLowPower
GattConnectionCongested
GattConnectionTimeout
GattFailure
GattInsufficientAuthentication
GattInsufficientAuthorization
GattInsufficientEncryption
GattInvalidAttributeLength
GattInvalidOffset
GattReadNotPermitted
GattRequestNotSupported
GattSuccess
GattWriteNotPermitted
ConnectedDevices
Device
JniPeerMembers
Services
ThresholdClass
ThresholdType
AbortReliableWrite()
AbortReliableWrite(BluetoothDevice)
BeginReliableWrite()
Close()
Connect()
Disconnect()
DiscoverServices()
ExecuteReliableWrite()
GetConnectionState(BluetoothDevice)
GetDevicesMatchingConnectionStates(ProfileState[])
GetService(UUID)
ReadCharacteristic(BluetoothGattCharacteristic)
ReadDescriptor(BluetoothGattDescriptor)
ReadPhy()
ReadRemoteRssi()
RequestConnectionPriority(GattConnectionPriority)
RequestMtu(Int32)
SetCharacteristicNotification(BluetoothGattCharacteristic, Boolean)
SetPreferredPhy(BluetoothPhy, BluetoothPhy, BluetoothPhyOption)
WriteCharacteristic(BluetoothGattCharacteristic)
WriteCharacteristic(BluetoothGattCharacteristic, Byte[], Int32)
WriteDescriptor(BluetoothGattDescriptor)
WriteDescriptor(BluetoothGattDescriptor, Byte[])
net10.0-android36.0
namespace Android.Bluetooth
{
[Register("android/bluetooth/BluetoothGatt", DoNotGenerateAcw = true)]
public sealed class BluetoothGatt : Object, IBluetoothProfile, IJavaObject, IJavaPeerable, IDisposable
{
[Register("writeCharacteristic", "(Landroid/bluetooth/BluetoothGattCharacteristic;[BI)I", "", ApiSince = 33)]
[RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
[SupportedOSPlatform("android33.0")]
public int WriteCharacteristic(BluetoothGattCharacteristic! characteristic, byte[]! value, [IntDef(Fields = new[] { "WriteTypeDefault", "WriteTypeNoResponse", "WriteTypeSigned" }, Type = "Android.Bluetooth.BluetoothGattCharacteristic")] int writeType);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 6.07.08.09.010.0 |
Information specific to net10.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.035.036.0 |
Information specific to net10.0-android36.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