BluetoothSocket.InputStream 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與這個 socket 相關的輸入串流。
public System.IO.Stream? InputStream { [Android.Runtime.Register("getInputStream", "()Ljava/io/InputStream;", "")] get; }
[<get: Android.Runtime.Register("getInputStream", "()Ljava/io/InputStream;", "")>]
member this.InputStream : System.IO.Stream
屬性值
輸入串流 (InputStream)
- 屬性
例外狀況
備註
取得與這個 socket 相關的輸入串流。
即使 socket 尚未連接,輸入串流仍會回傳,但對該串流的操作會觸發 IOException,直到相關套接字連接。
Java 文件 android.bluetooth.BluetoothSocket.getInputStream()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。