语言

BluetoothGatt.Services 属性

定义

返回远程设备提供的 GATT 服务列表。

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>

属性值

远程设备上的服务列表。 如果尚未执行服务发现,则返回空列表。

特性

注解

返回远程设备提供的 GATT 服务列表。

此函数要求为给定设备完成服务发现。

Java文档android.bluetooth.BluetoothGatt.getServices()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于