語言

BluetoothGattServer.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 服務清單。

應用程式必須呼叫 #addService 才能將一項服務加入該裝置所提供的服務清單。

Java 文件 android.bluetooth.BluetoothGattServer.getServices()

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於