IT. Expert System.

Android Reference

MediaRouter.UserRouteInfo


android.media

Class MediaRouter.UserRouteInfo

    • Method Detail

      • setName

        public void setName(CharSequence name)
        Set the user-visible name of this route.
        Parameters:
        name - Name to display to the user to describe this route
      • setName

        public void setName(int resId)
        Set the user-visible name of this route.
        Parameters:
        resId - Resource ID of the name to display to the user to describe this route
      • setStatus

        public void setStatus(CharSequence status)
        Set the current user-visible status for this route.
        Parameters:
        status - Status to display to the user to describe what the endpoint of this route is currently doing
      • setRemoteControlClient

        public void setRemoteControlClient(RemoteControlClient rcc)
        Set the RemoteControlClient responsible for reporting playback info for this user route.

        If this route manages remote playback, the data exposed by this RemoteControlClient will be used to reflect and update information such as route volume info in related UIs.

        The RemoteControlClient must have been previously registered with AudioManager.registerRemoteControlClient(RemoteControlClient).

        Parameters:
        rcc - RemoteControlClient associated with this route
      • setIconDrawable

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

        public void setIconResource(int resId)
        Set an icon that will be used to represent this route. The system may use this icon in picker UIs or similar.
        Parameters:
        resId - Resource ID of an icon drawable to use to represent this route
      • setVolumeCallback

        public void setVolumeCallback(MediaRouter.VolumeCallback vcb)
        Set a callback to be notified of volume update requests
        Parameters:
        vcb -
      • setVolume

        public void setVolume(int volume)
        Defines at what volume the playback associated with this route is performed (for user feedback purposes). This information is only used when the playback is not local.
        Parameters:
        volume -
      • setVolumeMax

        public void setVolumeMax(int volumeMax)
        Defines the maximum volume at which the playback associated with this route is performed (for user feedback purposes). This information is only used when the playback is not local.
        Parameters:
        volumeMax -
      • setPlaybackStream

        public void setPlaybackStream(int stream)
        Defines over what stream type the media is presented.
        Parameters:
        stream -


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: 714 / 158767174. Delta: 0.09127 с