BluetoothGattService.AddCharacteristic(BluetoothGattCharacteristic) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Adicione uma característica a esse serviço.
[Android.Runtime.Register("addCharacteristic", "(Landroid/bluetooth/BluetoothGattCharacteristic;)Z", "GetAddCharacteristic_Landroid_bluetooth_BluetoothGattCharacteristic_Handler")]
public virtual bool AddCharacteristic(Android.Bluetooth.BluetoothGattCharacteristic? characteristic);
[<Android.Runtime.Register("addCharacteristic", "(Landroid/bluetooth/BluetoothGattCharacteristic;)Z", "GetAddCharacteristic_Landroid_bluetooth_BluetoothGattCharacteristic_Handler")>]
abstract member AddCharacteristic : Android.Bluetooth.BluetoothGattCharacteristic -> bool
override this.AddCharacteristic : Android.Bluetooth.BluetoothGattCharacteristic -> bool
Parâmetros
- characteristic
- BluetoothGattCharacteristic
As características a serem adicionadas
Retornos
true, se a característica foi adicionada ao serviço
- Atributos
Comentários
Adicione uma característica a esse serviço.
Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.