CompanionDeviceManager.AttachSystemDataTransport Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attach a bidirectional communication stream to be used as a transport channel for transporting system data between associated devices.
[Android.Runtime.Register("attachSystemDataTransport", "(ILjava/io/InputStream;Ljava/io/OutputStream;)V", "", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.DELIVER_COMPANION_MESSAGES")]
public void AttachSystemDataTransport (int associationId, System.IO.Stream in, System.IO.Stream out);
[<Android.Runtime.Register("attachSystemDataTransport", "(ILjava/io/InputStream;Ljava/io/OutputStream;)V", "", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.DELIVER_COMPANION_MESSAGES")>]
member this.AttachSystemDataTransport : int * System.IO.Stream * System.IO.Stream -> unit
Parameters
- associationId
- Int32
id of the associated device.
- in
- Stream
Already connected stream of data incoming from remote associated device.
- out
- Stream
Already connected stream of data outgoing to remote associated device.
- Attributes
Remarks
Attach a bidirectional communication stream to be used as a transport channel for transporting system data between associated devices.
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.