Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.slice

Classes

Slice

A slice is a piece of app content and actions that can be surfaced outside of the app.

SliceConvert

Convert between androidx.slice.Slice and android.app.slice.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 information around its contents.

SliceProvider

A SliceProvider allows an app to provide Slices to the Android OS.

SliceProviderWithCallbacks

Version of SliceProvider that can be used as a CallbackReceiver.

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.

SliceViewManager

Class to handle interactions with Slices.