BundleListRetriever
Artifact: androidx.media3:media3-common
@UnstableApi
class BundleListRetriever : Binder
A Binder to transfer a list of Bundles across processes by splitting the list into multiple transactions.
Note: Using this class causes synchronous binder calls in the opposite direction regardless of the "oneway" property.
Example usage:
// Sender ImmutableList<Bundle> list = ...; IBinder binder = new BundleListRetriever(list); Bundle bundle = new Bundle(); bundle.putBinder("list", binder); // Receiver Bundle bundle = ...; // Received from the sender IBinder binder = bundle.getBinder("list"); ImmutableList<Bundle> list = BundleListRetriever.getList(binder);
Summary
Public constructors |
|---|
BundleListRetriever(list: (Mutable)List<Bundle!>!)Creates a |
Public functions |
|
|---|---|
java-static ImmutableList<Bundle!>! |
Gets a list of |
Inherited Constants |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Inherited functions |
||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Public constructors
Public functions
getList
java-static fun getList(binder: IBinder!): ImmutableList<Bundle!>!
Gets a list of Bundles from a BundleListRetriever.
| Parameters | |
|---|---|
binder: IBinder! |
A binder interface backed by |
| Returns | |
|---|---|
ImmutableList<Bundle!>! |
The list of |
Protected functions
onTransact
protected fun onTransact(code: Int, data: Parcel!, reply: Parcel?, flags: Int): Boolean
| Throws | |
|---|---|
android.os.RemoteException |