| // Signature format: 4.0 |
| package androidx.wear.tiles.client { |
| |
| public interface TileClient { |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Integer!> requestApiVersion(); |
| method @Deprecated public com.google.common.util.concurrent.ListenableFuture<androidx.wear.tiles.ResourceBuilders.Resources!> requestResources(androidx.wear.tiles.RequestBuilders.ResourcesRequest); |
| method public com.google.common.util.concurrent.ListenableFuture<androidx.wear.tiles.TileBuilders.Tile!> requestTile(androidx.wear.tiles.RequestBuilders.TileRequest); |
| method public default com.google.common.util.concurrent.ListenableFuture<androidx.wear.protolayout.ResourceBuilders.Resources!> requestTileResourcesAsync(androidx.wear.tiles.RequestBuilders.ResourcesRequest); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> sendOnTileAddedEvent(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> sendOnTileEnterEvent(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> sendOnTileLeaveEvent(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void!> sendOnTileRemovedEvent(); |
| } |
| |
| } |
| |
| package androidx.wear.tiles.connection { |
| |
| public final class DefaultTileClient implements androidx.wear.tiles.client.TileClient { |
| ctor public DefaultTileClient(android.content.Context context, android.content.ComponentName componentName, java.util.concurrent.Executor executor); |
| ctor public DefaultTileClient(android.content.Context context, android.content.ComponentName componentName, kotlinx.coroutines.CoroutineScope coroutineScope, kotlinx.coroutines.CoroutineDispatcher coroutineDispatcher); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Integer> requestApiVersion(); |
| method @Deprecated public com.google.common.util.concurrent.ListenableFuture<androidx.wear.tiles.ResourceBuilders.Resources> requestResources(androidx.wear.tiles.RequestBuilders.ResourcesRequest requestParams); |
| method public com.google.common.util.concurrent.ListenableFuture<androidx.wear.tiles.TileBuilders.Tile> requestTile(androidx.wear.tiles.RequestBuilders.TileRequest requestParams); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void?> sendOnTileAddedEvent(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void?> sendOnTileEnterEvent(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void?> sendOnTileLeaveEvent(); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Void?> sendOnTileRemovedEvent(); |
| } |
| |
| } |
| |
| package androidx.wear.tiles.manager { |
| |
| public final class TileUiClient implements java.lang.AutoCloseable { |
| ctor public TileUiClient(android.content.Context context, android.content.ComponentName component, android.view.ViewGroup parentView); |
| method @MainThread public void close(); |
| method @MainThread public void connect(); |
| } |
| |
| } |
| |
| package androidx.wear.tiles.renderer { |
| |
| public final class TileRenderer { |
| ctor @Deprecated public TileRenderer(android.content.Context, androidx.wear.tiles.LayoutElementBuilders.Layout, androidx.wear.tiles.ResourceBuilders.Resources, java.util.concurrent.Executor, androidx.wear.tiles.renderer.TileRenderer.LoadActionListener); |
| ctor @Deprecated public TileRenderer(android.content.Context, androidx.wear.tiles.LayoutElementBuilders.Layout, @StyleRes int, androidx.wear.tiles.ResourceBuilders.Resources, java.util.concurrent.Executor, androidx.wear.tiles.renderer.TileRenderer.LoadActionListener); |
| ctor public TileRenderer(android.content.Context, java.util.concurrent.Executor, java.util.function.Consumer<androidx.wear.protolayout.StateBuilders.State!>); |
| method public java.util.concurrent.Executor getLoadActionExecutor(); |
| method public java.util.function.Consumer<androidx.wear.protolayout.StateBuilders.State!> getLoadActionListener(); |
| method public java.util.Map<androidx.wear.protolayout.expression.pipeline.PlatformDataProvider!,java.util.Set<androidx.wear.protolayout.expression.PlatformDataKey<? extends java.lang.Object!>!>!> getPlatformDataProviders(); |
| method public int getTilesTheme(); |
| method public android.content.Context getUiContext(); |
| method @Deprecated public android.view.View? inflate(android.view.ViewGroup); |
| method public com.google.common.util.concurrent.ListenableFuture<android.view.View!> inflateAsync(androidx.wear.protolayout.LayoutElementBuilders.Layout, androidx.wear.protolayout.ResourceBuilders.Resources, android.view.ViewGroup); |
| method public void setState(java.util.Map<androidx.wear.protolayout.expression.AppDataKey<? extends java.lang.Object!>!,androidx.wear.protolayout.expression.DynamicDataBuilders.DynamicDataValue<? extends java.lang.Object!>!>); |
| } |
| |
| public static final class TileRenderer.Builder { |
| ctor public TileRenderer.Builder(android.content.Context, java.util.concurrent.Executor, java.util.function.Consumer<androidx.wear.protolayout.StateBuilders.State!>); |
| method public androidx.wear.tiles.renderer.TileRenderer.Builder addPlatformDataProvider(androidx.wear.protolayout.expression.pipeline.PlatformDataProvider, androidx.wear.protolayout.expression.PlatformDataKey<? extends java.lang.Object!>!...); |
| method public androidx.wear.tiles.renderer.TileRenderer build(); |
| method public androidx.wear.tiles.renderer.TileRenderer.Builder setTilesTheme(@StyleRes int); |
| } |
| |
| @Deprecated public static interface TileRenderer.LoadActionListener { |
| method @Deprecated public void onClick(androidx.wear.tiles.StateBuilders.State); |
| } |
| |
| } |
| |
| package androidx.wear.tiles.timeline { |
| |
| public final class TilesTimelineCache { |
| ctor public TilesTimelineCache(androidx.wear.protolayout.TimelineBuilders.Timeline); |
| ctor @Deprecated public TilesTimelineCache(androidx.wear.tiles.TimelineBuilders.Timeline); |
| method @MainThread public androidx.wear.protolayout.TimelineBuilders.TimelineEntry? findClosestTileTimelineEntry(long); |
| method @Deprecated @MainThread public androidx.wear.tiles.TimelineBuilders.TimelineEntry? findClosestTimelineEntry(long); |
| method @MainThread public long findCurrentTimelineEntryExpiry(androidx.wear.protolayout.TimelineBuilders.TimelineEntry, long); |
| method @Deprecated @MainThread public long findCurrentTimelineEntryExpiry(androidx.wear.tiles.TimelineBuilders.TimelineEntry, long); |
| method @MainThread public androidx.wear.protolayout.TimelineBuilders.TimelineEntry? findTileTimelineEntryForTime(long); |
| method @Deprecated @MainThread public androidx.wear.tiles.TimelineBuilders.TimelineEntry? findTimelineEntryForTime(long); |
| } |
| |
| public class TilesTimelineManager implements java.lang.AutoCloseable { |
| ctor public TilesTimelineManager(android.app.AlarmManager, androidx.wear.tiles.timeline.TilesTimelineManager.Clock, androidx.wear.protolayout.TimelineBuilders.Timeline, int, java.util.concurrent.Executor, androidx.wear.tiles.timeline.TilesTimelineManager.LayoutUpdateListener); |
| ctor @Deprecated public TilesTimelineManager(android.app.AlarmManager, androidx.wear.tiles.timeline.TilesTimelineManager.Clock, androidx.wear.tiles.TimelineBuilders.Timeline, int, java.util.concurrent.Executor, androidx.wear.tiles.timeline.TilesTimelineManager.Listener); |
| method public void close(); |
| method public void init(); |
| } |
| |
| public static interface TilesTimelineManager.Clock { |
| method public long getCurrentTimeMillis(); |
| } |
| |
| public static interface TilesTimelineManager.LayoutUpdateListener { |
| method public void onLayoutUpdate(int, androidx.wear.protolayout.LayoutElementBuilders.Layout); |
| } |
| |
| @Deprecated public static interface TilesTimelineManager.Listener { |
| method @Deprecated public void onLayoutUpdate(int, androidx.wear.tiles.LayoutElementBuilders.Layout); |
| } |
| |
| } |
| |