Android.Bluetooth.BluetoothGattService Members

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

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a new BluetoothGattService.

Protected Constructors

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

Public Fields

const
ServiceTypePrimaryGattServiceType (0). Primary service
const
ServiceTypeSecondaryGattServiceType (1). Secondary service (included by primary services)

Public Properties

[read-only]
CharacteristicsIList<BluetoothGattCharacteristic>. Returns a list of characteristics included in this service.
[read-only]
IncludedServicesIList<BluetoothGattService>. Get the list of included GATT services for this service.
[read-only]
InstanceIdint. Returns the instance ID for this service
[read-only]
TypeGattServiceType. Get the type of this service (primary/secondary)
[read-only]
UuidJava.Util.UUID. Returns the UUID of this service

Protected Properties

MCharacteristicsIList. List of characteristics included in this service.
MIncludedServicesIList. List of included services for this service.
[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

AddCharacteristic(BluetoothGattCharacteristic) : bool
Add a characteristic to this service.
AddService(BluetoothGattService) : bool
Add an included service to this service.
GetCharacteristic(Java.Util.UUID) : BluetoothGattCharacteristic
Returns a characteristic with a given UUID out of the list of characteristics offered by this service.