MigrationRequestResult
public
final
class
MigrationRequestResult
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.app.privatecompute.MigrationRequestResult |
Result of a migration request initiated by a PCC component.
Summary
Constants | |
|---|---|
int |
MIGRATION_REQUEST_ACCEPTED
The non-PCC process has accepted the request and will begin migration. |
int |
MIGRATION_REQUEST_REJECTED
The non-PCC process has rejected the request. |
Inherited constants |
|---|
Fields | |
|---|---|
public
static
final
Creator<MigrationRequestResult> |
CREATOR
|
Public constructors | |
|---|---|
MigrationRequestResult(int status, PersistableBundle extras)
|
|
Public methods | |
|---|---|
int
|
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
PersistableBundle
|
getExtras()
|
int
|
getStatus()
|
void
|
writeToParcel(Parcel dest, int flags)
Flatten this object in to a Parcel. |
Inherited methods | |
|---|---|
Constants
MIGRATION_REQUEST_ACCEPTED
public static final int MIGRATION_REQUEST_ACCEPTED
The non-PCC process has accepted the request and will begin migration.
Constant Value: 1 (0x00000001)
MIGRATION_REQUEST_REJECTED
public static final int MIGRATION_REQUEST_REJECTED
The non-PCC process has rejected the request.
Constant Value: 2 (0x00000002)
Fields
Public constructors
MigrationRequestResult
public MigrationRequestResult (int status,
PersistableBundle extras)| Parameters | |
|---|---|
status |
int: Value is one of the following:
|
extras |
PersistableBundle: This value may be null. |
Public methods
describeContents
public int describeContents ()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation. For example, if the object will
include a file descriptor in the output of writeToParcel(Parcel,int),
the return value of this method must include the
CONTENTS_FILE_DESCRIPTOR bit.
| Returns | |
|---|---|
int |
a bitmask indicating the set of special object types marshaled
by this Parcelable object instance.
Value is either 0 or
|
getExtras
public PersistableBundle getExtras ()
| Returns | |
|---|---|
PersistableBundle |
This value cannot be null. |
writeToParcel
public void writeToParcel (Parcel dest, int flags)
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
dest |
Parcel: This value cannot be null. |
flags |
int: Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.
Value is either 0 or a combination of the following:
|