Idioma

BluetoothGattService.AddService(BluetoothGattService) Método

Definição

Adicione um serviço incluído a esse serviço.

[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

Parâmetros

service
BluetoothGattService

O serviço a ser adicionado

Retornos

true, se o serviço incluído foi adicionado ao serviço

Atributos

Comentários

Adicione um serviço incluído a esse serviço.

Java documentação para android.bluetooth.BluetoothGattService.addService(android.bluetooth.BluetoothGattService).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a