语言

TetheringInterface 构造函数

定义

重载

名称 说明
TetheringInterface(TetheringManagerTetheringType, String)

初始化新实例 。TetheringInterface

TetheringInterface(TetheringManagerTetheringType, String, SoftApConfiguration)

初始化新实例 。TetheringInterface

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

参数

type
TetheringManagerTetheringType

值为下列值之一: 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

参数

type
TetheringManagerTetheringType

值为下列值之一: Wifi

iface
String

连接接口的非 null 名称。

softApConfig
SoftApConfiguration

与此接口关联的可选 Wi-Fi 接入点配置。

特性

注解

Java文档android.net.TetheringInterface.TetheringInterface(int, java.lang.String, android.net.wifi.SoftApConfiguration)。

适用于