Added in API level 1
Summary:
Methods
| Inherited Methods
NetworkInterface
public
final
class
NetworkInterface
extends Object
| java.lang.Object | |
| ↳ | java.net.NetworkInterface |
This class represents a Network Interface made up of a name, and a list of IP addresses assigned to this interface. It is used to identify the local interface on which a multicast group is joined. Interfaces are normally known by names such as "le0".
Note that information about
NetworkInterfaces may be restricted. For example, non-system apps
will only have access to information about NetworkInterfaces that are
associated with an InetAddress.