Android.Bluetooth.BluetoothGattCharacteristic Members

The members of Android.Bluetooth.BluetoothGattCharacteristic are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a new BluetoothGattCharacteristic.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
FormatFloatGattFormat (52). Characteristic value format type float (32-bit float)
const
FormatSfloatGattFormat (50). Characteristic value format type sfloat (16-bit float)
const
FormatSint16GattFormat (34). Characteristic value format type sint16
const
FormatSint32GattFormat (36). Characteristic value format type sint32
const
FormatSint8GattFormat (33). Characteristic value format type sint8
const
FormatUint16GattFormat (18). Characteristic value format type uint16
const
FormatUint32GattFormat (20). Characteristic value format type uint32
const
FormatUint8GattFormat (17). Characteristic value format type uint8
const
PermissionReadGattPermission (1). Characteristic read permission
const
PermissionReadEncryptedGattPermission (2). Characteristic permission: Allow encrypted read operations
const
PermissionReadEncryptedMitmGattPermission (4). Characteristic permission: Allow reading with man-in-the-middle protection
const
PermissionWriteGattPermission (16). Characteristic write permission
const
PermissionWriteEncryptedGattPermission (32). Characteristic permission: Allow encrypted writes
const
PermissionWriteEncryptedMitmGattPermission (64). Characteristic permission: Allow encrypted writes with man-in-the-middle protection
const
PermissionWriteSignedGattPermission (128). Characteristic permission: Allow signed write operations
const
PermissionWriteSignedMitmGattPermission (256). Characteristic permission: Allow signed write operations with man-in-the-middle protection
const
PropertyBroadcastGattProperty (1). Characteristic proprty: Characteristic is broadcastable.
const
PropertyExtendedPropsGattProperty (128). Characteristic property: Characteristic has extended properties
const
PropertyIndicateGattProperty (32). Characteristic property: Characteristic supports indication
const
PropertyNotifyGattProperty (16). Characteristic property: Characteristic supports notification
const
PropertyReadGattProperty (2). Characteristic property: Characteristic is readable.
const
PropertySignedWriteGattProperty (64). Characteristic property: Characteristic supports write with signature
const
PropertyWriteGattProperty (8). Characteristic property: Characteristic can be written.
const
PropertyWriteNoResponseGattProperty (4). Characteristic property: Characteristic can be written without response.
const
WriteTypeDefaultGattWriteType (2). Write characteristic, requesting acknoledgement by the remote device
const
WriteTypeNoResponseGattWriteType (1). Wrtite characteristic without requiring a response by the remote device
const
WriteTypeSignedGattWriteType (4). Write characteristic including authentication signature

Public Properties

[read-only]
DescriptorsIList<BluetoothGattDescriptor>. Returns a list of descriptors for this characteristic.
[read-only]
InstanceIdint. Returns the instance ID for this characteristic.
[read-only]
PermissionsGattPermission. Returns the permissions for this characteristic.
[read-only]
PropertiesGattProperty. Returns the properties of this characteristic.
[read-only]
ServiceBluetoothGattService. Returns the service this characteristic belongs to.
[read-only]
UuidJava.Util.UUID. Returns the UUID of this characteristic
WriteTypeGattWriteType. Gets the write type for this characteristic.

Protected Properties

MDescriptorsIList. List of descriptors included in this characteristic.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddDescriptor(BluetoothGattDescriptor) : bool
Adds a descriptor to this characteristic.
GetDescriptor(Java.Util.UUID) : BluetoothGattDescriptor
Returns a descriptor with a given UUID out of the list of descriptors for this characteristic.
GetFloatValue(GattFormat, int) : Java.Lang.Float
Return the stored value of this characteristic.
GetIntValue(GattFormat, int) : Java.Lang.Integer
Return the stored value of this characteristic.
GetStringValue(int) : string
Return the stored value of this characteristic.
GetValue() : byte[]
Get the stored value for this characteristic.
SetValue(byte[]) : bool
Updates the locally stored value of this characteristic.
SetValue(string) : bool
Set the locally stored value of this characteristic.
SetValue(int, GattFormat, int) : bool
Set the locally stored value of this characteristic.
SetValue(int, int, GattFormat, int) : bool
Set the locally stored value of this characteristic.