Bundleable
public
final
class
Bundleable
extends Object
implements
Parcelable
java.lang.Object
|
↳ |
androidx.car.app.serialization.Bundleable
|
A class that serializes and stores an object for sending over IPC.
Summary
Inherited constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR
|
int |
PARCELABLE_WRITE_RETURN_VALUE
|
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
|
Fields
Public methods
create
public static Bundleable create (Object objectToSerialize)
Serializes the objectToSerialize
into a Bundleable
to send over IPC.
Parameters |
objectToSerialize |
Object |
describeContents
public int describeContents ()
get
public Object get ()
De-serializes the object passed in for IPC communication.
writeToParcel
public void writeToParcel (Parcel dest,
int flags)
Parameters |
dest |
Parcel |
flags |
int |