| // 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 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 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, kotlinx.coroutines.CoroutineScope coroutineScope, kotlinx.coroutines.CoroutineDispatcher coroutineDispatcher); |
| ctor public DefaultTileClient(android.content.Context context, android.content.ComponentName componentName, java.util.concurrent.Executor executor); |
| method public com.google.common.util.concurrent.ListenableFuture<java.lang.Integer> requestApiVersion(); |
| method 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 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 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); |
| method public android.view.View? inflate(android.view.ViewGroup); |
| } |
| |
| public static interface TileRenderer.LoadActionListener { |
| method public void onClick(androidx.wear.tiles.StateBuilders.State); |
| } |
| |
| } |
| |
| package androidx.wear.tiles.timeline { |
| |
| public final class TilesTimelineCache { |
| ctor public TilesTimelineCache(androidx.wear.tiles.TimelineBuilders.Timeline); |
| method @MainThread public androidx.wear.tiles.TimelineBuilders.TimelineEntry? findClosestTimelineEntry(long); |
| method @MainThread public long findCurrentTimelineEntryExpiry(androidx.wear.tiles.TimelineBuilders.TimelineEntry, long); |
| method @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.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.Listener { |
| method public void onLayoutUpdate(int, androidx.wear.tiles.LayoutElementBuilders.Layout); |
| } |
| |
| } |
| |