FileDocCategorySizeDatePackage
Item.javaAPI DocAndroid 5.1 API2024Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony.cat

Item

public class Item extends Object implements android.os.Parcelable
Represents an Item COMPREHENSION-TLV object. {@hide}

Fields Summary
public int
id
Identifier of the item.
public String
text
Text string of the item.
public android.graphics.Bitmap
icon
Icon of the item
public static final Parcelable.Creator
CREATOR
Constructors Summary
public Item(int id, String text)

        this(id, text, null);
    
public Item(int id, String text, android.graphics.Bitmap icon)

        this.id = id;
        this.text = text;
        this.icon = icon;
    
public Item(android.os.Parcel in)

        id = in.readInt();
        text = in.readString();
        icon = in.readParcelable(null);
    
Methods Summary
public intdescribeContents()

        return 0;
    
public java.lang.StringtoString()


    
       
        return text;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeInt(id);
        dest.writeString(text);
        dest.writeParcelable(icon, flags);