public class Type extends Object implements Parcelable
TypeDetails
to get detailed information about a printer which formerly was available
here.Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Type> |
CREATOR |
String |
name
A non-human readable String identifying the type of printer.
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(Object o) |
int |
hashCode() |
String |
name()
This class used to be an enum and to remain semi-compatible retains a compatible method.
|
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public final String name
public static final Parcelable.Creator<Type> CREATOR
public Type(String name)
public String name()
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable