ListBuilder.InputRangeBuilder

public static class ListBuilder.InputRangeBuilder
extends Object

java.lang.Object
   ↳ androidx.slice.builders.ListBuilder.InputRangeBuilder


Builder to construct a input range row.

An input range row supports displaying a horizontal slider allowing slider input.

Summary

Public constructors

InputRangeBuilder()

Builder to construct a input range row.

Public methods

ListBuilder.InputRangeBuilder addEndItem(SliceAction action, boolean isLoading)

Adds an action to the end items of the input range builder.

ListBuilder.InputRangeBuilder addEndItem(SliceAction action)

Adds an action to the end items of the input range builder.

ListBuilder.InputRangeBuilder setContentDescription(CharSequence description)

Sets the content description.

ListBuilder.InputRangeBuilder setInputAction(PendingIntent action)

Set the PendingIntent to send when the current value is updated.

ListBuilder.InputRangeBuilder setInputAction(RemoteCallback callback)

Set the PendingIntent to send when the current value is updated.

ListBuilder.InputRangeBuilder setLayoutDirection(int layoutDirection)

Sets the desired layout direction for the content in this row.

ListBuilder.InputRangeBuilder setMax(int max)

Set the upper limit of the range.

ListBuilder.InputRangeBuilder setMin(int min)

Set the lower limit of the range.

ListBuilder.InputRangeBuilder setPrimaryAction(SliceAction action)

Set the primary action for this row.

ListBuilder.InputRangeBuilder setSubtitle(CharSequence title)

Set the subtitle.