Language

BluetoothGattServer.RemoveService(BluetoothGattService) メソッド

定義

提供するサービスの一覧からサービスを削除します。

[Android.Runtime.Register("removeService", "(Landroid/bluetooth/BluetoothGattService;)Z", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")]
public bool RemoveService(Android.Bluetooth.BluetoothGattService? service);
[<Android.Runtime.Register("removeService", "(Landroid/bluetooth/BluetoothGattService;)Z", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_CONNECT")>]
member this.RemoveService : Android.Bluetooth.BluetoothGattService -> bool

パラメーター

service
BluetoothGattService

削除するサービス。

返品

サービスが削除されている場合は true

属性

注釈

提供するサービスの一覧からサービスを削除します。

Javaドキュメント。

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

適用対象