GattLocalService.CreateCharacteristicAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a characteristic for this local service.
public:
virtual IAsyncOperation<GattLocalCharacteristicResult ^> ^ CreateCharacteristicAsync(Platform::Guid characteristicUuid, GattLocalCharacteristicParameters ^ parameters) = CreateCharacteristicAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattLocalCharacteristicResult> CreateCharacteristicAsync(winrt::guid const& characteristicUuid, GattLocalCharacteristicParameters const& parameters);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattLocalCharacteristicResult> CreateCharacteristicAsync(Guid characteristicUuid, GattLocalCharacteristicParameters parameters);
function createCharacteristicAsync(characteristicUuid, parameters)
Public Function CreateCharacteristicAsync (characteristicUuid As Guid, parameters As GattLocalCharacteristicParameters) As IAsyncOperation(Of GattLocalCharacteristicResult)
Parameters
- characteristicUuid
-
Guid
Platform::Guid
winrt::guid
The characteristic UUID.
- parameters
- GattLocalCharacteristicParameters
The characteristic parameters.
Returns
An asynchronous operation
- Attributes
Windows requirements
App capabilities |
bluetooth
|