Android Guides | Samples

Android.Media.MediaRouter.UserRouteInfo Class

Information about a route that the application may define and modify.

See Also: MediaRouter+UserRouteInfo

Syntax

[Android.Runtime.Register("android/media/MediaRouter$UserRouteInfo", DoNotGenerateAcw=true)]
public class MediaRouter.UserRouteInfo : MediaRouter+RouteInfo

Remarks

Information about a route that the application may define and modify. A user route defaults to RouteInfo.PlaybackTypeRemote and RouteInfo.PlaybackVolumeFixed.

See Also

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16

The members of Android.Media.MediaRouter.UserRouteInfo are listed below.

See Also: MediaRouter+RouteInfo

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

RemoteControlClientRemoteControlClient. Retrieve the RemoteControlClient associated with this route, if one has been set.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

SetDescription(ICharSequence)
Set the user-visible description of this route.
SetDescription(String)
SetIconDrawable(Drawable)
Set an icon that will be used to represent this route.
SetIconResource(Int32)
Set an icon that will be used to represent this route.
SetName(ICharSequence)
Set the user-visible name of this route.
SetName(Int32)
Set the user-visible name of this route.
SetName(String)
SetPlaybackStream(Stream)
Defines over what stream type the media is presented.
SetPlaybackStream(Int32)
SetPlaybackType(MediaPlaybackType)
Defines whether playback associated with this route is "local" (RouteInfo.PlaybackTypeLocal) or "remote" (RouteInfo.PlaybackTypeRemote).
SetStatus(ICharSequence)
Set the current user-visible status for this route.
SetStatus(String)
SetVolume(Int32)
Defines at what volume the playback associated with this route is performed (for user feedback purposes).
SetVolumeCallback(MediaRouter+VolumeCallback)
Set a callback to be notified of volume update requests
SetVolumeHandling(VolumeHandling)
Defines whether volume for the playback associated with this route is fixed (RouteInfo.PlaybackVolumeFixed) or can modified (RouteInfo.PlaybackVolumeVariable).
SetVolumeMax(Int32)
Defines the maximum volume at which the playback associated with this route is performed (for user feedback purposes).