| // Signature format: 4.0 |
| package androidx.glance.template { |
| |
| public final class ActionBlock { |
| ctor public ActionBlock(); |
| ctor public ActionBlock(optional java.util.List<? extends androidx.glance.template.TemplateButton> actionButtons, optional int type); |
| method public java.util.List<androidx.glance.template.TemplateButton> getActionButtons(); |
| method public int getType(); |
| property public final java.util.List<androidx.glance.template.TemplateButton> actionButtons; |
| property public final int type; |
| } |
| |
| @kotlin.jvm.JvmInline public final value class AspectRatio { |
| field public static final androidx.glance.template.AspectRatio.Companion Companion; |
| } |
| |
| public static final class AspectRatio.Companion { |
| method public int getRatio16x9(); |
| method public int getRatio1x1(); |
| method public int getRatio2x3(); |
| property public final int Ratio16x9; |
| property public final int Ratio1x1; |
| property public final int Ratio2x3; |
| } |
| |
| @kotlin.jvm.JvmInline public final value class ButtonType { |
| field public static final androidx.glance.template.ButtonType.Companion Companion; |
| } |
| |
| public static final class ButtonType.Companion { |
| method public int getFab(); |
| method public int getIcon(); |
| method public int getText(); |
| method public int getTextIcon(); |
| property public final int Fab; |
| property public final int Icon; |
| property public final int Text; |
| property public final int TextIcon; |
| } |
| |
| public final class CompositionLocalsKt { |
| method public static androidx.compose.runtime.ProvidableCompositionLocal<androidx.glance.template.TemplateMode> getLocalTemplateMode(); |
| property public static final androidx.compose.runtime.ProvidableCompositionLocal<androidx.glance.template.TemplateMode> LocalTemplateMode; |
| } |
| |
| public final class FreeformTemplateData { |
| ctor public FreeformTemplateData(androidx.glance.unit.ColorProvider backgroundColor, androidx.glance.template.TemplateImageWithDescription headerIcon, androidx.glance.template.TemplateImageButton? actionIcon, optional androidx.glance.template.TemplateText? header, optional androidx.glance.template.TemplateText? title, optional androidx.glance.template.TemplateText? subtitle, optional androidx.glance.ImageProvider? backgroundImage); |
| method public androidx.glance.template.TemplateImageButton? getActionIcon(); |
| method public androidx.glance.unit.ColorProvider getBackgroundColor(); |
| method public androidx.glance.ImageProvider? getBackgroundImage(); |
| method public androidx.glance.template.TemplateText? getHeader(); |
| method public androidx.glance.template.TemplateImageWithDescription getHeaderIcon(); |
| method public androidx.glance.template.TemplateText? getSubtitle(); |
| method public androidx.glance.template.TemplateText? getTitle(); |
| property public final androidx.glance.template.TemplateImageButton? actionIcon; |
| property public final androidx.glance.unit.ColorProvider backgroundColor; |
| property public final androidx.glance.ImageProvider? backgroundImage; |
| property public final androidx.glance.template.TemplateText? header; |
| property public final androidx.glance.template.TemplateImageWithDescription headerIcon; |
| property public final androidx.glance.template.TemplateText? subtitle; |
| property public final androidx.glance.template.TemplateText? title; |
| } |
| |
| public final class FreeformTemplateLayoutsKt { |
| method @androidx.compose.runtime.Composable public static void FreeformTemplate(androidx.glance.template.FreeformTemplateData data); |
| } |
| |
| public final class GalleryTemplateData { |
| ctor public GalleryTemplateData(androidx.glance.template.TextBlock mainTextBlock, androidx.glance.template.ImageBlock mainImageBlock, androidx.glance.template.ImageBlock galleryImageBlock, optional androidx.glance.template.HeaderBlock? header, optional androidx.glance.template.ActionBlock? mainActionBlock); |
| method public androidx.glance.template.ImageBlock getGalleryImageBlock(); |
| method public androidx.glance.template.HeaderBlock? getHeader(); |
| method public androidx.glance.template.ActionBlock? getMainActionBlock(); |
| method public androidx.glance.template.ImageBlock getMainImageBlock(); |
| method public androidx.glance.template.TextBlock getMainTextBlock(); |
| property public final androidx.glance.template.ImageBlock galleryImageBlock; |
| property public final androidx.glance.template.HeaderBlock? header; |
| property public final androidx.glance.template.ActionBlock? mainActionBlock; |
| property public final androidx.glance.template.ImageBlock mainImageBlock; |
| property public final androidx.glance.template.TextBlock mainTextBlock; |
| } |
| |
| public final class GalleryTemplateLayoutsKt { |
| method @androidx.compose.runtime.Composable public static void GalleryTemplate(androidx.glance.template.GalleryTemplateData data); |
| } |
| |
| public abstract class GlanceTemplateAppWidget extends androidx.glance.appwidget.GlanceAppWidget { |
| ctor public GlanceTemplateAppWidget(); |
| method @androidx.compose.runtime.Composable @androidx.glance.GlanceComposable public abstract void TemplateContent(); |
| method public final suspend Object? provideGlance(android.content.Context context, androidx.glance.GlanceId id, kotlin.coroutines.Continuation<? extends java.lang.Object?>); |
| property public androidx.glance.appwidget.SizeMode sizeMode; |
| property public androidx.glance.state.GlanceStateDefinition<? extends java.lang.Object?>? stateDefinition; |
| field public static final androidx.glance.template.GlanceTemplateAppWidget.Companion Companion; |
| } |
| |
| public static final class GlanceTemplateAppWidget.Companion { |
| } |
| |
| public final class HeaderBlock { |
| ctor public HeaderBlock(androidx.glance.template.TemplateText text, optional androidx.glance.template.TemplateImageWithDescription? icon); |
| method public androidx.glance.template.TemplateImageWithDescription? getIcon(); |
| method public androidx.glance.template.TemplateText getText(); |
| property public final androidx.glance.template.TemplateImageWithDescription? icon; |
| property public final androidx.glance.template.TemplateText text; |
| } |
| |
| public final class ImageBlock { |
| ctor public ImageBlock(); |
| ctor public ImageBlock(optional java.util.List<androidx.glance.template.TemplateImageWithDescription> images, optional int aspectRatio, optional int size, optional @IntRange(from=0L) int priority); |
| method public int getAspectRatio(); |
| method public java.util.List<androidx.glance.template.TemplateImageWithDescription> getImages(); |
| method public int getPriority(); |
| method public int getSize(); |
| property public final int aspectRatio; |
| property public final java.util.List<androidx.glance.template.TemplateImageWithDescription> images; |
| property @IntRange(from=0L) public final int priority; |
| property public final int size; |
| } |
| |
| @kotlin.jvm.JvmInline public final value class ImageSize { |
| field public static final androidx.glance.template.ImageSize.Companion Companion; |
| } |
| |
| public static final class ImageSize.Companion { |
| method public int getLarge(); |
| method public int getMedium(); |
| method public int getSmall(); |
| method public int getUndefined(); |
| property public final int Large; |
| property public final int Medium; |
| property public final int Small; |
| property public final int Undefined; |
| } |
| |
| @kotlin.jvm.JvmInline public final value class ListStyle { |
| field public static final androidx.glance.template.ListStyle.Companion Companion; |
| } |
| |
| public static final class ListStyle.Companion { |
| method public int getBrief(); |
| method public int getFull(); |
| property public final int Brief; |
| property public final int Full; |
| } |
| |
| public final class ListTemplateData { |
| ctor public ListTemplateData(); |
| ctor public ListTemplateData(optional androidx.glance.template.HeaderBlock? headerBlock, optional java.util.List<androidx.glance.template.ListTemplateItem> listContent, optional int listStyle); |
| method public androidx.glance.template.HeaderBlock? getHeaderBlock(); |
| method public java.util.List<androidx.glance.template.ListTemplateItem> getListContent(); |
| method public int getListStyle(); |
| property public final androidx.glance.template.HeaderBlock? headerBlock; |
| property public final java.util.List<androidx.glance.template.ListTemplateItem> listContent; |
| property public final int listStyle; |
| } |
| |
| public final class ListTemplateItem { |
| ctor public ListTemplateItem(androidx.glance.template.TextBlock textBlock, optional androidx.glance.template.ImageBlock? imageBlock, optional androidx.glance.template.ActionBlock? actionBlock); |
| method public androidx.glance.template.ActionBlock? getActionBlock(); |
| method public androidx.glance.template.ImageBlock? getImageBlock(); |
| method public androidx.glance.template.TextBlock getTextBlock(); |
| property public final androidx.glance.template.ActionBlock? actionBlock; |
| property public final androidx.glance.template.ImageBlock? imageBlock; |
| property public final androidx.glance.template.TextBlock textBlock; |
| } |
| |
| @androidx.glance.GlanceComposable public final class ListTemplateLayoutsKt { |
| method @androidx.compose.runtime.Composable public static void ListTemplate(androidx.glance.template.ListTemplateData data); |
| } |
| |
| public final class SingleEntityTemplateData { |
| ctor public SingleEntityTemplateData(); |
| ctor public SingleEntityTemplateData(optional androidx.glance.template.HeaderBlock? headerBlock, optional androidx.glance.template.TextBlock? textBlock, optional androidx.glance.template.ImageBlock? imageBlock, optional androidx.glance.template.ActionBlock? actionBlock); |
| method public androidx.glance.template.ActionBlock? getActionBlock(); |
| method public androidx.glance.template.HeaderBlock? getHeaderBlock(); |
| method public androidx.glance.template.ImageBlock? getImageBlock(); |
| method public androidx.glance.template.TextBlock? getTextBlock(); |
| property public final androidx.glance.template.ActionBlock? actionBlock; |
| property public final androidx.glance.template.HeaderBlock? headerBlock; |
| property public final androidx.glance.template.ImageBlock? imageBlock; |
| property public final androidx.glance.template.TextBlock? textBlock; |
| } |
| |
| public final class SingleEntityTemplateLayoutsKt { |
| method @androidx.compose.runtime.Composable public static void SingleEntityTemplate(androidx.glance.template.SingleEntityTemplateData data); |
| } |
| |
| public abstract sealed class TemplateButton { |
| method public final androidx.glance.action.Action getAction(); |
| property public final androidx.glance.action.Action action; |
| } |
| |
| public final class TemplateImageButton extends androidx.glance.template.TemplateButton { |
| ctor public TemplateImageButton(androidx.glance.action.Action action, androidx.glance.template.TemplateImageWithDescription image); |
| method public androidx.glance.template.TemplateImageWithDescription getImage(); |
| property public final androidx.glance.template.TemplateImageWithDescription image; |
| } |
| |
| public final class TemplateImageWithDescription { |
| ctor public TemplateImageWithDescription(androidx.glance.ImageProvider image, String description, optional float cornerRadius); |
| method public float getCornerRadius(); |
| method public String getDescription(); |
| method public androidx.glance.ImageProvider getImage(); |
| property public final float cornerRadius; |
| property public final String description; |
| property public final androidx.glance.ImageProvider image; |
| } |
| |
| public enum TemplateMode { |
| enum_constant public static final androidx.glance.template.TemplateMode Collapsed; |
| enum_constant public static final androidx.glance.template.TemplateMode Horizontal; |
| enum_constant public static final androidx.glance.template.TemplateMode Vertical; |
| } |
| |
| public final class TemplateText { |
| ctor public TemplateText(String text, optional int type); |
| method public String getText(); |
| method public int getType(); |
| property public final String text; |
| property public final int type; |
| } |
| |
| public final class TemplateTextButton extends androidx.glance.template.TemplateButton { |
| ctor public TemplateTextButton(androidx.glance.action.Action action, String text); |
| method public String getText(); |
| property public final String text; |
| } |
| |
| public final class TextBlock { |
| ctor public TextBlock(androidx.glance.template.TemplateText text1, optional androidx.glance.template.TemplateText? text2, optional androidx.glance.template.TemplateText? text3, optional @IntRange(from=0L) int priority); |
| method public int getPriority(); |
| method public androidx.glance.template.TemplateText getText1(); |
| method public androidx.glance.template.TemplateText? getText2(); |
| method public androidx.glance.template.TemplateText? getText3(); |
| property @IntRange(from=0L) public final int priority; |
| property public final androidx.glance.template.TemplateText text1; |
| property public final androidx.glance.template.TemplateText? text2; |
| property public final androidx.glance.template.TemplateText? text3; |
| } |
| |
| @kotlin.jvm.JvmInline public final value class TextType { |
| field public static final androidx.glance.template.TextType.Companion Companion; |
| } |
| |
| public static final class TextType.Companion { |
| method public int getBody(); |
| method public int getDisplay(); |
| method public int getHeadline(); |
| method public int getLabel(); |
| method public int getTitle(); |
| property public final int Body; |
| property public final int Display; |
| property public final int Headline; |
| property public final int Label; |
| property public final int Title; |
| } |
| |
| } |
| |