Dela via


GattDeviceService.GetAllCharacteristics Method

Definition

Gets the collection of all characteristics belonging to this GattDeviceService instance.

Important

The GetAllCharacteristics API is deprecated, and it may not be available in future versions of Windows. Instead, use GetCharacteristicsAsync.

public:
 virtual IVectorView<GattCharacteristic ^> ^ GetAllCharacteristics() = GetAllCharacteristics;
IVectorView<GattCharacteristic> GetAllCharacteristics();
/// [Windows.Foundation.Metadata.Deprecated("Use GetCharacteristicsAsync instead of GetAllCharacteristics.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IVectorView<GattCharacteristic> GetAllCharacteristics();
public IReadOnlyList<GattCharacteristic> GetAllCharacteristics();
[Windows.Foundation.Metadata.Deprecated("Use GetCharacteristicsAsync instead of GetAllCharacteristics.  For more information, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IReadOnlyList<GattCharacteristic> GetAllCharacteristics();
function getAllCharacteristics()
Public Function GetAllCharacteristics () As IReadOnlyList(Of GattCharacteristic)

Returns

The collection of all characteristics belonging to this GattDeviceService instance.

Attributes

Windows requirements

App capabilities
bluetooth

Applies to