Platforms to show: All Mac Windows Linux Cross-Platform

Back to WindowsGattDeviceServiceMBS class.

WindowsGattDeviceServiceMBS.Characteristics(characteristicUUID as String) as WindowsGattDeviceServiceMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Returns a vector of characteristics, that are identified by the specified UUID and belong to this GattDeviceService instance.

WindowsGattDeviceServiceMBS.Close

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Releases the resources associated with the GattDeviceService class.

This allows other apps to access the resources of the GattDeviceService in question. A GattDeviceService object should not be used after Close is invoked, instead a new GattDeviceService object should be instantiated using the FromIdAsync method.

WindowsGattDeviceServiceMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The private constructor.

See also:

WindowsGattDeviceServiceMBS.Constructor(other as WindowsGattDeviceServiceMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The copy constructor.

Creates a new Xojo object pointing to same device service.

See also:

WindowsGattDeviceServiceMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The destructor.

WindowsGattDeviceServiceMBS.GetAllCharacteristics as WindowsGattCharacteristicMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the collection of all characteristics belonging to this GattDeviceService instance.

WindowsGattDeviceServiceMBS.GetAllIncludedServices as WindowsGattDeviceServiceMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the collection of all included services belonging to this GattDeviceService instance.

Some examples using this method:

WindowsGattDeviceServiceMBS.GetCharacteristicsAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the characteristics that are part of this GattDeviceService instance.

Creates an asynchronous operation that completes with a WindowsGattCharacteristicsResultMBS object and calls CharacteristicsCompleted event later.

An asynchronous operation that completes with a GattCharacteristicsResult object and calls CharacteristicsCompleted event later.

See also:

Some examples using this method:

WindowsGattDeviceServiceMBS.GetCharacteristicsAsync(BluetoothCacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the characteristics that are part of this GattDeviceService instance.

Creates an asynchronous operation that completes with a WindowsGattCharacteristicsResultMBS object and calls CharacteristicsCompleted event later.

For BluetoothCacheMode pass CacheModeUncached or CacheModeCached.

See also:

WindowsGattDeviceServiceMBS.GetCharacteristicsForUuidAsync(characteristicUuid as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the characterisitics that are part of this GattDeviceService instance and associated with the characteristicUuid.

Creates an asynchronous operation that completes with a WindowsGattCharacteristicsResultMBS object and calls CharacteristicsCompleted event later.

For BluetoothCacheMode pass CacheModeUncached or CacheModeCached.

See also:

WindowsGattDeviceServiceMBS.GetCharacteristicsForUuidAsync(characteristicUuid as String, BluetoothCacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the characterisitics that are part of this GattDeviceService instance and associated with the characteristicUuid.

Creates an asynchronous operation that completes with a WindowsGattCharacteristicsResultMBS object and calls CharacteristicsCompleted event later.

For BluetoothCacheMode pass CacheModeUncached or CacheModeCached.

See also:

WindowsGattDeviceServiceMBS.GetIncludedServicesAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the included services that are associated with this GattDeviceService instance.

Creates an asynchronous operation that completes with a WindowsGattDeviceServicesResultMBS object.

See also:

WindowsGattDeviceServiceMBS.GetIncludedServicesAsync(BluetoothCacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the included services that are associated with this GattDeviceService instance.

Creates an asynchronous operation that completes with a WindowsGattDeviceServicesResultMBS object.

For BluetoothCacheMode pass CacheModeUncached or CacheModeCached.

See also:

WindowsGattDeviceServiceMBS.GetIncludedServicesForUuidAsync(serviceUuid as String)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the included services from the serviceUuid that is associated with this GattDeviceService instance.

Creates an asynchronous operation that completes with a WindowsGattDeviceServicesResultMBS object.

serviceUuid: A 128-bit Bluetooth GATT Service UUID, represented as a standard GUID object.

See also:

WindowsGattDeviceServiceMBS.GetIncludedServicesForUuidAsync(serviceUuid as String, BluetoothCacheMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the included services from the serviceUuid that is associated with this GattDeviceService instance.

Creates an asynchronous operation that completes with a WindowsGattDeviceServicesResultMBS object.

serviceUuid: A 128-bit Bluetooth GATT Service UUID, represented as a standard GUID object.

See also:

WindowsGattDeviceServiceMBS.OpenAsync(SharingMode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Opens the GATT device service with the specified sharingMode.

Calls OpenAsyncCompleted later with result.

Some examples using this method:

WindowsGattDeviceServiceMBS.ParentServices as WindowsGattDeviceServiceMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Gets the read-only list of parent services for this service.

A read-only list of parent services from which this object is derived, if this GattDeviceService is an included service; Otherwise, nil.

Some examples using this method:

WindowsGattDeviceServiceMBS.RequestAccessAsync

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Bluetooth MBS WinFrameworks Plugin 22.3 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Requests access to the GattDeviceService.

An asynchronous operation that completes with RequestAccessCompleted event.

The items on this page are in the following plugins: MBS WinFrameworks Plugin.


The biggest plugin in space...