BluetoothGattService.AddService(BluetoothGattService) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Agregue un servicio incluido a este servicio.
[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
El servicio que se va a agregar.
Devoluciones
true, si el servicio incluido se agregó al servicio
- Atributos
Comentarios
Agregue un servicio incluido a este servicio.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.