Partager via


BluetoothSocket.InputStream Property

Definition

Get the input stream associated with this 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

Property Value

InputStream

Attributes

Exceptions

Remarks

Get the input stream associated with this socket.

The input stream will be returned even if the socket is not yet connected, but operations on that stream will throw IOException until the associated socket is connected.

Java documentation for android.bluetooth.BluetoothSocket.getInputStream().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to