BluetoothHealthAppConfiguration.Role 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳與此應用程式設定相關的角色。
public Android.Bluetooth.RoleType Role { [Android.Runtime.Register("getRole", "()I", "")] get; }
[<get: Android.Runtime.Register("getRole", "()I", "")>]
member this.Role : Android.Bluetooth.RoleType
屬性值
從BluetoothHealth#SOURCE_ROLE或BluetoothHealth#SINK_ROLE中選擇一個
- 屬性
備註
回傳與此應用程式設定相關的角色。
此會員已被棄用。 健康裝置設定檔(HDP)與 MCAP 協定已不再使用。 新應用程式應採用藍牙低功耗解決方案,例如 BluetoothGatt、 BluetoothAdapter#listenUsingL2capChannel()、 BluetoothDevice#createL2capChannel(int)
Java 文件 android.bluetooth.BluetoothHealthAppConfiguration.getRole()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。