InterfaceType Enum
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.
Identifies station, hotspot, Wi-Fi Aware, and Wi-Fi Direct interfaces.
public enum InterfaceType
type InterfaceType =
- Inheritance
-
InterfaceType
Fields
| Name | Value | Description |
|---|---|---|
| Sta | 0 | Wi-Fi interface of type STA (station/client Wi-Fi infrastructure device). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Ap | 1 | Wi-Fi interface of type AP (access point Wi-Fi infrastructure device). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Aware | 2 | Wi-Fi interface of type Wi-Fi Aware (aka NAN). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Direct | 3 | Wi-Fi interface of type Wi-Fi Direct (aka P2P). Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
These codes describe the interface reported by InterfaceType. Each code identifies one interface type.