Class MediaRoute2ProviderService
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
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
REASON_INVALID_COMMAND
public static int REASON_INVALID_COMMAND { get; set; }
Property Value
REASON_NETWORK_ERROR
public static int REASON_NETWORK_ERROR { get; set; }
Property Value
REASON_REJECTED
public static int REASON_REJECTED { get; set; }
Property Value
REASON_ROUTE_NOT_AVAILABLE
public static int REASON_ROUTE_NOT_AVAILABLE { get; set; }
Property Value
REASON_UNKNOWN_ERROR
public static int REASON_UNKNOWN_ERROR { get; set; }
Property Value
REQUEST_ID_NONE
public static long REQUEST_ID_NONE { get; set; }
Property Value
SERVICE_INTERFACE
public static String SERVICE_INTERFACE { get; set; }
Property Value
Methods
CreatePoolableInstance()
HPA initializer for MediaRoute2ProviderService()
public static MediaRoute2ProviderService CreatePoolableInstance()
Returns
GetAllSessionInfo()
public List<RoutingSessionInfo> GetAllSessionInfo()
Returns
GetSessionInfo(String)
public RoutingSessionInfo GetSessionInfo(String arg0)
Parameters
Returns
NotifyRequestFailed(long, int)
public void NotifyRequestFailed(long arg0, int arg1)
Parameters
NotifyRoutes(Collection<MediaRoute2Info>)
public void NotifyRoutes(Collection<MediaRoute2Info> arg0)
Parameters
NotifySessionCreated(long, RoutingSessionInfo)
public void NotifySessionCreated(long arg0, RoutingSessionInfo arg1)
Parameters
arg0longarg1RoutingSessionInfo
NotifySessionReleased(String)
public void NotifySessionReleased(String arg0)
Parameters
NotifySessionUpdated(RoutingSessionInfo)
public void NotifySessionUpdated(RoutingSessionInfo arg0)
Parameters
OnCreateSession(long, String, String, Bundle)
public void OnCreateSession(long arg0, String arg1, String arg2, Bundle arg3)
Parameters
OnDeselectRoute(long, String, String)
public void OnDeselectRoute(long arg0, String arg1, String arg2)
Parameters
OnDiscoveryPreferenceChanged(RouteDiscoveryPreference)
public void OnDiscoveryPreferenceChanged(RouteDiscoveryPreference arg0)
Parameters
OnReleaseSession(long, String)
public void OnReleaseSession(long arg0, String arg1)
Parameters
OnSelectRoute(long, String, String)
public void OnSelectRoute(long arg0, String arg1, String arg2)
Parameters
OnSetRouteVolume(long, String, int)
public void OnSetRouteVolume(long arg0, String arg1, int arg2)
Parameters
OnSetSessionVolume(long, String, int)
public void OnSetSessionVolume(long arg0, String arg1, int arg2)
Parameters
OnTransferToRoute(long, String, String)
public void OnTransferToRoute(long arg0, String arg1, String arg2)