Android.App.MediaRouteActionProvider Class
The media route action provider displays a Android.App.MediaRouteButton in the application's Android.App.ActionBar to allow the user to select routes and to control the currently selected route.

See Also: MediaRouteActionProvider Members

Syntax

[Android.Runtime.Register("android/app/MediaRouteActionProvider", DoNotGenerateAcw=true)]
public class MediaRouteActionProvider : Android.Views.ActionProvider

Remarks

The media route action provider displays a Android.App.MediaRouteButton in the application's Android.App.ActionBar to allow the user to select routes and to control the currently selected route.

The application must specify the kinds of routes that the user should be allowed to select by specifying the route types with the MediaRouteActionProvider.SetRouteTypes(Android.Media.MediaRouteType) method.

Refer to Android.App.MediaRouteButton for a description of the button that will appear in the action bar menu. Note that instead of disabling the button when no routes are available, the action provider will instead make the menu item invisible. In this way, the button will only be visible when it is possible for the user to discover and select a matching route.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0