SliceItem deprecated

Class of android.app.slice · SliceItem.java · Android's reference

public final class SliceItem implements android.os.Parcelable

One item of a slice (deprecated): a value of one format, a subtype and hints.

Fields

public static final String FORMAT_SLICE = "slice" source
public static final String FORMAT_TEXT = "text" source
public static final String FORMAT_IMAGE = "image" source
public static final String FORMAT_ACTION = "action" source
public static final String FORMAT_INT = "int" source
public static final String FORMAT_LONG = "long" source
public static final String FORMAT_REMOTE_INPUT = "input" source
public static final String FORMAT_BUNDLE = "bundle" source

Methods

public String getFormat() source
public String getSubType() source
public List<String> getHints() source
public boolean hasHint(String hint) source
public CharSequence getText() source
public Icon getIcon() source
public PendingIntent getAction() source
public Bundle getBundle() source
public android.app.RemoteInput getRemoteInput() source
public int getInt() source
public long getLong() source
public Slice getSlice() source
public int describeContents() source
public void writeToParcel(android.os.Parcel out, int flags) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.