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.
public static final String FORMAT_SLICE = "slice" sourcepublic static final String FORMAT_TEXT = "text" sourcepublic static final String FORMAT_IMAGE = "image" sourcepublic static final String FORMAT_ACTION = "action" sourcepublic static final String FORMAT_INT = "int" sourcepublic static final String FORMAT_LONG = "long" sourcepublic static final String FORMAT_REMOTE_INPUT = "input" sourcepublic static final String FORMAT_BUNDLE = "bundle" sourcepublic String getFormat() sourcepublic String getSubType() sourcepublic List<String> getHints() sourcepublic boolean hasHint(String hint) sourcepublic CharSequence getText() sourcepublic Icon getIcon() sourcepublic PendingIntent getAction() sourcepublic Bundle getBundle() sourcepublic android.app.RemoteInput getRemoteInput() sourcepublic int getInt() sourcepublic long getLong() sourcepublic Slice getSlice() sourcepublic int describeContents() sourcepublic void writeToParcel(android.os.Parcel out, int flags) sourceMade 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.