UsbEndpoint.Direction 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳端點的方向。
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 所創建與分享的作品,並依授權條款所描述的使用進行修改。