package

androidx.wear.tiles

Overview

Contains TileProviderService, which all apps using the Tiles API should extend in order to provide tile data.

Interfaces

ActionBuilders.ActionInterface defining an action that can be used by a layout element.
ActionBuilders.Action.BuilderBuilder to create ActionBuilders.Action objects.
ActionBuilders.AndroidExtraInterface defining an item that can be included in the extras of an intent that will be sent to an Android activity.
ActionBuilders.AndroidExtra.BuilderBuilder to create ActionBuilders.AndroidExtra objects.
DimensionBuilders.ContainerDimensionInterface defining a dimension that can be applied to a container.
DimensionBuilders.ContainerDimension.BuilderBuilder to create DimensionBuilders.ContainerDimension objects.
DimensionBuilders.ImageDimensionInterface defining a dimension that can be applied to an image.
DimensionBuilders.ImageDimension.BuilderBuilder to create DimensionBuilders.ImageDimension objects.
DimensionBuilders.SpacerDimensionInterface defining a dimension that can be applied to a spacer.
DimensionBuilders.SpacerDimension.BuilderBuilder to create DimensionBuilders.SpacerDimension objects.
LayoutElementBuilders.ArcLayoutElementInterface defining the root of all elements that can be used in an LayoutElementBuilders.Arc.
LayoutElementBuilders.ArcLayoutElement.BuilderBuilder to create LayoutElementBuilders.ArcLayoutElement objects.
LayoutElementBuilders.LayoutElementInterface defining the root of all layout elements.
LayoutElementBuilders.LayoutElement.BuilderBuilder to create LayoutElementBuilders.LayoutElement objects.
LayoutElementBuilders.SpanInterface defining a single LayoutElementBuilders.Span.
LayoutElementBuilders.Span.BuilderBuilder to create LayoutElementBuilders.Span objects.
TileUpdateRequesterInterface used for a Tile Provider to notify a Tile Renderer that it should fetch a new Timeline from it.

Classes

ActionBuildersBuilders for actions that can be performed when a user interacts with layout elements.
ActionBuilders.AndroidActivityA launch action to send an intent to an Android activity.
ActionBuilders.AndroidActivity.BuilderBuilder for ActionBuilders.AndroidActivity
ActionBuilders.AndroidBooleanExtraA boolean value that can be added to an Android intent's extras.
ActionBuilders.AndroidBooleanExtra.BuilderBuilder for ActionBuilders.AndroidBooleanExtra.
ActionBuilders.AndroidDoubleExtraA double value that can be added to an Android intent's extras.
ActionBuilders.AndroidDoubleExtra.BuilderBuilder for ActionBuilders.AndroidDoubleExtra.
ActionBuilders.AndroidIntExtraAn integer value that can be added to an Android intent's extras.
ActionBuilders.AndroidIntExtra.BuilderBuilder for ActionBuilders.AndroidIntExtra.
ActionBuilders.AndroidLongExtraA long value that can be added to an Android intent's extras.
ActionBuilders.AndroidLongExtra.BuilderBuilder for ActionBuilders.AndroidLongExtra.
ActionBuilders.AndroidStringExtraA string value that can be added to an Android intent's extras.
ActionBuilders.AndroidStringExtra.BuilderBuilder for ActionBuilders.AndroidStringExtra.
ActionBuilders.LaunchActionAn action used to launch another activity on the system.
ActionBuilders.LaunchAction.BuilderBuilder for ActionBuilders.LaunchAction.
ActionBuilders.LoadActionAn action used to load (or reload) the tile contents.
ActionBuilders.LoadAction.BuilderBuilder for ActionBuilders.LoadAction.
ActiveTileIdentifierTile information containing the tile instance ID and component name for identifying a tile instance.
ColorBuildersBuilders for color utilities for layout elements.
ColorBuilders.ColorPropA property defining a color.
ColorBuilders.ColorProp.BuilderBuilder for ColorBuilders.ColorProp
DeviceParametersBuildersBuilders for request messages used to fetch tiles and resources.
DeviceParametersBuilders.DeviceParametersParameters describing the device requesting a tile update.
DeviceParametersBuilders.DeviceParameters.BuilderBuilder for DeviceParametersBuilders.DeviceParameters
DimensionBuildersBuilders for dimensions for layout elements.
DimensionBuilders.DegreesPropA type for angular dimensions, measured in degrees.
DimensionBuilders.DegreesProp.BuilderBuilder for DimensionBuilders.DegreesProp
DimensionBuilders.DpPropA type for linear dimensions, measured in dp.
DimensionBuilders.DpProp.BuilderBuilder for DimensionBuilders.DpProp.
DimensionBuilders.EmPropA type for font spacing, measured in em.
DimensionBuilders.EmProp.BuilderBuilder for DimensionBuilders.EmProp
DimensionBuilders.ExpandedDimensionPropA type for a dimension that fills all the space it can (i.e.
DimensionBuilders.ExpandedDimensionProp.BuilderBuilder for DimensionBuilders.ExpandedDimensionProp.
DimensionBuilders.ProportionalDimensionPropA 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.BuilderBuilder for DimensionBuilders.ProportionalDimensionProp.
DimensionBuilders.SpPropA type for font sizes, measured in sp.
DimensionBuilders.SpProp.BuilderBuilder for DimensionBuilders.SpProp
DimensionBuilders.WrappedDimensionPropA type for a dimension that sizes itself to the size of its children (i.e.
DimensionBuilders.WrappedDimensionProp.BuilderBuilder for DimensionBuilders.WrappedDimensionProp.
EventBuildersBuilders for messages used when events happen in the Tiles system.
EventBuilders.TileAddEventEvent fired when a tile has been added to the carousel.
EventBuilders.TileAddEvent.BuilderBuilder for EventBuilders.TileAddEvent
EventBuilders.TileEnterEventEvent fired when a tile is swiped to by the user (i.e.
EventBuilders.TileEnterEvent.BuilderBuilder for EventBuilders.TileEnterEvent
EventBuilders.TileInteractionEventEvent reported when a user interacts with a tile (e.g.
EventBuilders.TileInteractionEvent.BuilderBuilder for EventBuilders.TileInteractionEvent
EventBuilders.TileLeaveEventEvent fired when a tile is swiped away from by the user (i.e.
EventBuilders.TileLeaveEvent.BuilderBuilder for EventBuilders.TileLeaveEvent
EventBuilders.TileRemoveEventEvent fired when a tile has been removed from the carousel.
EventBuilders.TileRemoveEvent.BuilderBuilder for EventBuilders.TileRemoveEvent
LayoutElementBuildersBuilders for composable layout elements that can be combined together to create renderable UI layouts.
LayoutElementBuilders.ArcAn arc container.
LayoutElementBuilders.Arc.BuilderBuilder for LayoutElementBuilders.Arc.
LayoutElementBuilders.ArcAdapterA container that allows a standard LayoutElementBuilders.LayoutElement to be added to an LayoutElementBuilders.Arc.
LayoutElementBuilders.ArcAdapter.BuilderBuilder for LayoutElementBuilders.ArcAdapter.
LayoutElementBuilders.ArcAnchorTypePropAn extensible ArcAnchorType property.
LayoutElementBuilders.ArcAnchorTypeProp.BuilderBuilder for LayoutElementBuilders.ArcAnchorTypeProp
LayoutElementBuilders.ArcLineA line that can be used in an LayoutElementBuilders.Arc and renders as a round progress bar.
LayoutElementBuilders.ArcLine.BuilderBuilder for LayoutElementBuilders.ArcLine.
LayoutElementBuilders.ArcSpacerA simple spacer used to provide padding between adjacent elements in an LayoutElementBuilders.Arc.
LayoutElementBuilders.ArcSpacer.BuilderBuilder for LayoutElementBuilders.ArcSpacer.
LayoutElementBuilders.ArcTextA text element that can be used in an LayoutElementBuilders.Arc.
LayoutElementBuilders.ArcText.BuilderBuilder for LayoutElementBuilders.ArcText.
LayoutElementBuilders.BoxA container which stacks all of its children on top of one another.
LayoutElementBuilders.Box.BuilderBuilder for LayoutElementBuilders.Box.
LayoutElementBuilders.ColorFilterFiltering parameters used for images.
LayoutElementBuilders.ColorFilter.BuilderBuilder for LayoutElementBuilders.ColorFilter
LayoutElementBuilders.ColumnA column of elements.
LayoutElementBuilders.Column.BuilderBuilder for LayoutElementBuilders.Column.
LayoutElementBuilders.ContentScaleModePropAn extensible ContentScaleMode property.
LayoutElementBuilders.ContentScaleModeProp.BuilderBuilder for LayoutElementBuilders.ContentScaleModeProp
LayoutElementBuilders.FontStyleThe styling of a font (e.g.
LayoutElementBuilders.FontStyle.BuilderBuilder for LayoutElementBuilders.FontStyle
LayoutElementBuilders.FontStylesFont styles, currently set up to match Wear's font styling.
LayoutElementBuilders.FontVariantPropAn extensible FontVariant property.
LayoutElementBuilders.FontVariantProp.BuilderBuilder for LayoutElementBuilders.FontVariantProp
LayoutElementBuilders.FontWeightPropAn extensible FontWeight property.
LayoutElementBuilders.FontWeightProp.BuilderBuilder for LayoutElementBuilders.FontWeightProp
LayoutElementBuilders.HorizontalAlignmentPropAn extensible HorizontalAlignment property.
LayoutElementBuilders.HorizontalAlignmentProp.BuilderBuilder for LayoutElementBuilders.HorizontalAlignmentProp
LayoutElementBuilders.ImageAn image.
LayoutElementBuilders.Image.BuilderBuilder for LayoutElementBuilders.Image.
LayoutElementBuilders.LayoutA complete layout.
LayoutElementBuilders.Layout.BuilderBuilder for LayoutElementBuilders.Layout
LayoutElementBuilders.RowA row of elements.
LayoutElementBuilders.Row.BuilderBuilder for LayoutElementBuilders.Row.
LayoutElementBuilders.SpacerA simple spacer, typically used to provide padding between adjacent elements.
LayoutElementBuilders.Spacer.BuilderBuilder for LayoutElementBuilders.Spacer.
LayoutElementBuilders.SpanImageAn image which can be added to a LayoutElementBuilders.Span.
LayoutElementBuilders.SpanImage.BuilderBuilder for LayoutElementBuilders.SpanImage.
LayoutElementBuilders.SpannableA container of LayoutElementBuilders.Span elements.
LayoutElementBuilders.Spannable.BuilderBuilder for LayoutElementBuilders.Spannable.
LayoutElementBuilders.SpanTextA portion of text which can be added to a LayoutElementBuilders.Span.
LayoutElementBuilders.SpanText.BuilderBuilder for LayoutElementBuilders.SpanText.
LayoutElementBuilders.SpanVerticalAlignmentPropAn extensible SpanVerticalAlignment property.
LayoutElementBuilders.SpanVerticalAlignmentProp.BuilderBuilder for LayoutElementBuilders.SpanVerticalAlignmentProp
LayoutElementBuilders.TextA text string.
LayoutElementBuilders.Text.BuilderBuilder for LayoutElementBuilders.Text.
LayoutElementBuilders.TextAlignmentPropAn extensible TextAlignment property.
LayoutElementBuilders.TextAlignmentProp.BuilderBuilder for LayoutElementBuilders.TextAlignmentProp
LayoutElementBuilders.TextOverflowPropAn extensible TextOverflow property.
LayoutElementBuilders.TextOverflowProp.BuilderBuilder for LayoutElementBuilders.TextOverflowProp
LayoutElementBuilders.VerticalAlignmentPropAn extensible VerticalAlignment property.
LayoutElementBuilders.VerticalAlignmentProp.BuilderBuilder for LayoutElementBuilders.VerticalAlignmentProp
ModifiersBuildersBuilders for modifiers for composable layout elements.
ModifiersBuilders.ArcModifiersModifiersBuilders.Modifiers that can be used with ArcLayoutElements.
ModifiersBuilders.ArcModifiers.BuilderBuilder for ModifiersBuilders.ArcModifiers
ModifiersBuilders.BackgroundA modifier to apply a background to an element.
ModifiersBuilders.Background.BuilderBuilder for ModifiersBuilders.Background
ModifiersBuilders.BorderA modifier to apply a border around an element.
ModifiersBuilders.Border.BuilderBuilder for ModifiersBuilders.Border
ModifiersBuilders.ClickableA modifier for an element which can have associated Actions for click events.
ModifiersBuilders.Clickable.BuilderBuilder for ModifiersBuilders.Clickable
ModifiersBuilders.CornerThe corner of a LayoutElementBuilders.Box element.
ModifiersBuilders.Corner.BuilderBuilder for ModifiersBuilders.Corner
ModifiersBuilders.ElementMetadataMetadata about an element.
ModifiersBuilders.ElementMetadata.BuilderBuilder for ModifiersBuilders.ElementMetadata
ModifiersBuilders.ModifiersModifiersBuilders.Modifiers for an element.
ModifiersBuilders.Modifiers.BuilderBuilder for ModifiersBuilders.Modifiers
ModifiersBuilders.PaddingA modifier to apply padding around an element.
ModifiersBuilders.Padding.BuilderBuilder for ModifiersBuilders.Padding
ModifiersBuilders.SemanticsA modifier for an element which has accessibility semantics associated with it.
ModifiersBuilders.Semantics.BuilderBuilder for ModifiersBuilders.Semantics
ModifiersBuilders.SpanModifiersModifiersBuilders.Modifiers that can be used with LayoutElementBuilders.Span elements.
ModifiersBuilders.SpanModifiers.BuilderBuilder for ModifiersBuilders.SpanModifiers
ProtoParcelableBase class for holders of protobuf messages that can be parceled to be transferred to the rest of the system.
RequestBuildersBuilders for request messages used to fetch tiles and resources.
RequestBuilders.ResourcesRequestParameters passed to a TileBuilders.Tile Service when the renderer is requesting a specific resource version.
RequestBuilders.ResourcesRequest.BuilderBuilder for RequestBuilders.ResourcesRequest
RequestBuilders.TileRequestParameters passed to a TileBuilders.Tile Service when the renderer is requesting a new version of the tile.
RequestBuilders.TileRequest.BuilderBuilder for RequestBuilders.TileRequest
ResourceBuildersBuilders for the resources for a layout.
ResourceBuilders.AndroidImageResourceByResIdAn image resource which maps to an Android drawable by resource ID.
ResourceBuilders.AndroidImageResourceByResId.BuilderBuilder for ResourceBuilders.AndroidImageResourceByResId
ResourceBuilders.ImageResourceAn image resource, which can be used by layouts.
ResourceBuilders.ImageResource.BuilderBuilder for ResourceBuilders.ImageResource
ResourceBuilders.InlineImageResourceAn image resource whose data is fully inlined, with no dependency on a system or app resource.
ResourceBuilders.InlineImageResource.BuilderBuilder for ResourceBuilders.InlineImageResource
ResourceBuilders.ResourcesThe resources for a layout.
ResourceBuilders.Resources.BuilderBuilder for ResourceBuilders.Resources
ResourcesDataHolder for ProtoTiles' Resources class, to be parceled and transferred to Wear.
ResourcesRequestDataHolder for ProtoTiles' ResourceRequest class, to be parceled and transferred to Wear.
StateBuildersBuilders for state of a tile.
StateBuilders.StateStateBuilders.State information.
StateBuilders.State.BuilderBuilder for StateBuilders.State
SysUiTileUpdateRequesterVariant of TileUpdateRequester which requests an update from the Wear SysUI app.
TileAddEventDataHolder for ProtoTiles' TileAddEvent class, to be parceled and transferred to a tile provider.
TileBuildersBuilders for the components of a tile that can be rendered by a tile renderer.
TileBuilders.TileA holder for a tile.
TileBuilders.Tile.BuilderBuilder for TileBuilders.Tile
TileBuilders.VersionUtility class with the current version of the Tile schema in use.
TileDataHolder for ProtoTiles' Tile class, to be parceled and transferred to Wear.
TileEnterEventDataHolder for ProtoTiles' TileEnterEvent class, to be parceled and transferred to a tile provider.
TileLeaveEventDataHolder for ProtoTiles' TileLeaveEvent class, to be parceled and transferred to a tile provider.
TileProviderServiceBase class for a service providing data for an app tile.
TileRemoveEventDataHolder for ProtoTiles' TileRemoveEvent class, to be parceled and transferred to a tile provider.
TileRequestDataHolder for ProtoTiles' TileRequest class, to be parceled and transferred to Wear.
TileServiceBase class for a service providing data for an app tile.
TileUpdateRequestDataHolder for parameters, used when a Tile update request is triggered.
TimelineBuildersBuilders for a timeline with entries representing content that should be displayed within given time intervals.
TimelineBuilders.TimeIntervalA time interval, typically used to describe the validity period of a TimelineBuilders.TimelineEntry.
TimelineBuilders.TimeInterval.BuilderBuilder for TimelineBuilders.TimeInterval
TimelineBuilders.TimelineA collection of TimelineBuilders.TimelineEntry items.
TimelineBuilders.Timeline.BuilderBuilder for TimelineBuilders.Timeline
TimelineBuilders.TimelineEntryOne piece of renderable content along with the time that it is valid for.
TimelineBuilders.TimelineEntry.BuilderBuilder for TimelineBuilders.TimelineEntry
TypeBuildersBuilders for extensible primitive types used by layout elements.
TypeBuilders.BoolPropA boolean type.
TypeBuilders.BoolProp.BuilderBuilder for TypeBuilders.BoolProp
TypeBuilders.FloatPropA float type.
TypeBuilders.FloatProp.BuilderBuilder for TypeBuilders.FloatProp
TypeBuilders.Int32PropAn int32 type.
TypeBuilders.Int32Prop.BuilderBuilder for TypeBuilders.Int32Prop
TypeBuilders.StringPropA string type.
TypeBuilders.StringProp.BuilderBuilder for TypeBuilders.StringProp
ViewerTileUpdateRequesterTileUpdateRequester which notifies the viewer app that it should fetch a new version of the Timeline.

Annotation Types

DeviceParametersBuilders.DevicePlatformThe platform of the device requesting a tile.
DeviceParametersBuilders.ScreenShapeThe shape of a screen.
EventBuilders.TileInteractionEvent.EventTypeEventBuilders.TileInteractionEvent type.
LayoutElementBuilders.ArcAnchorTypeThe anchor position of an LayoutElementBuilders.Arc's elements.
LayoutElementBuilders.ContentScaleModeHow content which does not match the dimensions of its bounds (e.g.
LayoutElementBuilders.FontVariantThe variant of a font.
LayoutElementBuilders.FontWeightThe weight to be applied to the font.
LayoutElementBuilders.HorizontalAlignmentThe horizontal alignment of an element within its container.
LayoutElementBuilders.SpanVerticalAlignmentThe alignment of a LayoutElementBuilders.SpanImage within the line height of the surrounding LayoutElementBuilders.Spannable.
LayoutElementBuilders.TextAlignmentAlignment of a text element.
LayoutElementBuilders.TextOverflowHow text that will not fit inside the bounds of a LayoutElementBuilders.Text element will be handled.
LayoutElementBuilders.VerticalAlignmentThe vertical alignment of an element within its container.
ResourceBuilders.ImageFormatFormat describing the contents of an image data byte array.
TilesExperimentalDenotes that this API surface is experimental.