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()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。