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

TemplateSliceBuilder

@RequiresApi(19) abstract class TemplateSliceBuilder
kotlin.Any
   ↳ androidx.slice.builders.TemplateSliceBuilder

Base class of builders of various template types.

Summary

Public methods
open Slice

Construct the slice.

Public methods

build

@NonNull open fun build(): Slice

Construct the slice.