Android.Media.MediaRouter Members

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

See Also: Inherited members from Java.Lang.Object

Protected Constructors

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

Public Fields

const
CallbackFlagPerformActiveScanMediaRouterCallbackFlags (1). Flag for MediaRouter.AddCallback(MediaRouteType, .Callback): Actively scan for routes while this callback is registered.
const
CallbackFlagUnfilteredEventsMediaRouterCallbackFlags (2). Flag for MediaRouter.AddCallback(MediaRouteType, .Callback): Do not filter route events.
const
RouteTypeLiveAudioMediaRouteType (1). Route type flag for live audio.
const
RouteTypeLiveVideoMediaRouteType (2). Route type flag for live video.
const
RouteTypeUserMediaRouteType (8388608). Route type flag for application-specific usage.

Public Properties

[read-only]
CategoryCountint. Return the number of NoType:android/media/MediaRouter$RouteCategory;Href=../../../reference/android/media/MediaRouter.RouteCategory.html currently represented by routes known to this MediaRouter.
[read-only]
DefaultRouteMediaRouter.RouteInfo. Gets the default route for playing media content on the system.
[read-only]
RouteCountint. Return the number of NoType:android/media/MediaRouter$RouteInfo;Href=../../../reference/android/media/MediaRouter.RouteInfo.html currently known to this MediaRouter.

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

AddCallback(MediaRouteType, MediaRouter.Callback)
Add a callback to listen to events about specific kinds of media routes.
AddCallback(MediaRouteType, MediaRouter.Callback, MediaRouterCallbackFlags)
Add a callback to listen to events about specific kinds of media routes.
AddUserRoute(MediaRouter.UserRouteInfo)
Add an app-specified route for media to the MediaRouter.
ClearUserRoutes()
Remove all app-specified routes from the MediaRouter.
CreateRouteCategory(Java.Lang.ICharSequence, bool) : MediaRouter.RouteCategory
Create a new route category.
CreateRouteCategory(int, bool) : MediaRouter.RouteCategory
Create a new route category.
CreateRouteCategory(string, bool) : MediaRouter.RouteCategory
Documentation for this section has not yet been entered.
CreateUserRoute(MediaRouter.RouteCategory) : MediaRouter.UserRouteInfo
Create a new user route that may be modified and registered for use by the application.
GetCategoryAt(int) : MediaRouter.RouteCategory
Return the NoType:android/media/MediaRouter$RouteCategory;Href=../../../reference/android/media/MediaRouter.RouteCategory.html at the given index.
GetRouteAt(int) : MediaRouter.RouteInfo
Return the route at the specified index.
GetSelectedRoute(MediaRouteType) : MediaRouter.RouteInfo
Return the currently selected route for any of the given types
RemoveCallback(MediaRouter.Callback)
Remove the specified callback.
RemoveUserRoute(MediaRouter.UserRouteInfo)
Remove an app-specified route for media from the MediaRouter.
SelectRoute(MediaRouteType, MediaRouter.RouteInfo)
Select the specified route to use for output of the given media types.