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

androidx.slice

Interfaces

SliceUtils.SliceActionListener A listener used to receive events on slices parsed with SliceUtils.parseSlice(Context, InputStream, String, SliceActionListener)
SliceViewManager.SliceCallback Class that listens to changes in Slices. 

Classes

Slice A slice is a piece of app content and actions that can be surfaced outside of the app. 
SliceConvert Convert between Slice and Slice  
SliceItem A SliceItem is a single unit in the tree structure of a Slice
SliceManager Class to handle interactions with Slices. 
SliceMetadata Utility class to parse a Slice and provide access to some information around its contents. 
SliceProvider A SliceProvider allows an app to provide content to be displayed in system spaces. 
SliceStructure Class used to see if two Slices are structurally equivalent ignoring specific content such as text or icons. 
SliceUtils Utilities for dealing with slices. 
SliceUtils.SerializeOptions Holds options for how to handle SliceItems that cannot be serialized. 
SliceViewManager Class to handle interactions with Slices. 

Exceptions

SliceUtils.SliceParseException Exception thrown during SliceUtils.parseSlice(Context, InputStream, String, SliceActionListener)