BluetoothGattServer.RemoveService(BluetoothGattService) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes a service from the list of services to be provided.
[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
Parameters
- service
- BluetoothGattService
Service to be removed.
Returns
true, if the service has been removed
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.