SliceSpec deprecated

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

public final class SliceSpec implements android.os.Parcelable

The type and revision of a slice's format (deprecated).

Constructors

public SliceSpec(String type, int revision) source

Methods

public String getType() source
public int getRevision() source
public boolean canRender(SliceSpec candidate) source

True when the candidate has the same type and a revision no newer than this one.

public boolean equals(Object o) source
public int hashCode() source
public String toString() 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.