Table of Contents

Class MediaRoute2ProviderService

Namespace
Android.Media
Assembly
MASES.Netdroid.dll
public class MediaRoute2ProviderService : Service, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
MediaRoute2ProviderService
Implements
Inherited Members
Extension Methods

Constructors

MediaRoute2ProviderService()

public MediaRoute2ProviderService()

MediaRoute2ProviderService(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MediaRoute2ProviderService(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

REASON_INVALID_COMMAND

public static int REASON_INVALID_COMMAND { get; set; }

Property Value

int

REASON_NETWORK_ERROR

public static int REASON_NETWORK_ERROR { get; set; }

Property Value

int

REASON_REJECTED

public static int REASON_REJECTED { get; set; }

Property Value

int

REASON_ROUTE_NOT_AVAILABLE

public static int REASON_ROUTE_NOT_AVAILABLE { get; set; }

Property Value

int

REASON_UNKNOWN_ERROR

public static int REASON_UNKNOWN_ERROR { get; set; }

Property Value

int

REQUEST_ID_NONE

public static long REQUEST_ID_NONE { get; set; }

Property Value

long

SERVICE_INTERFACE

public static String SERVICE_INTERFACE { get; set; }

Property Value

String

Methods

CreatePoolableInstance()

HPA initializer for MediaRoute2ProviderService()

public static MediaRoute2ProviderService CreatePoolableInstance()

Returns

MediaRoute2ProviderService

GetAllSessionInfo()

public List<RoutingSessionInfo> GetAllSessionInfo()

Returns

List<RoutingSessionInfo>

List

GetSessionInfo(String)

public RoutingSessionInfo GetSessionInfo(String arg0)

Parameters

arg0 String

String

Returns

RoutingSessionInfo

RoutingSessionInfo

NotifyRequestFailed(long, int)

public void NotifyRequestFailed(long arg0, int arg1)

Parameters

arg0 long

long

arg1 int

int

NotifyRoutes(Collection<MediaRoute2Info>)

public void NotifyRoutes(Collection<MediaRoute2Info> arg0)

Parameters

arg0 Collection<MediaRoute2Info>

Collection

NotifySessionCreated(long, RoutingSessionInfo)

public void NotifySessionCreated(long arg0, RoutingSessionInfo arg1)

Parameters

arg0 long

long

arg1 RoutingSessionInfo

RoutingSessionInfo

NotifySessionReleased(String)

public void NotifySessionReleased(String arg0)

Parameters

arg0 String

String

NotifySessionUpdated(RoutingSessionInfo)

public void NotifySessionUpdated(RoutingSessionInfo arg0)

Parameters

arg0 RoutingSessionInfo

RoutingSessionInfo

OnCreateSession(long, String, String, Bundle)

public void OnCreateSession(long arg0, String arg1, String arg2, Bundle arg3)

Parameters

arg0 long

long

arg1 String

String

arg2 String

String

arg3 Bundle

Bundle

OnDeselectRoute(long, String, String)

public void OnDeselectRoute(long arg0, String arg1, String arg2)

Parameters

arg0 long

long

arg1 String

String

arg2 String

String

OnDiscoveryPreferenceChanged(RouteDiscoveryPreference)

public void OnDiscoveryPreferenceChanged(RouteDiscoveryPreference arg0)

Parameters

arg0 RouteDiscoveryPreference

RouteDiscoveryPreference

OnReleaseSession(long, String)

public void OnReleaseSession(long arg0, String arg1)

Parameters

arg0 long

long

arg1 String

String

OnSelectRoute(long, String, String)

public void OnSelectRoute(long arg0, String arg1, String arg2)

Parameters

arg0 long

long

arg1 String

String

arg2 String

String

OnSetRouteVolume(long, String, int)

public void OnSetRouteVolume(long arg0, String arg1, int arg2)

Parameters

arg0 long

long

arg1 String

String

arg2 int

int

OnSetSessionVolume(long, String, int)

public void OnSetSessionVolume(long arg0, String arg1, int arg2)

Parameters

arg0 long

long

arg1 String

String

arg2 int

int

OnTransferToRoute(long, String, String)

public void OnTransferToRoute(long arg0, String arg1, String arg2)

Parameters

arg0 long

long

arg1 String

String

arg2 String

String