IMediaController.Stub


abstract class IMediaController.Stub : Binder, IMediaController


Local-side IPC implementation stub class.

Summary

Public constructors

Construct the stub at attach it to the interface.

Public functions

IBinder!
java-static IMediaController!

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

java-static IMediaController!
Boolean
onTransact(code: Int, data: Parcel!, reply: Parcel!, flags: Int)
java-static Boolean

Inherited Constants

From android.os.IBinder
const Int
DUMP_TRANSACTION = 1598311760
const Int
const Int
const Int
const Int
const Int
LIKE_TRANSACTION = 1598835019
const Int
PING_TRANSACTION = 1599098439
const Int
TWEET_TRANSACTION = 1599362900

Inherited functions

From android.os.Binder
Unit
attachInterface(owner: IInterface!, descriptor: String!)
native java-static Long
native java-static Long
Unit
dump(fd: FileDescriptor!, args: Array<String!>!)
Unit
native java-static Unit
native java-static Int
native java-static Int
java-static Int
java-static UserHandle!
native java-static Int
String!
Boolean
java-static Unit
Unit
linkToDeath(recipient: IBinder.DeathRecipient!, flags: Int)
Boolean
IInterface!
native java-static Unit
native java-static Unit
native java-static Long
Boolean
transact(code: Int, data: Parcel!, reply: Parcel!, flags: Int)
Boolean
unlinkToDeath(recipient: IBinder.DeathRecipient!, flags: Int)
From android.os.IBinder
From androidx.media3.session.IMediaController
abstract Unit
abstract Unit
onAvailableCommandsChangedFromSession(
    seq: Int,
    sessionCommandsBundle: Bundle!,
    playerCommandsBundle: Bundle!
)
abstract Unit
onChildrenChanged(
    seq: Int,
    parentId: String!,
    itemCount: Int,
    libraryParams: Bundle!
)
abstract Unit
onConnected(seq: Int, connectionResult: Bundle!)
abstract Unit
onCustomCommand(seq: Int, command: Bundle!, args: Bundle!)
abstract Unit
abstract Unit
onExtrasChanged(seq: Int, extras: Bundle!)
abstract Unit
onLibraryResult(seq: Int, libraryResult: Bundle!)
abstract Unit
onPeriodicSessionPositionInfoChanged(
    seq: Int,
    sessionPositionInfo: Bundle!
)
abstract Unit
onPlayerInfoChanged(
    seq: Int,
    playerInfoBundle: Bundle!,
    isTimelineExcluded: Boolean
)

Deprecated: Use onPlayerInfoChangedWithExclusions from MediaControllerStub#VERSION_INT=2.

abstract Unit
onPlayerInfoChangedWithExclusions(
    seq: Int,
    playerInfoBundle: Bundle!,
    playerInfoExclusions: Bundle!
)

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

abstract Unit
abstract Unit
onSearchResultChanged(
    seq: Int,
    query: String!,
    itemCount: Int,
    libraryParams: Bundle!
)
abstract Unit
onSessionActivityChanged(seq: Int, pendingIntent: PendingIntent!)
abstract Unit
onSessionResult(seq: Int, sessionResult: Bundle!)
abstract Unit
onSetCustomLayout(seq: Int, commandButtonList: (Mutable)List<Bundle!>!)

Public constructors

Stub

Stub()

Construct the stub at attach it to the interface.

Public functions

asBinder

fun asBinder(): IBinder!

asInterface

java-static fun asInterface(obj: IBinder!): IMediaController!

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

getDefaultImpl

java-static fun getDefaultImpl(): IMediaController!

onTransact

fun onTransact(code: Int, data: Parcel!, reply: Parcel!, flags: Int): Boolean

setDefaultImpl

java-static fun setDefaultImpl(impl: IMediaController!): Boolean