MediaSessionCompat.Token

public static final class MediaSessionCompat.Token
extends Object implements Parcelable

java.lang.Object
   ↳ android.support.v4.media.session.MediaSessionCompat.Token


Represents an ongoing session. This may be passed to apps by the session owner to allow them to create a MediaControllerCompat to communicate with the session.

Summary

Inherited constants

Fields

public static final Creator<MediaSessionCompat.Token> CREATOR

Public methods

int describeContents()
boolean equals(Object obj)
static MediaSessionCompat.Token fromToken(Object token)

Creates a compat Token from a framework MediaSession.Token object.

Object getToken()

Gets the underlying framework MediaSession.Token object.

int hashCode()
void writeToParcel(Parcel dest, int flags)

Inherited methods