CompanionDeviceManager.DetachSystemDataTransport(Int32) 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.
Detach the transport channel that's previously attached for the associated device.
[Android.Runtime.Register("detachSystemDataTransport", "(I)V", "", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.DELIVER_COMPANION_MESSAGES")]
public void DetachSystemDataTransport (int associationId);
[<Android.Runtime.Register("detachSystemDataTransport", "(I)V", "", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.DELIVER_COMPANION_MESSAGES")>]
member this.DetachSystemDataTransport : int -> unit
Parameters
- associationId
- Int32
id of the associated device.
- Attributes
Remarks
Detach the transport channel that's previously attached for the associated device. The system will stop transferring any system data when this method is called.
Java documentation for android.companion.CompanionDeviceManager.detachSystemDataTransport(int)
.
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.