WifiResultParser
Parses a WIFI configuration string. Strings will be of the form:
WIFI:T:[network type];S:[network SSID];P:[network password];H:[hidden?];;
For WPA2 enterprise (EAP), strings will be of the form:
WIFI:T:WPA2-EAP;S:[network SSID];H:[hidden?];E:[EAP method];PH2:[Phase 2 method];A:[anonymous identity];I:[username];P:[password];;
"EAP method" can e.g. be "TTLS" or "PWD" and "Phase 2 method" can e.g. be "MSCHAPV2".
The fields can appear in any order. Only "S:" is required.
Functions
Link copied to clipboard
Attempts to parse the raw Result's contents as a particular type of information (email, URL, etc.) and return a ParsedResult encapsulating the result of parsing.