BluetoothA2dp.ExtraDisconnectedReason 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在 Intent 中用作 int 額外欄位 BluetoothA2dp#ACTION_CONNECTION_STATE_CHANGED ,用於連線失敗的原因。
[Android.Runtime.Register("EXTRA_DISCONNECTED_REASON", ApiSince=37)]
public const string ExtraDisconnectedReason;
[<Android.Runtime.Register("EXTRA_DISCONNECTED_REASON", ApiSince=37)>]
val mutable ExtraDisconnectedReason : string
欄位值
實作
- 屬性
備註
在BluetoothA2dp.ACTION_CONNECTION_STATE_CHANGED intents中用作連接失敗的額外欄位。 該值為 BluetoothStatusCodes.SUCCESS,;BluetoothStatusCodes.ERROR_UNKNOWN,;BluetoothStatusCodes.ERROR_INSUFFICIENT_RESOURCES,;BluetoothStatusCodes.ERROR_SDP_DISCOVERY_FAILED,;BluetoothStatusCodes.ERROR_STREAM_CONNECTION_FAILED,;BluetoothStatusCodes.ERROR_ROLE_SWITCH_FAILED,;BluetoothStatusCodes.ERROR_AVDTP_DISCOVERY_FAILED。
Android 參考資料。android.bluetooth.BluetoothA2dp.EXTRA_DISCONNECTED_REASON
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。