The members of Android.Bluetooth.BluetoothGatt are listed below.
See Also: Inherited members from Java.Lang.Object
const | ConnectionPriorityBalanced | GattConnectionPriority (0). Connection paramter update - Use the connection paramters recommended by the Bluetooth SIG. |
const | ConnectionPriorityHigh | GattConnectionPriority (1). Connection paramter update - Request a high priority, low latency connection. |
const | ConnectionPriorityLowPower | GattConnectionPriority (2). Connection paramter update - Request low power, reduced data rate connection parameters. |
const | GattConnectionCongested | GattStatus (143). A remote device connection is congested. |
const | GattFailure | GattStatus (257). A GATT operation failed, errors other than the above |
const | GattInsufficientAuthentication | GattStatus (5). Insufficient authentication for a given operation |
const | GattInsufficientEncryption | GattStatus (15). Insufficient encryption for a given operation |
const | GattInvalidAttributeLength | GattStatus (13). A write operation exceeds the maximum length of the attribute |
const | GattInvalidOffset | GattStatus (7). A read or write operation was requested with an invalid offset |
const | GattReadNotPermitted | GattStatus (2). GATT read operation is not permitted |
const | GattRequestNotSupported | GattStatus (6). The given request is not supported |
const | GattSuccess | GattStatus (0). A GATT operation completed successfully |
const | GattWriteNotPermitted | GattStatus (3). GATT write operation is not permitted |
[read-only] | ConnectedDevices | IList<BluetoothDevice>. Not supported - please use BluetoothManager.GetConnectedDevices(ProfileType) with BluetoothProfile.Gatt as argument |
[read-only] | Device | BluetoothDevice. Return the remote bluetooth device this GATT client targets to |
[read-only] | Services | IList<BluetoothGattService>. Returns a list of GATT services offered by the remote device. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AbortReliableWrite()Cancels a reliable write transaction for a given device. | ||
AbortReliableWrite(BluetoothDevice) | ||
BeginReliableWrite()Initiates a reliable write transaction for a given remote device. | ||
Close()Close this Bluetooth GATT client. | ||
Connect()Connect back to remote device. | ||
Disconnect()Disconnects an established connection, or cancels a connection attempt currently in progress. | ||
DiscoverServices()Discovers services offered by a remote device as well as their characteristics and descriptors. | ||
ExecuteReliableWrite()Executes a reliable write transaction for a given remote device. | ||
GetConnectionState(BluetoothDevice)Not supported - please use BluetoothManager.GetConnectedDevices(ProfileType) with BluetoothProfile.Gatt as argument | ||
GetDevicesMatchingConnectionStates(ProfileState[])Not supported - please use BluetoothManager.GetDevicesMatchingConnectionStates(ProfileType, System.Int32[]) with BluetoothProfile.Gatt as first argument | ||
GetService(Java.Util.UUID)Returns a Android.Bluetooth.BluetoothGattService, if the requested UUID is supported by the remote device. | ||
ReadCharacteristic(BluetoothGattCharacteristic)Reads the requested characteristic from the associated remote device. | ||
ReadDescriptor(BluetoothGattDescriptor)Reads the value for a given descriptor from the associated remote device. | ||
ReadRemoteRssi()Read the RSSI for a connected remote device. | ||
RequestConnectionPriority(GattConnectionPriority)Request a connection parameter update. | ||
RequestMtu(int)Request an MTU size used for a given connection. | ||
SetCharacteristicNotification(BluetoothGattCharacteristic, bool)Enable or disable notifications/indications for a given characteristic. | ||
WriteCharacteristic(BluetoothGattCharacteristic)Writes a given characteristic and its values to the associated remote device. | ||
WriteDescriptor(BluetoothGattDescriptor)Write the value of a given descriptor to the associated remote device. |