语言

NetworkCapabilities.TransportUsb 字段

定义

注意

This constant will be removed in the future version. Use Android.Net.TransportType enum directly instead of this field.

指示此网络使用 USB 传输。

[Android.Runtime.Register("TRANSPORT_USB", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.TransportType enum directly instead of this field.", true)]
public const Android.Net.TransportType TransportUsb = 8;
[<Android.Runtime.Register("TRANSPORT_USB", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.TransportType enum directly instead of this field.", true)>]
val mutable TransportUsb : Android.Net.TransportType

字段值

Value = 8

实现

特性

注解

Java文档android.net.NetworkCapabilities.TRANSPORT_USB。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于