IT. Expert System.

Android Reference

InterfaceConfiguration


android.net

Class InterfaceConfiguration

  • All Implemented Interfaces:
    Parcelable


    public class InterfaceConfiguration
    extends Object
    implements Parcelable
    Configuration details for a network interface.
    • Constructor Detail

      • InterfaceConfiguration

        public InterfaceConfiguration()
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • hasFlag

        public boolean hasFlag(String flag)
      • clearFlag

        public void clearFlag(String flag)
      • setFlag

        public void setFlag(String flag)
      • setInterfaceUp

        public void setInterfaceUp()
        Set flags to mark interface as up.
      • setInterfaceDown

        public void setInterfaceDown()
        Set flags to mark interface as down.
      • setLinkAddress

        public void setLinkAddress(LinkAddress addr)
      • getHardwareAddress

        public String getHardwareAddress()
      • setHardwareAddress

        public void setHardwareAddress(String hwAddr)
      • isActive

        public boolean isActive()
        This function determines if the interface is up and has a valid IP configuration (IP address has a non zero octet). Note: It is supposed to be quick and hence should not initiate any network activity
      • describeContents

        public int describeContents()
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 416 / 158856330. Delta: 0.03945 с