Android 12 Developer Preview is here! Try it out, and give us your feedback!

androidx.slice.core

Interfaces

SliceAction Interface for a slice action, supports tappable icons, custom toggle icons, and default toggles.