A convenience function to check if the given this is a particular type (ie wired, Wi-Fi, ppp, etc).
Checks the type property of the connection and matches that against
type
.
this |
the Connection |
type |
a setting name to check the connection's type against (like SETTING_NAME or SETTING_NAME) |
|