Class RemoteControlClient
[Obsolete("Deprecated in JVM")]
public class RemoteControlClient : JVMBridgeBase<RemoteControlClient>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
RemoteControlClient
- Implements
- Extension Methods
Constructors
RemoteControlClient(PendingIntent)
[Obsolete("Deprecated in JVM")]
public RemoteControlClient(PendingIntent arg0)
Parameters
RemoteControlClient(PendingIntent, Looper)
[Obsolete("Deprecated in JVM")]
public RemoteControlClient(PendingIntent arg0, Looper arg1)
Parameters
arg0PendingIntentarg1Looper
RemoteControlClient(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 RemoteControlClient(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
FLAG_KEY_MEDIA_FAST_FORWARD
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_FAST_FORWARD { get; set; }
Property Value
FLAG_KEY_MEDIA_NEXT
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_NEXT { get; set; }
Property Value
FLAG_KEY_MEDIA_PAUSE
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_PAUSE { get; set; }
Property Value
FLAG_KEY_MEDIA_PLAY
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_PLAY { get; set; }
Property Value
FLAG_KEY_MEDIA_PLAY_PAUSE
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_PLAY_PAUSE { get; set; }
Property Value
FLAG_KEY_MEDIA_POSITION_UPDATE
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_POSITION_UPDATE { get; set; }
Property Value
FLAG_KEY_MEDIA_PREVIOUS
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_PREVIOUS { get; set; }
Property Value
FLAG_KEY_MEDIA_RATING
https://developer.android.com/reference/android/media/RemoteControlClient.html#FLAG_KEY_MEDIA_RATING
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_RATING { get; set; }
Property Value
FLAG_KEY_MEDIA_REWIND
https://developer.android.com/reference/android/media/RemoteControlClient.html#FLAG_KEY_MEDIA_REWIND
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_REWIND { get; set; }
Property Value
FLAG_KEY_MEDIA_STOP
[Obsolete("Deprecated in JVM")]
public static int FLAG_KEY_MEDIA_STOP { get; set; }
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
PLAYSTATE_BUFFERING
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_BUFFERING { get; set; }
Property Value
PLAYSTATE_ERROR
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_ERROR { get; set; }
Property Value
PLAYSTATE_FAST_FORWARDING
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_FAST_FORWARDING { get; set; }
Property Value
PLAYSTATE_PAUSED
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_PAUSED { get; set; }
Property Value
PLAYSTATE_PLAYING
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_PLAYING { get; set; }
Property Value
PLAYSTATE_REWINDING
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_REWINDING { get; set; }
Property Value
PLAYSTATE_SKIPPING_BACKWARDS
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_SKIPPING_BACKWARDS { get; set; }
Property Value
PLAYSTATE_SKIPPING_FORWARDS
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_SKIPPING_FORWARDS { get; set; }
Property Value
PLAYSTATE_STOPPED
[Obsolete("Deprecated in JVM")]
public static int PLAYSTATE_STOPPED { get; set; }
Property Value
Methods
CreatePoolableInstance(PendingIntent)
HPA initializer for RemoteControlClient(Android.App.PendingIntent arg0)
public static RemoteControlClient CreatePoolableInstance(PendingIntent arg0)
Parameters
arg0PendingIntent
Returns
CreatePoolableInstance(PendingIntent, Looper)
HPA initializer for RemoteControlClient(Android.App.PendingIntent arg0, Android.Os.Looper arg1)
public static RemoteControlClient CreatePoolableInstance(PendingIntent arg0, Looper arg1)
Parameters
arg0PendingIntentarg1Looper
Returns
EditMetadata(bool)
https://developer.android.com/reference/android/media/RemoteControlClient.html#editMetadata(boolean)
[Obsolete("Deprecated in JVM")]
public RemoteControlClient.MetadataEditor EditMetadata(bool arg0)
Parameters
Returns
GetMediaSession()
[Obsolete("Deprecated in JVM")]
public MediaSession GetMediaSession()
Returns
SetMetadataUpdateListener(OnMetadataUpdateListener)
[Obsolete("Deprecated in JVM")]
public void SetMetadataUpdateListener(RemoteControlClient.OnMetadataUpdateListener arg0)
Parameters
SetOnGetPlaybackPositionListener(OnGetPlaybackPositionListener)
[Obsolete("Deprecated in JVM")]
public void SetOnGetPlaybackPositionListener(RemoteControlClient.OnGetPlaybackPositionListener arg0)
Parameters
SetPlaybackPositionUpdateListener(OnPlaybackPositionUpdateListener)
[Obsolete("Deprecated in JVM")]
public void SetPlaybackPositionUpdateListener(RemoteControlClient.OnPlaybackPositionUpdateListener arg0)
Parameters
SetPlaybackState(int)
https://developer.android.com/reference/android/media/RemoteControlClient.html#setPlaybackState(int)
[Obsolete("Deprecated in JVM")]
public void SetPlaybackState(int arg0)
Parameters
SetPlaybackState(int, long, float)
[Obsolete("Deprecated in JVM")]
public void SetPlaybackState(int arg0, long arg1, float arg2)
Parameters
SetTransportControlFlags(int)
[Obsolete("Deprecated in JVM")]
public void SetTransportControlFlags(int arg0)