Package com.google.android.exoplayer2
Class BundleListRetriever
- java.lang.Object
 - 
- android.os.Binder
 - 
- com.google.android.exoplayer2.BundleListRetriever
 
 
 
- 
- All Implemented Interfaces:
 IBinder
@Deprecated public final class BundleListRetriever extends Binder
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.ABinderto transfer a list ofBundlesacross 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 List<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"); List<Bundle> list = BundleListRetriever.getList(binder); 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface android.os.IBinder
IBinder.DeathRecipient 
 - 
 
- 
Field Summary
- 
Fields inherited from interface android.os.IBinder
DUMP_TRANSACTION, FIRST_CALL_TRANSACTION, FLAG_ONEWAY, INTERFACE_TRANSACTION, LAST_CALL_TRANSACTION, LIKE_TRANSACTION, PING_TRANSACTION, TWEET_TRANSACTION 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BundleListRetriever(List<Bundle> list)Deprecated. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ImmutableList<Bundle>getList(IBinder binder)Deprecated.Gets a list ofBundlesfrom aBundleListRetriever.protected booleanonTransact(int code, Parcel data, Parcel reply, int flags)Deprecated.- 
Methods inherited from class android.os.Binder
attachInterface, clearCallingIdentity, clearCallingWorkSource, dump, dump, dumpAsync, flushPendingCommands, getCallingPid, getCallingUid, getCallingUidOrThrow, getCallingUserHandle, getCallingWorkSourceUid, getInterfaceDescriptor, isBinderAlive, joinThreadPool, linkToDeath, pingBinder, queryLocalInterface, restoreCallingIdentity, restoreCallingWorkSource, setCallingWorkSourceUid, transact, unlinkToDeath 
 - 
 
 - 
 
- 
- 
Method Detail
- 
onTransact
protected boolean onTransact(int code, Parcel data, @Nullable Parcel reply, int flags) throws RemoteExceptionDeprecated.- Overrides:
 onTransactin classBinder- Throws:
 RemoteException
 
- 
getList
public static ImmutableList<Bundle> getList(IBinder binder)
Deprecated.Gets a list ofBundlesfrom aBundleListRetriever.- Parameters:
 binder- A binder interface backed byBundleListRetriever.- Returns:
 - The list of 
Bundles. 
 
 - 
 
 -