androidx.wear.tiles


Contains androidx.wear.tiles.TileService, which all apps using the Tiles API should extend in order to provide tile data.

Interfaces

ActionBuilders.Action

Interface defining an action that can be used by a layout element.

ActionBuilders.Action.Builder

Builder to create Action objects.

ActionBuilders.AndroidExtra

Interface defining an item that can be included in the extras of an intent that will be sent to an Android activity.

ActionBuilders.AndroidExtra.Builder

Builder to create AndroidExtra objects.

DimensionBuilders.ContainerDimension

Interface defining a dimension that can be applied to a container.

DimensionBuilders.ContainerDimension.Builder

Builder to create ContainerDimension objects.

DimensionBuilders.ImageDimension

Interface defining a dimension that can be applied to an image.

DimensionBuilders.ImageDimension.Builder

Builder to create ImageDimension objects.

DimensionBuilders.SpacerDimension

Interface defining a dimension that can be applied to a spacer.

DimensionBuilders.SpacerDimension.Builder

Builder to create SpacerDimension objects.

LayoutElementBuilders.ArcLayoutElement

Interface defining the root of all elements that can be used in an Arc.

LayoutElementBuilders.ArcLayoutElement.Builder

Builder to create ArcLayoutElement objects.

LayoutElementBuilders.LayoutElement

Interface defining the root of all layout elements.

LayoutElementBuilders.LayoutElement.Builder

Builder to create LayoutElement objects.

LayoutElementBuilders.Span

Interface defining a single Span.

LayoutElementBuilders.Span.Builder

Builder to create Span objects.

TileUpdateRequester

Interface used for a Tile Service to notify a Tile Renderer that it should fetch a new Timeline from it.

Classes

ActionBuilders

This class is deprecated.

Use androidx.wear.protolayout.ActionBuilders instead.

ActionBuilders.AndroidActivity

A launch action to send an intent to an Android activity.

ActionBuilders.AndroidActivity.Builder

Builder for AndroidActivity

ActionBuilders.AndroidBooleanExtra

A boolean value that can be added to an Android intent's extras.

ActionBuilders.AndroidBooleanExtra.Builder

Builder for AndroidBooleanExtra.

ActionBuilders.AndroidDoubleExtra

A double value that can be added to an Android intent's extras.

ActionBuilders.AndroidDoubleExtra.Builder

Builder for AndroidDoubleExtra.

ActionBuilders.AndroidIntExtra

An integer value that can be added to an Android intent's extras.

ActionBuilders.AndroidIntExtra.Builder

Builder for AndroidIntExtra.

ActionBuilders.AndroidLongExtra

A long value that can be added to an Android intent's extras.

ActionBuilders.AndroidLongExtra.Builder

Builder for AndroidLongExtra.

ActionBuilders.AndroidStringExtra

A string value that can be added to an Android intent's extras.

ActionBuilders.AndroidStringExtra.Builder

Builder for AndroidStringExtra.

ActionBuilders.LaunchAction

An action used to launch another activity on the system.

ActionBuilders.LaunchAction.Builder

Builder for LaunchAction.

ActionBuilders.LoadAction

An action used to load (or reload) the tile contents.

ActionBuilders.LoadAction.Builder

Builder for LoadAction.

ActiveTileIdentifier

Tile information containing the tile instance ID and component name for identifying a tile instance.

ColorBuilders

This class is deprecated.

Use androidx.wear.protolayout.ColorBuilders instead.

ColorBuilders.ColorProp

A property defining a color.

ColorBuilders.ColorProp.Builder

Builder for ColorProp

DeviceParametersBuilders

This class is deprecated.

Use androidx.wear.protolayout.DeviceParametersBuilders instead.

DeviceParametersBuilders.DeviceParameters

Parameters describing the device requesting a tile update.

DeviceParametersBuilders.DeviceParameters.Builder

Builder for DeviceParameters

DimensionBuilders

This class is deprecated.

Use androidx.wear.protolayout.DimensionBuilders instead.

DimensionBuilders.DegreesProp

A type for angular dimensions, measured in degrees.

DimensionBuilders.DegreesProp.Builder

Builder for DegreesProp

DimensionBuilders.DpProp

A type for linear dimensions, measured in dp.

DimensionBuilders.DpProp.Builder

Builder for DpProp.

DimensionBuilders.EmProp

A type for font spacing, measured in em.

DimensionBuilders.EmProp.Builder

Builder for EmProp

DimensionBuilders.ExpandedDimensionProp

A type for a dimension that fills all the space it can (i.e. MATCH_PARENT in Android parlance).

DimensionBuilders.ExpandedDimensionProp.Builder

Builder for ExpandedDimensionProp.

DimensionBuilders.ProportionalDimensionProp

A type for a dimension that scales itself proportionally to another dimension such that the aspect ratio defined by the given width and height values is preserved.

DimensionBuilders.ProportionalDimensionProp.Builder

Builder for ProportionalDimensionProp.

DimensionBuilders.SpProp

A type for font sizes, measured in sp.

DimensionBuilders.SpProp.Builder

Builder for SpProp

DimensionBuilders.WrappedDimensionProp

A type for a dimension that sizes itself to the size of its children (i.e. WRAP_CONTENT in Android parlance).

DimensionBuilders.WrappedDimensionProp.Builder

Builder for WrappedDimensionProp.

EventBuilders

Builders for messages used when events happen in the Tiles system.

EventBuilders.TileAddEvent

Event fired when a tile has been added to the carousel.

EventBuilders.TileAddEvent.Builder

Builder for TileAddEvent

EventBuilders.TileEnterEvent

Event fired when a tile is swiped to by the user (i.e. it's visible on screen).

EventBuilders.TileEnterEvent.Builder

Builder for TileEnterEvent

EventBuilders.TileInteractionEvent

Event reported when a user interacts with a tile (e.g. entering or leaving a tile).

EventBuilders.TileInteractionEvent.Builder

Builder for TileInteractionEvent

EventBuilders.TileLeaveEvent

Event fired when a tile is swiped away from by the user (i.e. it's no longer visible on screen).

EventBuilders.TileLeaveEvent.Builder

Builder for TileLeaveEvent

EventBuilders.TileRemoveEvent

Event fired when a tile has been removed from the carousel.

EventBuilders.TileRemoveEvent.Builder

Builder for TileRemoveEvent

LayoutElementBuilders

This class is deprecated.

Use androidx.wear.protolayout.LayoutElementBuilders instead.

LayoutElementBuilders.Arc

An arc container.

LayoutElementBuilders.Arc.Builder

Builder for Arc.

LayoutElementBuilders.ArcAdapter

A container that allows a standard LayoutElement to be added to an Arc.

LayoutElementBuilders.ArcAdapter.Builder

Builder for ArcAdapter.

LayoutElementBuilders.ArcAnchorTypeProp

An extensible ArcAnchorType property.

LayoutElementBuilders.ArcAnchorTypeProp.Builder

Builder for ArcAnchorTypeProp

LayoutElementBuilders.ArcLine

A line that can be used in an Arc and renders as a round progress bar.

LayoutElementBuilders.ArcLine.Builder

Builder for ArcLine.

LayoutElementBuilders.ArcSpacer

A simple spacer used to provide padding between adjacent elements in an Arc.

LayoutElementBuilders.ArcSpacer.Builder

Builder for ArcSpacer.

LayoutElementBuilders.ArcText

A text element that can be used in an Arc.

LayoutElementBuilders.ArcText.Builder

Builder for ArcText.

LayoutElementBuilders.Box

A container which stacks all of its children on top of one another.

LayoutElementBuilders.Box.Builder

Builder for Box.

LayoutElementBuilders.ColorFilter

Filtering parameters used for images.

LayoutElementBuilders.ColorFilter.Builder

Builder for ColorFilter

LayoutElementBuilders.Column

A column of elements.

LayoutElementBuilders.Column.Builder

Builder for Column.

LayoutElementBuilders.ContentScaleModeProp

An extensible ContentScaleMode property.

LayoutElementBuilders.ContentScaleModeProp.Builder

Builder for ContentScaleModeProp

LayoutElementBuilders.FontStyle

The styling of a font (e.g. font size, and metrics).

LayoutElementBuilders.FontStyle.Builder

Builder for FontStyle

LayoutElementBuilders.FontStyles

Font styles, currently set up to match Wear's font styling.

LayoutElementBuilders.FontVariantProp

An extensible FontVariant property.

LayoutElementBuilders.FontVariantProp.Builder

Builder for FontVariantProp

LayoutElementBuilders.FontWeightProp

An extensible FontWeight property.

LayoutElementBuilders.FontWeightProp.Builder

Builder for FontWeightProp

LayoutElementBuilders.HorizontalAlignmentProp

An extensible HorizontalAlignment property.

LayoutElementBuilders.HorizontalAlignmentProp.Builder

Builder for HorizontalAlignmentProp

LayoutElementBuilders.Image

An image.

LayoutElementBuilders.Image.Builder

Builder for Image.

LayoutElementBuilders.Layout

A complete layout.

LayoutElementBuilders.Layout.Builder

Builder for Layout

LayoutElementBuilders.Row

A row of elements.

LayoutElementBuilders.Row.Builder

Builder for Row.

LayoutElementBuilders.Spacer

A simple spacer, typically used to provide padding between adjacent elements.

LayoutElementBuilders.Spacer.Builder

Builder for Spacer.

LayoutElementBuilders.SpanImage

An image which can be added to a Span.

LayoutElementBuilders.SpanImage.Builder

Builder for SpanImage.

LayoutElementBuilders.SpanText

A portion of text which can be added to a Span.

LayoutElementBuilders.SpanText.Builder

Builder for SpanText.

LayoutElementBuilders.SpanVerticalAlignmentProp

An extensible SpanVerticalAlignment property.

LayoutElementBuilders.SpanVerticalAlignmentProp.Builder

Builder for SpanVerticalAlignmentProp

LayoutElementBuilders.Spannable

A container of Span elements.

LayoutElementBuilders.Spannable.Builder

Builder for Spannable.

LayoutElementBuilders.Text

A text string.

LayoutElementBuilders.Text.Builder

Builder for Text.

LayoutElementBuilders.TextAlignmentProp

An extensible TextAlignment property.

LayoutElementBuilders.TextAlignmentProp.Builder

Builder for TextAlignmentProp

LayoutElementBuilders.TextOverflowProp

An extensible TextOverflow property.

LayoutElementBuilders.TextOverflowProp.Builder

Builder for TextOverflowProp

LayoutElementBuilders.VerticalAlignmentProp

An extensible VerticalAlignment property.

LayoutElementBuilders.VerticalAlignmentProp.Builder

Builder for VerticalAlignmentProp

ModifiersBuilders

This class is deprecated.

Use androidx.wear.protolayout.ModifiersBuilders instead.

ModifiersBuilders.ArcModifiers

Modifiers that can be used with ArcLayoutElements.

ModifiersBuilders.ArcModifiers.Builder

Builder for ArcModifiers

ModifiersBuilders.Background

A modifier to apply a background to an element.

ModifiersBuilders.Background.Builder

Builder for Background

ModifiersBuilders.Border

A modifier to apply a border around an element.

ModifiersBuilders.Border.Builder

Builder for Border

ModifiersBuilders.Clickable

A modifier for an element which can have associated Actions for click events.

ModifiersBuilders.Clickable.Builder

Builder for Clickable

ModifiersBuilders.Corner

The corner of a androidx.wear.tiles.LayoutElementBuilders.Box element.

ModifiersBuilders.Corner.Builder

Builder for Corner

ModifiersBuilders.ElementMetadata

Metadata about an element.

ModifiersBuilders.ElementMetadata.Builder

Builder for ElementMetadata

ModifiersBuilders.Modifiers

Modifiers for an element.

ModifiersBuilders.Modifiers.Builder

Builder for Modifiers

ModifiersBuilders.Padding

A modifier to apply padding around an element.

ModifiersBuilders.Padding.Builder

Builder for Padding

ModifiersBuilders.Semantics

A modifier for an element which has accessibility semantics associated with it.

ModifiersBuilders.Semantics.Builder

Builder for Semantics

ModifiersBuilders.SpanModifiers

Modifiers that can be used with elements.

ModifiersBuilders.SpanModifiers.Builder

Builder for SpanModifiers

RequestBuilders

Builders for request messages used to fetch tiles and resources.

RequestBuilders.ResourcesRequest

Parameters passed to a androidx.wear.tiles.TileBuilders.Tile Service when the renderer is requesting a specific resource version.

RequestBuilders.ResourcesRequest.Builder

Builder for ResourcesRequest

RequestBuilders.TileRequest

Parameters passed to a androidx.wear.tiles.TileBuilders.Tile Service when the renderer is requesting a new version of the tile.

RequestBuilders.TileRequest.Builder

Builder for TileRequest

ResourceBuilders

This class is deprecated.

Use androidx.wear.protolayout.ResourceBuilders instead.

ResourceBuilders.AndroidImageResourceByResId

An image resource which maps to an Android drawable by resource ID.

ResourceBuilders.AndroidImageResourceByResId.Builder

Builder for AndroidImageResourceByResId

ResourceBuilders.ImageResource

An image resource, which can be used by layouts.

ResourceBuilders.ImageResource.Builder

Builder for ImageResource

ResourceBuilders.InlineImageResource

An image resource whose data is fully inlined, with no dependency on a system or app resource.

ResourceBuilders.InlineImageResource.Builder

Builder for InlineImageResource

ResourceBuilders.Resources

The resources for a layout.

ResourceBuilders.Resources.Builder

Builder for Resources

StateBuilders

This class is deprecated.

Use androidx.wear.protolayout.StateBuilders instead.

StateBuilders.State

State information.

StateBuilders.State.Builder

Builder for State

TileBuilders

Builders for the components of a tile that can be rendered by a tile renderer.

TileBuilders.Tile

A holder for a tile.

TileBuilders.Tile.Builder

Builder for Tile

TileService

Base class for a service providing data for an app tile.

TimelineBuilders

This class is deprecated.

Use androidx.wear.protolayout.TimelineBuilders instead.

TimelineBuilders.TimeInterval

A time interval, typically used to describe the validity period of a TimelineEntry.

TimelineBuilders.TimeInterval.Builder

Builder for TimeInterval

TimelineBuilders.Timeline

A collection of TimelineEntry items.

TimelineBuilders.Timeline.Builder

Builder for Timeline

TimelineBuilders.TimelineEntry

One piece of renderable content along with the time that it is valid for.

TimelineBuilders.TimelineEntry.Builder

Builder for TimelineEntry

TypeBuilders

This class is deprecated.

Use androidx.wear.protolayout.TypeBuilders instead.

TypeBuilders.BoolProp

A boolean type.

TypeBuilders.BoolProp.Builder

Builder for BoolProp

TypeBuilders.FloatProp

A float type.

TypeBuilders.FloatProp.Builder

Builder for FloatProp

TypeBuilders.Int32Prop

An int32 type.

TypeBuilders.Int32Prop.Builder

Builder for Int32Prop

TypeBuilders.StringProp

A string type.

TypeBuilders.StringProp.Builder

Builder for StringProp

Annotations

TilesExperimental

Denotes that this API surface is experimental.