語言

MtpDevice.DeviceName 屬性

定義

回傳 USB 裝置名稱 這會回傳與 android.hardware.usb.UsbDevice#getDeviceName 裝置的 android.hardware.usb.UsbDevice

public string DeviceName { [Android.Runtime.Register("getDeviceName", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getDeviceName", "()Ljava/lang/String;", "")>]
member this.DeviceName : string

屬性值

裝置名稱

屬性

備註

回傳 USB 裝置名稱 這會回傳與 android.hardware.usb.UsbDevice#getDeviceName 裝置的 android.hardware.usb.UsbDevice

的 android.mtp.MtpDevice.getDeviceName()Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於