Android Guides | Samples

Android.Media.MediaRouter.RouteInfo Class

Information about a media route.

See Also: MediaRouter+RouteInfo

Syntax

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

Remarks

Information about a media route.

[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.RouteInfo are listed below.

See Also: Object

Protected Constructors

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

Public Fields

const
PlaybackTypeLocalMediaPlaybackType (0). The default playback type, "local", indicating the presentation of the media is happening on the same device (e.g. a phone, a tablet) as where it is controlled from.
const
PlaybackTypeRemoteMediaPlaybackType (1). A playback type indicating the presentation of the media is happening on a different device (i.e. the remote device) than where it is controlled from.
const
PlaybackVolumeFixedVolumeHandling (0). Playback information indicating the playback volume is fixed, i.e. it cannot be controlled from this object.
const
PlaybackVolumeVariableVolumeHandling (1). Playback information indicating the playback volume is variable and can be controlled from this object.

Public Properties

[read-only]
CategoryMediaRouter+RouteCategory.
[read-only]
DescriptionString.
[read-only]
DescriptionFormattedICharSequence. Gets the user-visible description of the route.
[read-only]
GroupMediaRouter+RouteGroup.
[read-only]
IconDrawableDrawable. Get the icon representing this route.
[read-only]
IsConnectingBoolean. Returns true if the route is in the process of connecting and is not yet ready for use.
[read-only]
IsEnabledBoolean. Returns true if this route is enabled and may be selected.
[read-only]
NameString.
[read-only]
NameFormattedICharSequence. Gets the user-visible name of the route.
[read-only]
PlaybackStreamStream.
[read-only]
PlaybackTypeMediaPlaybackType.
[read-only]
PresentationDisplayDisplay. Gets the Display that should be used by the application to show a Presentation on an external display when this route is selected.
[read-only]
StatusString.
[read-only]
StatusFormattedICharSequence.
[read-only]
SupportedTypesMediaTrackType.
TagObject.
[read-only]
VolumeInt32. Return the current volume for this route.
[read-only]
VolumeHandlingVolumeHandling.
[read-only]
VolumeMaxInt32.

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

GetName(Context) : String
GetNameFormatted(Context) : ICharSequence
Return the properly localized/resource user-visible name of this route.
RequestSetVolume(Int32)
Request a volume change for this route.
RequestUpdateVolume(Int32)
Request an incremental volume update for this route.