RemoteControlClient RemoteControlClient Class

Definition

Warning

This API is now obsolete.

RemoteControlClient enables exposing information meant to be consumed by remote controls capable of displaying metadata, artwork and media transport control buttons.

[System.Obsolete("This class is obsoleted in this android platform")]
[Android.Runtime.Register("android/media/RemoteControlClient", ApiSince=14, DoNotGenerateAcw=true)]
public class RemoteControlClient : Java.Lang.Object
type RemoteControlClient = class
    inherit Object
Inheritance
RemoteControlClientRemoteControlClient
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

RemoteControlClient(IntPtr, JniHandleOwnership) RemoteControlClient(IntPtr, JniHandleOwnership)

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

RemoteControlClient(PendingIntent) RemoteControlClient(PendingIntent)

Class constructor.

RemoteControlClient(PendingIntent, Looper) RemoteControlClient(PendingIntent, Looper)

Class constructor for a remote control client whose internal event handling happens on a user-provided Looper.

Fields

FlagKeyMediaFastForward FlagKeyMediaFastForward

Flag indicating a RemoteControlClient makes use of the "fast forward" media key.

FlagKeyMediaNext FlagKeyMediaNext

Flag indicating a RemoteControlClient makes use of the "next" media key.

FlagKeyMediaPause FlagKeyMediaPause

Flag indicating a RemoteControlClient makes use of the "pause" media key.

FlagKeyMediaPlay FlagKeyMediaPlay

Flag indicating a RemoteControlClient makes use of the "play" media key.

FlagKeyMediaPlayPause FlagKeyMediaPlayPause

Flag indicating a RemoteControlClient makes use of the "play/pause" media key.

FlagKeyMediaPositionUpdate FlagKeyMediaPositionUpdate

Flag indicating a RemoteControlClient can receive changes in the media playback position through the RemoteControlClient.IOnPlaybackPositionUpdateListener interface.

FlagKeyMediaPrevious FlagKeyMediaPrevious

Flag indicating a RemoteControlClient makes use of the "previous" media key.

FlagKeyMediaRating FlagKeyMediaRating

Flag indicating a RemoteControlClient supports ratings.

FlagKeyMediaRewind FlagKeyMediaRewind

Flag indicating a RemoteControlClient makes use of the "rewind" media key.

FlagKeyMediaStop FlagKeyMediaStop

Flag indicating a RemoteControlClient makes use of the "stop" media key.

PlaystateBuffering PlaystateBuffering

Playback state of a RemoteControlClient which is buffering data to play before it can start or resume playback.

PlaystateError PlaystateError

Playback state of a RemoteControlClient which cannot perform any playback related operation because of an internal error.

PlaystateFastForwarding PlaystateFastForwarding

Playback state of a RemoteControlClient which is fast forwarding in the media it is currently playing.

PlaystatePaused PlaystatePaused

Playback state of a RemoteControlClient which is paused.

PlaystatePlaying PlaystatePlaying

Playback state of a RemoteControlClient which is playing media.

PlaystateRewinding PlaystateRewinding

Playback state of a RemoteControlClient which is fast rewinding in the media it is currently playing.

PlaystateSkippingBackwards PlaystateSkippingBackwards

Playback state of a RemoteControlClient which is skipping back to the previous logical chapter (such as a song in a playlist) in the media it is currently playing.

PlaystateSkippingForwards PlaystateSkippingForwards

Playback state of a RemoteControlClient which is skipping to the next logical chapter (such as a song in a playlist) in the media it is currently playing.

PlaystateStopped PlaystateStopped

Playback state of a RemoteControlClient which is stopped.

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
GetPlaybackPosition GetPlaybackPosition
Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
MediaSession MediaSession

Get a MediaSession associated with this RCC.

PeerReference PeerReference Inherited from Object
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
EditMetadata(Boolean) EditMetadata(Boolean)

Creates a RemoteControlClient.MetadataEditor.

Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetMetadataUpdateListener(RemoteControlClient+IOnMetadataUpdateListener) SetMetadataUpdateListener(RemoteControlClient+IOnMetadataUpdateListener)

Sets the listener to be called whenever the metadata is updated.

SetOnGetPlaybackPositionListener(RemoteControlClient+IOnGetPlaybackPositionListener) SetOnGetPlaybackPositionListener(RemoteControlClient+IOnGetPlaybackPositionListener)

Sets the listener to be called whenever the media current playback position is needed.

SetPlaybackPositionUpdateListener(RemoteControlClient+IOnPlaybackPositionUpdateListener) SetPlaybackPositionUpdateListener(RemoteControlClient+IOnPlaybackPositionUpdateListener)

Sets the listener to be called whenever the media playback position is requested to be updated.

SetPlaybackState(RemoteControlPlayState) SetPlaybackState(RemoteControlPlayState)

Sets the current playback state.

SetPlaybackState(RemoteControlPlayState, Int64, Single) SetPlaybackState(RemoteControlPlayState, Int64, Single)

Sets the current playback state and the matching media position for the current playback speed.

SetTransportControlFlags(RemoteControlFlags) SetTransportControlFlags(RemoteControlFlags)

Sets the flags for the media transport control buttons that this client supports.

ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Events

MetadataUpdate MetadataUpdate
PlaybackPositionUpdate PlaybackPositionUpdate

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to