IT. Expert System.

Android Reference

WifiDisplayStatus


android.hardware.display

Class WifiDisplayStatus

  • All Implemented Interfaces:
    Parcelable


    public final class WifiDisplayStatus
    extends Object
    implements Parcelable
    Describes the current global state of Wifi display connectivity, including the currently connected display and all available or remembered displays.

    This object is immutable.

    • Field Detail

      • FEATURE_STATE_UNAVAILABLE

        public static final int FEATURE_STATE_UNAVAILABLE
        Feature state: Wifi display is not available on this device.
        See Also:
        Constant Field Values
      • FEATURE_STATE_DISABLED

        public static final int FEATURE_STATE_DISABLED
        Feature state: Wifi display is disabled, probably because Wifi is disabled.
        See Also:
        Constant Field Values
      • FEATURE_STATE_OFF

        public static final int FEATURE_STATE_OFF
        Feature state: Wifi display is turned off in settings.
        See Also:
        Constant Field Values
      • FEATURE_STATE_ON

        public static final int FEATURE_STATE_ON
        Feature state: Wifi display is turned on in settings.
        See Also:
        Constant Field Values
      • SCAN_STATE_NOT_SCANNING

        public static final int SCAN_STATE_NOT_SCANNING
        Scan state: Not currently scanning.
        See Also:
        Constant Field Values
      • SCAN_STATE_SCANNING

        public static final int SCAN_STATE_SCANNING
        Scan state: Currently scanning.
        See Also:
        Constant Field Values
      • DISPLAY_STATE_NOT_CONNECTED

        public static final int DISPLAY_STATE_NOT_CONNECTED
        Display state: Not connected.
        See Also:
        Constant Field Values
      • DISPLAY_STATE_CONNECTING

        public static final int DISPLAY_STATE_CONNECTING
        Display state: Connecting to active display.
        See Also:
        Constant Field Values
      • DISPLAY_STATE_CONNECTED

        public static final int DISPLAY_STATE_CONNECTED
        Display state: Connected to active display.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WifiDisplayStatus

        public WifiDisplayStatus()
      • WifiDisplayStatus

        public WifiDisplayStatus(int featureState,
                         int scanState,
                         int activeDisplayState,
                         WifiDisplay activeDisplay,
                         WifiDisplay[] availableDisplays,
                         WifiDisplay[] rememberedDisplays)
    • Method Detail

      • getFeatureState

        public int getFeatureState()
        Returns the state of the Wifi display feature on this device.

        The value of this property reflects whether the device supports the Wifi display, whether it has been enabled by the user and whether the prerequisites for connecting to displays have been met.

      • getActiveDisplay

        public WifiDisplay getActiveDisplay()
        Gets the Wifi display that is currently active. It may be connecting or connected.
      • getAvailableDisplays

        public WifiDisplay[] getAvailableDisplays()
        Gets the list of all available Wifi displays as reported by the most recent scan, never null.

        Some of these displays may already be remembered, others may be unknown.

      • getRememberedDisplays

        public WifiDisplay[] getRememberedDisplays()
        Gets the list of all remembered Wifi displays, never null.

        Not all remembered displays will necessarily be available.

      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        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.
      • 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.


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: 1666 / 96487465. Delta: 0.02950 с