BluetoothGattService.AddService(BluetoothGattService) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
含まれているサービスをこのサービスに追加します。
[Android.Runtime.Register("addService", "(Landroid/bluetooth/BluetoothGattService;)Z", "GetAddService_Landroid_bluetooth_BluetoothGattService_Handler")]
public virtual bool AddService(Android.Bluetooth.BluetoothGattService? service);
[<Android.Runtime.Register("addService", "(Landroid/bluetooth/BluetoothGattService;)Z", "GetAddService_Landroid_bluetooth_BluetoothGattService_Handler")>]
abstract member AddService : Android.Bluetooth.BluetoothGattService -> bool
override this.AddService : Android.Bluetooth.BluetoothGattService -> bool
パラメーター
- service
- BluetoothGattService
追加するサービス
返品
含まれているサービスがサービスに追加された場合は true
- 属性
注釈
含まれているサービスをこのサービスに追加します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。