Langue

BluetoothGattServer.RemoveService(BluetoothGattService) Méthode

Définition

Supprime un service de la liste des services à fournir.

[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

Paramètres

service
BluetoothGattService

Service à supprimer.

Retours

true, si le service a été supprimé

Attributs

Remarques

Supprime un service de la liste des services à fournir.

Java documentation pour android.bluetooth.BluetoothGattServer.removeService(android.bluetooth.BluetoothGattService).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à