Android.Media.MediaRouterCallbackFlags Enumeration
Enumerates values returned by several types and taken as a parameter of the MediaRouter.AddCallback member.

Syntax

[System.Flags]
public enum MediaRouterCallbackFlags

Remarks

Enumerates values returned by the following: and taken as a parameter of the MediaRouter.AddCallback member.

Members

Member NameDescription
PerformActiveScan

Flag for MediaRouter.AddCallback(MediaRouteType, Android.Media.MediaRouter.Callback): Actively scan for routes while this callback is registered.

When this flag is specified, the media router will actively scan for new routes. Certain routes, such as wifi display routes, may not be discoverable except when actively scanning. This flag is typically used when the route picker dialog has been opened by the user to ensure that the route information is up to date.

Active scanning may consume a significant amount of power and may have intrusive effects on wireless connectivity. Therefore it is important that active scanning only be requested when it is actually needed to satisfy a user request to discover and select a new route.

UnfilteredEvents

Flag for MediaRouter.AddCallback(MediaRouteType, Android.Media.MediaRouter.Callback): Do not filter route events.

When this flag is specified, the callback will be invoked for event that affect any route event if they do not match the callback's associated media route selector.

Requirements

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