RestoreSetpublic class RestoreSet extends Object implements android.os.ParcelableDescriptive information about a set of backed-up app data available for restore.
Used by IRestoreSession clients. |
Fields Summary |
---|
public String | nameName of this restore set. May be user generated, may simply be the name
of the handset model, e.g. "T-Mobile G1". | public String | deviceIdentifier of the device whose data this is. This will be as unique as
is practically possible; for example, it might be an IMEI. | public long | tokenToken that identifies this backup set unambiguously to the backup/restore
transport. This is guaranteed to be valid for the duration of a restore
session, but is meaningless once the session has ended. | public static final Parcelable.Creator | CREATOR |
Constructors Summary |
---|
public RestoreSet()
// Leave everything zero / null
| public RestoreSet(String _name, String _dev, long _token)
name = _name;
device = _dev;
token = _token;
| private RestoreSet(android.os.Parcel in)
name = in.readString();
device = in.readString();
token = in.readLong();
|
Methods Summary |
---|
public int | describeContents()
return 0;
| public void | writeToParcel(android.os.Parcel out, int flags)
out.writeString(name);
out.writeString(device);
out.writeLong(token);
|
|