IT. Expert System.

Android Reference

MediaRouter.RouteGroup


android.media

Class MediaRouter.RouteGroup

  • Enclosing class:
    MediaRouter


    public static class MediaRouter.RouteGroup
    extends MediaRouter.RouteInfo
    Information about a route that consists of multiple other routes in a group.
    • Method Detail

      • addRoute

        public void addRoute(MediaRouter.RouteInfo route)
        Add a route to this group. The route must not currently belong to another group.
        Parameters:
        route - route to add to this group
      • addRoute

        public void addRoute(MediaRouter.RouteInfo route,
                    int insertAt)
        Add a route to this group before the specified index.
        Parameters:
        route - route to add
        insertAt - insert the new route before this index
      • removeRoute

        public void removeRoute(MediaRouter.RouteInfo route)
        Remove a route from this group.
        Parameters:
        route - route to remove
      • removeRoute

        public void removeRoute(int index)
        Remove the route at the specified index from this group.
        Parameters:
        index - index of the route to remove
      • getRouteCount

        public int getRouteCount()
        Returns:
        The number of routes in this group
      • getRouteAt

        public MediaRouter.RouteInfo getRouteAt(int index)
        Return the route in this group at the specified index
        Parameters:
        index - Index to fetch
        Returns:
        The route at index
      • setIconDrawable

        public void setIconDrawable(Drawable icon)
        Set an icon that will be used to represent this group. The system may use this icon in picker UIs or similar.
        Parameters:
        icon - icon drawable to use to represent this group
      • setIconResource

        public void setIconResource(int resId)
        Set an icon that will be used to represent this group. The system may use this icon in picker UIs or similar.
        Parameters:
        resId - Resource ID of an icon drawable to use to represent this group
      • 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 MediaRouter.RouteInfo
        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: 154 / 158697663. Delta: 0.04662 с