Language

BluetoothGattService.AddCharacteristic(BluetoothGattCharacteristic) メソッド

定義

このサービスに特性を追加します。

[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

パラメーター

characteristic
BluetoothGattCharacteristic

追加する特性

返品

特性がサービスに追加された場合は true

属性

注釈

このサービスに特性を追加します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象