TetheringInterface 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
參數
- iface
- String
- 屬性
備註
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
參數
- iface
- String
- softApConfig
- SoftApConfiguration
- 屬性