HidDevice.Close 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.
Releases all system resources and closes the connection to the HID device.
[Android.Runtime.Register("close", "()V", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_HID")]
public void Close();
[<Android.Runtime.Register("close", "()V", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_HID")>]
abstract member Close : unit -> unit
override this.Close : unit -> unit
Implements
- Attributes
Remarks
Releases all system resources and closes the connection to the HID device.
This method is synchronous and idempotent; calling it on an already closed device has no effect. Requires Manifest.permission.ACCESS_HID
Android reference for android.hardware.hid.HidDevice.close.
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.