UsbManager.DeviceList プロパティ

定義

現在接続されているすべての USB デバイスを含む HashMap を返します。

public virtual System.Collections.Generic.IDictionary<string,Android.Hardware.Usb.UsbDevice>? DeviceList { [Android.Runtime.Register("getDeviceList", "()Ljava/util/HashMap;", "GetGetDeviceListHandler")] get; }
[<get: Android.Runtime.Register("getDeviceList", "()Ljava/util/HashMap;", "GetGetDeviceListHandler")>]
member this.DeviceList : System.Collections.Generic.IDictionary<string, Android.Hardware.Usb.UsbDevice>

プロパティ値

接続されているすべての USB デバイスを含む HashMap。

属性

注釈

現在接続されているすべての USB デバイスを含む HashMap を返します。 USB デバイス名は、返される HashMap のキーです。 デバイスが接続されていない場合、または USB ホスト モードが非アクティブまたはサポートされていない場合、結果は空になります。

android.hardware.usb.UsbManager.getDeviceList()Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象