TetheringInterface Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TetheringInterface(TetheringManagerTetheringType, String) |
Initializes a new instance of |
| TetheringInterface(TetheringManagerTetheringType, String, SoftApConfiguration) |
Initializes a new instance of |
TetheringInterface(TetheringManagerTetheringType, String)
Initializes a new instance of 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
Parameters
Value is one of the following: TetheringManager.TETHERING_WIFI
- iface
- String
The non-null name of the tethering interface.
- Attributes
Remarks
Java documentation for android.net.TetheringInterface.TetheringInterface(int, java.lang.String).
Applies to
TetheringInterface(TetheringManagerTetheringType, String, SoftApConfiguration)
Initializes a new instance of 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
Parameters
Value is one of the following: TetheringManager.TETHERING_WIFI
- iface
- String
The non-null name of the tethering interface.
- softApConfig
- SoftApConfiguration
The optional Wi-Fi access-point configuration associated with this interface.
- Attributes