IT. Expert System.

Android Reference

MediaRouter.Callback


android.media

Class MediaRouter.Callback

    • Constructor Detail

      • MediaRouter.Callback

        public MediaRouter.Callback()
    • Method Detail

      • onRouteSelected

        public abstract void onRouteSelected(MediaRouter router,
                           int type,
                           MediaRouter.RouteInfo info)
        Called when the supplied route becomes selected as the active route for the given route type.
        Parameters:
        router - the MediaRouter reporting the event
        type - Type flag set indicating the routes that have been selected
        info - Route that has been selected for the given route types
      • onRouteUnselected

        public abstract void onRouteUnselected(MediaRouter router,
                             int type,
                             MediaRouter.RouteInfo info)
        Called when the supplied route becomes unselected as the active route for the given route type.
        Parameters:
        router - the MediaRouter reporting the event
        type - Type flag set indicating the routes that have been unselected
        info - Route that has been unselected for the given route types
      • onRouteAdded

        public abstract void onRouteAdded(MediaRouter router,
                        MediaRouter.RouteInfo info)
        Called when a route for the specified type was added.
        Parameters:
        router - the MediaRouter reporting the event
        info - Route that has become available for use
      • onRouteRemoved

        public abstract void onRouteRemoved(MediaRouter router,
                          MediaRouter.RouteInfo info)
        Called when a route for the specified type was removed.
        Parameters:
        router - the MediaRouter reporting the event
        info - Route that has been removed from availability
      • onRouteChanged

        public abstract void onRouteChanged(MediaRouter router,
                          MediaRouter.RouteInfo info)
        Called when an aspect of the indicated route has changed.

        This will not indicate that the types supported by this route have changed, only that cosmetic info such as name or status have been updated.

        Parameters:
        router - the MediaRouter reporting the event
        info - The route that was changed
      • onRouteGrouped

        public abstract void onRouteGrouped(MediaRouter router,
                          MediaRouter.RouteInfo info,
                          MediaRouter.RouteGroup group,
                          int index)
        Called when a route is added to a group.
        Parameters:
        router - the MediaRouter reporting the event
        info - The route that was added
        group - The group the route was added to
        index - The route index within group that info was added at
      • onRouteUngrouped

        public abstract void onRouteUngrouped(MediaRouter router,
                            MediaRouter.RouteInfo info,
                            MediaRouter.RouteGroup group)
        Called when a route is removed from a group.
        Parameters:
        router - the MediaRouter reporting the event
        info - The route that was removed
        group - The group the route was removed from
      • onRouteVolumeChanged

        public abstract void onRouteVolumeChanged(MediaRouter router,
                                MediaRouter.RouteInfo info)
        Called when a route's volume changes.
        Parameters:
        router - the MediaRouter reporting the event
        info - The route with altered volume
      • onRoutePresentationDisplayChanged

        public void onRoutePresentationDisplayChanged(MediaRouter router,
                                             MediaRouter.RouteInfo info)
        Called when a route's presentation display changes.

        This method is called whenever the route's presentation display becomes available, is removes or has changes to some of its properties (such as its size).

        Parameters:
        router - the MediaRouter reporting the event
        info - The route whose presentation display changed
        See Also:
        MediaRouter.RouteInfo.getPresentationDisplay()


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: 125 / 158695276. Delta: 0.05186 с