IMediaController.Stub


public abstract class IMediaController.Stub extends Binder implements IMediaController


Local-side IPC implementation stub class.

Summary

Public constructors

Construct the stub at attach it to the interface.

Public methods

IBinder
static IMediaController

Cast an IBinder object into an androidx.media3.session.IMediaController interface, generating a proxy if needed.

static IMediaController
boolean
onTransact(int code, Parcel data, Parcel reply, int flags)
static boolean

Inherited Constants

From android.os.IBinder
static final int
DUMP_TRANSACTION = 1598311760
static final int
static final int
static final int
static final int
static final int
LIKE_TRANSACTION = 1598835019
static final int
PING_TRANSACTION = 1599098439
static final int
TWEET_TRANSACTION = 1599362900

Inherited methods

From android.os.Binder
void
attachInterface(IInterface owner, String descriptor)
native static final long
native static final long
void
dump(FileDescriptor fd, String[] args)
void
dumpAsync(FileDescriptor fd, String[] args)
native static final void
native static final int
native static final int
static final int
static final UserHandle
native static final int
String
boolean
static final void
void
linkToDeath(IBinder.DeathRecipient recipient, int flags)
boolean
IInterface
native static final void
native static final void
native static final long
final boolean
transact(int code, Parcel data, Parcel reply, int flags)
boolean
unlinkToDeath(IBinder.DeathRecipient recipient, int flags)
From android.os.IBinder
From androidx.media3.session.IMediaController
abstract void
onAvailableCommandsChangedFromPlayer(int seq, Bundle commandsBundle)
abstract void
onAvailableCommandsChangedFromSession(
    int seq,
    Bundle sessionCommandsBundle,
    Bundle playerCommandsBundle
)
abstract void
onChildrenChanged(
    int seq,
    String parentId,
    int itemCount,
    Bundle libraryParams
)
abstract void
onConnected(int seq, Bundle connectionResult)
abstract void
onCustomCommand(int seq, Bundle command, Bundle args)
abstract void
onDisconnected(int seq)
abstract void
onExtrasChanged(int seq, Bundle extras)
abstract void
onLibraryResult(int seq, Bundle libraryResult)
abstract void
onPeriodicSessionPositionInfoChanged(
    int seq,
    Bundle sessionPositionInfo
)
abstract void
onPlayerInfoChanged(
    int seq,
    Bundle playerInfoBundle,
    boolean isTimelineExcluded
)

Deprecated: Use onPlayerInfoChangedWithExclusions from MediaControllerStub#VERSION_INT=2.

abstract void
onPlayerInfoChangedWithExclusions(
    int seq,
    Bundle playerInfoBundle,
    Bundle playerInfoExclusions
)

Introduced to deprecate onPlayerInfoChanged (from MediaControllerStub#VERSION_INT=2).

abstract void
abstract void
onSearchResultChanged(
    int seq,
    String query,
    int itemCount,
    Bundle libraryParams
)
abstract void
onSessionActivityChanged(int seq, PendingIntent pendingIntent)
abstract void
onSessionResult(int seq, Bundle sessionResult)
abstract void
onSetCustomLayout(int seq, List<Bundle> commandButtonList)

Public constructors

Stub

public Stub()

Construct the stub at attach it to the interface.

Public methods

asBinder

public IBinder asBinder()

asInterface

public static IMediaController asInterface(IBinder obj)

Cast an IBinder object into an androidx.media3.session.IMediaController interface, generating a proxy if needed.

getDefaultImpl

public static IMediaController getDefaultImpl()

onTransact

public boolean onTransact(int code, Parcel data, Parcel reply, int flags)

setDefaultImpl

public static boolean setDefaultImpl(IMediaController impl)