lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey

belongs to Maven artifact androidx.slice:slice-view:1.0.0-alpha3

SliceStructure

public class SliceStructure
extends Object

java.lang.Object
   ↳ androidx.slice.SliceStructure


Class used to see if two Slices are structurally equivalent ignoring specific content such as text or icons. Two structures can be compared using equals(Object).

Summary

Public constructors

SliceStructure(Slice s)

Create a SliceStructure.

Public methods

boolean equals(Object obj)
int hashCode()

Inherited methods

Public constructors

SliceStructure

public SliceStructure (Slice s)

Create a SliceStructure.

Parameters
s Slice

Public methods

equals

public boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int