Android Guides | Samples

Android.App.MediaRouteButton Class

See Also: MediaRouteButton

Syntax

[Android.Runtime.Register("android/app/MediaRouteButton", DoNotGenerateAcw=true)]
public class MediaRouteButton : View

Remarks

Requirements

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

The members of Android.App.MediaRouteButton are listed below.

See Also: View

Public Constructors

Protected Constructors

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

Public Properties

RouteTypesMediaRouteType. Gets the media route types for filtering the routes that the user can select using the media route chooser dialog.

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

OnAttachedToWindow()
This is called when the view is attached to a window.
OnDetachedFromWindow()
This is called when the view is detached from a window.
SetExtendedSettingsClickListener(View+IOnClickListener)
ShowDialog()
Show the route chooser or controller dialog.

Public Events