語言

UsbEndpoint.Direction 屬性

定義

回傳端點的方向。

public virtual Android.Hardware.Usb.UsbAddressing Direction { [Android.Runtime.Register("getDirection", "()I", "GetGetDirectionHandler")] get; }
[<get: Android.Runtime.Register("getDirection", "()I", "GetGetDirectionHandler")>]
member this.Direction : Android.Hardware.Usb.UsbAddressing

屬性值

終點方向

屬性

備註

回傳端點的方向。 如果方向是主機到裝置,則UsbConstants#USB_DIR_IN回傳UsbConstants#USB_DIR_OUT,如果方向是裝置到主機。

Java 文件 android.hardware.usb.UsbEndpoint.getDirection()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於