Android Guides | Samples

Android.Media.MediaRouter.SimpleCallback Class

Stub implementation of MediaRouter+Callback.

See Also: MediaRouter+SimpleCallback

Syntax

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

Remarks

Stub implementation of MediaRouter+Callback. Each abstract method is defined as a no-op. Override just the ones you need.

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

See Also: MediaRouter+Callback

Public Constructors

Protected Constructors

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

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

override
OnRouteAdded(MediaRouter, MediaRouter+RouteInfo)
Called when a route for the specified type was added.
override
OnRouteChanged(MediaRouter, MediaRouter+RouteInfo)
Called when an aspect of the indicated route has changed.
override
OnRouteGrouped(MediaRouter, MediaRouter+RouteInfo, MediaRouter+RouteGroup, Int32)
Called when a route is added to a group.
override
OnRouteRemoved(MediaRouter, MediaRouter+RouteInfo)
Called when a route for the specified type was removed.
override
OnRouteSelected(MediaRouter, MediaRouteType, MediaRouter+RouteInfo)
Called when the supplied route becomes selected as the active route for the given route type.
override
OnRouteUngrouped(MediaRouter, MediaRouter+RouteInfo, MediaRouter+RouteGroup)
Called when a route is removed from a group.
override
OnRouteUnselected(MediaRouter, MediaRouteType, MediaRouter+RouteInfo)
Called when the supplied route becomes unselected as the active route for the given route type.
override
OnRouteVolumeChanged(MediaRouter, MediaRouter+RouteInfo)
Called when a route's volume changes.