BluetoothGatt.Services 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回远程设备提供的 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()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。