TetheringInterface 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| TetheringInterface(TetheringManagerTetheringType, String) |
初始化新实例 。 |
| TetheringInterface(TetheringManagerTetheringType, String, SoftApConfiguration) |
初始化新实例 。 |
TetheringInterface(TetheringManagerTetheringType, String)
初始化新实例 。TetheringInterface
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)]
public TetheringInterface(Android.Net.TetheringManagerTetheringType type, string iface);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)>]
new Android.Net.TetheringInterface : Android.Net.TetheringManagerTetheringType * string -> Android.Net.TetheringInterface
参数
值为下列值之一: Wifi
- iface
- String
连接接口的非 null 名称。
- 特性
注解
Java文档android.net.TetheringInterface.TetheringInterface(int, java.lang.String)。
适用于
TetheringInterface(TetheringManagerTetheringType, String, SoftApConfiguration)
初始化新实例 。TetheringInterface
[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/net/wifi/SoftApConfiguration;)V", "", ApiSince=36)]
public TetheringInterface(Android.Net.TetheringManagerTetheringType type, string iface, Android.Net.Wifi.SoftApConfiguration? softApConfig);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/net/wifi/SoftApConfiguration;)V", "", ApiSince=36)>]
new Android.Net.TetheringInterface : Android.Net.TetheringManagerTetheringType * string * Android.Net.Wifi.SoftApConfiguration -> Android.Net.TetheringInterface
参数
值为下列值之一: Wifi
- iface
- String
连接接口的非 null 名称。
- softApConfig
- SoftApConfiguration
与此接口关联的可选 Wi-Fi 接入点配置。
- 特性