IT. Expert System.

Android Reference

MediaRouter.RouteCategory


android.media

Class MediaRouter.RouteCategory

  • Enclosing class:
    MediaRouter


    public static class MediaRouter.RouteCategory
    extends Object
    Definition of a category of routes. All routes belong to a category.
    • Method Detail

      • getName

        public CharSequence getName()
        Returns:
        the name of this route category
      • getName

        public CharSequence getName(Context context)
        Return the properly localized/configuration dependent name of this RouteCategory.
        Parameters:
        context - Context to resolve name resources
        Returns:
        the name of this route category
      • getRoutes

        public List<MediaRouter.RouteInfo> getRoutes(List<MediaRouter.RouteInfo> out)
        Return the current list of routes in this category that have been added to the MediaRouter.

        This list will not include routes that are nested within RouteGroups. A RouteGroup is treated as a single route within its category.

        Parameters:
        out - a List to fill with the routes in this category. If this parameter is non-null, it will be cleared, filled with the current routes with this category, and returned. If this parameter is null, a new List will be allocated to report the category's current routes.
        Returns:
        A list with the routes in this category that have been added to the MediaRouter.
      • getSupportedTypes

        public int getSupportedTypes()
        Returns:
        Flag set describing the route types supported by this category
      • isGroupable

        public boolean isGroupable()
        Return whether or not this category supports grouping.

        If this method returns true, all routes obtained from this category via calls to MediaRouter.getRouteAt(int) will be MediaRouter.RouteGroups.

        Returns:
        true if this category supports
      • isSystem

        public boolean isSystem()
        Returns:
        true if this is the category reserved for system routes.
      • 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: 735 / 158767195. Delta: 0.10031 с