BluetoothGattServer.Services Propiedad

Definición

Devuelve una lista de servicios GATT ofrecidos por este dispositivo.

public System.Collections.Generic.IList<Android.Bluetooth.BluetoothGattService>? Services { [Android.Runtime.Register("getServices", "()Ljava/util/List;", "")] get; }
[<get: Android.Runtime.Register("getServices", "()Ljava/util/List;", "")>]
member this.Services : System.Collections.Generic.IList<Android.Bluetooth.BluetoothGattService>

Valor de propiedad

Lista de servicios. Devuelve una lista vacía si aún no se ha agregado ningún servicio.

Atributos

Comentarios

Devuelve una lista de servicios GATT ofrecidos por este dispositivo.

Una aplicación debe llamar #addService a para agregar un servicio a la lista de servicios ofrecidos por este dispositivo.

Java documentación para android.bluetooth.BluetoothGattServer.getServices().

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.

Se aplica a