| // Signature format: 4.0 |
| package androidx.wear.watchface.complications.data { |
| |
| public abstract sealed class ComplicationData { |
| method public final android.content.ComponentName? getDataSource(); |
| method public java.time.Instant getNextChangeInstant(java.time.Instant afterInstant); |
| method public final android.app.PendingIntent? getTapAction(); |
| method public final androidx.wear.watchface.complications.data.ComplicationType getType(); |
| method public final androidx.wear.watchface.complications.data.TimeRange getValidTimeRange(); |
| method public boolean hasPlaceholderFields(); |
| method public final boolean isTapActionLostDueToSerialization(); |
| method public final void setTapActionLostDueToSerialization(boolean); |
| property public final android.content.ComponentName? dataSource; |
| property public final android.app.PendingIntent? tapAction; |
| property public final boolean tapActionLostDueToSerialization; |
| property public final androidx.wear.watchface.complications.data.ComplicationType type; |
| property public final androidx.wear.watchface.complications.data.TimeRange validTimeRange; |
| } |
| |
| @kotlin.RequiresOptIn(message="This is an experimental API that may change or be removed without warning.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ComplicationExperimental { |
| } |
| |
| public interface ComplicationText { |
| method public java.time.Instant getNextChangeTime(java.time.Instant afterInstant); |
| method public CharSequence getTextAt(android.content.res.Resources resources, java.time.Instant instant); |
| method public boolean isAlwaysEmpty(); |
| method public boolean returnsSameText(java.time.Instant firstInstant, java.time.Instant secondInstant); |
| field public static final androidx.wear.watchface.complications.data.ComplicationText.Companion Companion; |
| field public static final androidx.wear.watchface.complications.data.ComplicationText EMPTY; |
| field public static final androidx.wear.watchface.complications.data.ComplicationText PLACEHOLDER; |
| } |
| |
| public static final class ComplicationText.Companion { |
| } |
| |
| public enum ComplicationType { |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType EMPTY; |
| enum_constant @androidx.wear.watchface.complications.data.ComplicationExperimental public static final androidx.wear.watchface.complications.data.ComplicationType LIST; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType LONG_TEXT; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType MONOCHROMATIC_IMAGE; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType NOT_CONFIGURED; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType NO_DATA; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType NO_PERMISSION; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType PHOTO_IMAGE; |
| enum_constant @androidx.wear.watchface.complications.data.ComplicationExperimental public static final androidx.wear.watchface.complications.data.ComplicationType PROTO_LAYOUT; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType RANGED_VALUE; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType SHORT_TEXT; |
| enum_constant public static final androidx.wear.watchface.complications.data.ComplicationType SMALL_IMAGE; |
| } |
| |
| public final class CountDownTimeReference { |
| ctor public CountDownTimeReference(java.time.Instant instant); |
| method public java.time.Instant getInstant(); |
| property public final java.time.Instant instant; |
| } |
| |
| public final class CountUpTimeReference { |
| ctor public CountUpTimeReference(java.time.Instant instant); |
| method public java.time.Instant getInstant(); |
| property public final java.time.Instant instant; |
| } |
| |
| public final class DataKt { |
| } |
| |
| public final class EmptyComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| ctor public EmptyComplicationData(); |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public final class ImageKt { |
| } |
| |
| @androidx.wear.watchface.complications.data.ComplicationExperimental public final class ListComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public java.util.List<androidx.wear.watchface.complications.data.ComplicationData> getComplicationList(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.watchface.complications.data.ListComplicationData.StyleHint getStyleHint(); |
| property public final java.util.List<androidx.wear.watchface.complications.data.ComplicationData> complicationList; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.watchface.complications.data.ListComplicationData.StyleHint styleHint; |
| field public static final int MAX_ITEMS = 5; // 0x5 |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class ListComplicationData.Builder { |
| ctor public ListComplicationData.Builder(java.util.List<? extends androidx.wear.watchface.complications.data.ComplicationData> complicationList, androidx.wear.watchface.complications.data.ListComplicationData.StyleHint styleHint, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.ListComplicationData build(); |
| method public androidx.wear.watchface.complications.data.ListComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.ListComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.ListComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| @androidx.wear.watchface.complications.data.ComplicationExperimental public enum ListComplicationData.StyleHint { |
| enum_constant public static final androidx.wear.watchface.complications.data.ListComplicationData.StyleHint ColumnOfRows; |
| enum_constant public static final androidx.wear.watchface.complications.data.ListComplicationData.StyleHint RowOfColumns; |
| } |
| |
| public final class LongTextComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.watchface.complications.data.MonochromaticImage? getMonochromaticImage(); |
| method public androidx.wear.watchface.complications.data.SmallImage? getSmallImage(); |
| method public androidx.wear.watchface.complications.data.ComplicationText getText(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getTitle(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage; |
| property public final androidx.wear.watchface.complications.data.SmallImage? smallImage; |
| property public final androidx.wear.watchface.complications.data.ComplicationText text; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? title; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class LongTextComplicationData.Builder { |
| ctor public LongTextComplicationData.Builder(androidx.wear.watchface.complications.data.ComplicationText text, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData build(); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData.Builder setMonochromaticImage(androidx.wear.watchface.complications.data.MonochromaticImage? icon); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData.Builder setSmallImage(androidx.wear.watchface.complications.data.SmallImage? smallImage); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData.Builder setTitle(androidx.wear.watchface.complications.data.ComplicationText? title); |
| method public androidx.wear.watchface.complications.data.LongTextComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public final class MonochromaticImage { |
| method public android.graphics.drawable.Icon? getAmbientImage(); |
| method public android.graphics.drawable.Icon getImage(); |
| property public final android.graphics.drawable.Icon? ambientImage; |
| property public final android.graphics.drawable.Icon image; |
| field public static final androidx.wear.watchface.complications.data.MonochromaticImage PLACEHOLDER; |
| } |
| |
| public static final class MonochromaticImage.Builder { |
| ctor public MonochromaticImage.Builder(android.graphics.drawable.Icon image); |
| method public androidx.wear.watchface.complications.data.MonochromaticImage build(); |
| method public androidx.wear.watchface.complications.data.MonochromaticImage.Builder setAmbientImage(android.graphics.drawable.Icon? ambientImage); |
| } |
| |
| public final class MonochromaticImageComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.watchface.complications.data.MonochromaticImage getMonochromaticImage(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.watchface.complications.data.MonochromaticImage monochromaticImage; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class MonochromaticImageComplicationData.Builder { |
| ctor public MonochromaticImageComplicationData.Builder(androidx.wear.watchface.complications.data.MonochromaticImage monochromaticImage, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.MonochromaticImageComplicationData build(); |
| method public androidx.wear.watchface.complications.data.MonochromaticImageComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.MonochromaticImageComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.MonochromaticImageComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public final class NoDataComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| ctor public NoDataComplicationData(); |
| ctor public NoDataComplicationData(androidx.wear.watchface.complications.data.ComplicationData placeholder); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.watchface.complications.data.ComplicationData? getPlaceholder(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.watchface.complications.data.ComplicationData? placeholder; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public final class NoPermissionComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.MonochromaticImage? getMonochromaticImage(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getText(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getTitle(); |
| property public final androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? text; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? title; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class NoPermissionComplicationData.Builder { |
| ctor public NoPermissionComplicationData.Builder(); |
| method public androidx.wear.watchface.complications.data.NoPermissionComplicationData build(); |
| method public androidx.wear.watchface.complications.data.NoPermissionComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.NoPermissionComplicationData.Builder setMonochromaticImage(androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage); |
| method public androidx.wear.watchface.complications.data.NoPermissionComplicationData.Builder setText(androidx.wear.watchface.complications.data.ComplicationText? text); |
| method public androidx.wear.watchface.complications.data.NoPermissionComplicationData.Builder setTitle(androidx.wear.watchface.complications.data.ComplicationText? title); |
| } |
| |
| public final class NotConfiguredComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| ctor public NotConfiguredComplicationData(); |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public final class PhotoImageComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public android.graphics.drawable.Icon getPhotoImage(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final android.graphics.drawable.Icon photoImage; |
| field public static final android.graphics.drawable.Icon PLACEHOLDER; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class PhotoImageComplicationData.Builder { |
| ctor public PhotoImageComplicationData.Builder(android.graphics.drawable.Icon photoImage, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.PhotoImageComplicationData build(); |
| method public androidx.wear.watchface.complications.data.PhotoImageComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.PhotoImageComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.PhotoImageComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public final class PlainComplicationText implements androidx.wear.watchface.complications.data.ComplicationText { |
| method public java.time.Instant getNextChangeTime(java.time.Instant afterInstant); |
| method public CharSequence getTextAt(android.content.res.Resources resources, java.time.Instant instant); |
| method public boolean isAlwaysEmpty(); |
| method public boolean returnsSameText(java.time.Instant firstInstant, java.time.Instant secondInstant); |
| } |
| |
| public static final class PlainComplicationText.Builder { |
| ctor public PlainComplicationText.Builder(CharSequence text); |
| method public androidx.wear.watchface.complications.data.PlainComplicationText build(); |
| } |
| |
| @androidx.wear.watchface.complications.data.ComplicationExperimental public final class ProtoLayoutComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.tiles.LayoutElementBuilders.Layout getAmbientLayout(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.tiles.LayoutElementBuilders.Layout getInteractiveLayout(); |
| method public androidx.wear.tiles.ResourceBuilders.Resources getLayoutResources(); |
| property public final androidx.wear.tiles.LayoutElementBuilders.Layout ambientLayout; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.tiles.LayoutElementBuilders.Layout interactiveLayout; |
| property public final androidx.wear.tiles.ResourceBuilders.Resources layoutResources; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class ProtoLayoutComplicationData.Builder { |
| ctor public ProtoLayoutComplicationData.Builder(byte[] ambientLayout, byte[] interactiveLayout, byte[] layoutResources, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| ctor public ProtoLayoutComplicationData.Builder(androidx.wear.tiles.LayoutElementBuilders.Layout ambientLayout, androidx.wear.tiles.LayoutElementBuilders.Layout interactiveLayout, androidx.wear.tiles.ResourceBuilders.Resources resources, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.ProtoLayoutComplicationData build(); |
| method public androidx.wear.watchface.complications.data.ProtoLayoutComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.ProtoLayoutComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.ProtoLayoutComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public final class RangedValueComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public float getMax(); |
| method public float getMin(); |
| method public androidx.wear.watchface.complications.data.MonochromaticImage? getMonochromaticImage(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getText(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getTitle(); |
| method public float getValue(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final float max; |
| property public final float min; |
| property public final androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? text; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? title; |
| property public final float value; |
| field public static final float PLACEHOLDER; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class RangedValueComplicationData.Builder { |
| ctor public RangedValueComplicationData.Builder(float value, float min, float max, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData build(); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData.Builder setMonochromaticImage(androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData.Builder setText(androidx.wear.watchface.complications.data.ComplicationText? text); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData.Builder setTitle(androidx.wear.watchface.complications.data.ComplicationText? title); |
| method public androidx.wear.watchface.complications.data.RangedValueComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public final class ShortTextComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.watchface.complications.data.MonochromaticImage? getMonochromaticImage(); |
| method public androidx.wear.watchface.complications.data.ComplicationText getText(); |
| method public androidx.wear.watchface.complications.data.ComplicationText? getTitle(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage; |
| property public final androidx.wear.watchface.complications.data.ComplicationText text; |
| property public final androidx.wear.watchface.complications.data.ComplicationText? title; |
| field public static final int MAX_TEXT_LENGTH; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class ShortTextComplicationData.Builder { |
| ctor public ShortTextComplicationData.Builder(androidx.wear.watchface.complications.data.ComplicationText text, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.ShortTextComplicationData build(); |
| method public androidx.wear.watchface.complications.data.ShortTextComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.ShortTextComplicationData.Builder setMonochromaticImage(androidx.wear.watchface.complications.data.MonochromaticImage? monochromaticImage); |
| method public androidx.wear.watchface.complications.data.ShortTextComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.ShortTextComplicationData.Builder setTitle(androidx.wear.watchface.complications.data.ComplicationText? title); |
| method public androidx.wear.watchface.complications.data.ShortTextComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public final class SmallImage { |
| method public android.graphics.drawable.Icon? getAmbientImage(); |
| method public android.graphics.drawable.Icon getImage(); |
| method public androidx.wear.watchface.complications.data.SmallImageType getType(); |
| property public final android.graphics.drawable.Icon? ambientImage; |
| property public final android.graphics.drawable.Icon image; |
| property public final androidx.wear.watchface.complications.data.SmallImageType type; |
| field public static final androidx.wear.watchface.complications.data.SmallImage PLACEHOLDER; |
| } |
| |
| public static final class SmallImage.Builder { |
| ctor public SmallImage.Builder(android.graphics.drawable.Icon image, androidx.wear.watchface.complications.data.SmallImageType type); |
| method public androidx.wear.watchface.complications.data.SmallImage build(); |
| method public androidx.wear.watchface.complications.data.SmallImage.Builder setAmbientImage(android.graphics.drawable.Icon? ambientImage); |
| } |
| |
| public final class SmallImageComplicationData extends androidx.wear.watchface.complications.data.ComplicationData { |
| method public androidx.wear.watchface.complications.data.ComplicationText? getContentDescription(); |
| method public androidx.wear.watchface.complications.data.SmallImage getSmallImage(); |
| property public final androidx.wear.watchface.complications.data.ComplicationText? contentDescription; |
| property public final androidx.wear.watchface.complications.data.SmallImage smallImage; |
| field public static final androidx.wear.watchface.complications.data.ComplicationType TYPE; |
| } |
| |
| public static final class SmallImageComplicationData.Builder { |
| ctor public SmallImageComplicationData.Builder(androidx.wear.watchface.complications.data.SmallImage smallImage, androidx.wear.watchface.complications.data.ComplicationText contentDescription); |
| method public androidx.wear.watchface.complications.data.SmallImageComplicationData build(); |
| method public androidx.wear.watchface.complications.data.SmallImageComplicationData.Builder setDataSource(android.content.ComponentName? dataSource); |
| method public androidx.wear.watchface.complications.data.SmallImageComplicationData.Builder setTapAction(android.app.PendingIntent? tapAction); |
| method public androidx.wear.watchface.complications.data.SmallImageComplicationData.Builder setValidTimeRange(androidx.wear.watchface.complications.data.TimeRange? validTimeRange); |
| } |
| |
| public enum SmallImageType { |
| enum_constant public static final androidx.wear.watchface.complications.data.SmallImageType ICON; |
| enum_constant public static final androidx.wear.watchface.complications.data.SmallImageType PHOTO; |
| } |
| |
| public final class TextKt { |
| } |
| |
| public final class TimeDifferenceComplicationText implements androidx.wear.watchface.complications.data.ComplicationText { |
| method public java.util.concurrent.TimeUnit? getMinimumTimeUnit(); |
| method public java.time.Instant getNextChangeTime(java.time.Instant afterInstant); |
| method public CharSequence getTextAt(android.content.res.Resources resources, java.time.Instant instant); |
| method public boolean isAlwaysEmpty(); |
| method public boolean returnsSameText(java.time.Instant firstInstant, java.time.Instant secondInstant); |
| } |
| |
| public static final class TimeDifferenceComplicationText.Builder { |
| ctor public TimeDifferenceComplicationText.Builder(androidx.wear.watchface.complications.data.TimeDifferenceStyle style, androidx.wear.watchface.complications.data.CountUpTimeReference countUpTimeReference); |
| ctor public TimeDifferenceComplicationText.Builder(androidx.wear.watchface.complications.data.TimeDifferenceStyle style, androidx.wear.watchface.complications.data.CountDownTimeReference countDownTimeReference); |
| method public androidx.wear.watchface.complications.data.TimeDifferenceComplicationText build(); |
| method public androidx.wear.watchface.complications.data.TimeDifferenceComplicationText.Builder setDisplayAsNow(boolean displayAsNow); |
| method public androidx.wear.watchface.complications.data.TimeDifferenceComplicationText.Builder setMinimumTimeUnit(java.util.concurrent.TimeUnit? minimumUnit); |
| method public androidx.wear.watchface.complications.data.TimeDifferenceComplicationText.Builder setText(CharSequence? text); |
| } |
| |
| public enum TimeDifferenceStyle { |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeDifferenceStyle SHORT_DUAL_UNIT; |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeDifferenceStyle SHORT_SINGLE_UNIT; |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeDifferenceStyle SHORT_WORDS_SINGLE_UNIT; |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeDifferenceStyle STOPWATCH; |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeDifferenceStyle WORDS_SINGLE_UNIT; |
| } |
| |
| public final class TimeFormatComplicationText implements androidx.wear.watchface.complications.data.ComplicationText { |
| method public java.time.Instant getNextChangeTime(java.time.Instant afterInstant); |
| method public CharSequence getTextAt(android.content.res.Resources resources, java.time.Instant instant); |
| method public boolean isAlwaysEmpty(); |
| method public boolean returnsSameText(java.time.Instant firstInstant, java.time.Instant secondInstant); |
| } |
| |
| public static final class TimeFormatComplicationText.Builder { |
| ctor public TimeFormatComplicationText.Builder(String format); |
| method public androidx.wear.watchface.complications.data.TimeFormatComplicationText build(); |
| method public androidx.wear.watchface.complications.data.TimeFormatComplicationText.Builder setStyle(androidx.wear.watchface.complications.data.TimeFormatStyle style); |
| method public androidx.wear.watchface.complications.data.TimeFormatComplicationText.Builder setText(CharSequence text); |
| method public androidx.wear.watchface.complications.data.TimeFormatComplicationText.Builder setTimeZone(android.icu.util.TimeZone timeZone); |
| } |
| |
| public enum TimeFormatStyle { |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeFormatStyle DEFAULT; |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeFormatStyle LOWER_CASE; |
| enum_constant public static final androidx.wear.watchface.complications.data.TimeFormatStyle UPPER_CASE; |
| } |
| |
| public final class TimeRange { |
| method public static androidx.wear.watchface.complications.data.TimeRange after(java.time.Instant startInstant); |
| method public static androidx.wear.watchface.complications.data.TimeRange before(java.time.Instant endInstant); |
| method public static androidx.wear.watchface.complications.data.TimeRange between(java.time.Instant startInstant, java.time.Instant endInstant); |
| method public operator boolean contains(java.time.Instant dateTimeMillis); |
| method public java.time.Instant getEndDateTimeMillis(); |
| method public java.time.Instant getStartDateTimeMillis(); |
| property public final java.time.Instant endDateTimeMillis; |
| property public final java.time.Instant startDateTimeMillis; |
| field public static final androidx.wear.watchface.complications.data.TimeRange ALWAYS; |
| field public static final androidx.wear.watchface.complications.data.TimeRange.Companion Companion; |
| } |
| |
| public static final class TimeRange.Companion { |
| method public androidx.wear.watchface.complications.data.TimeRange after(java.time.Instant startInstant); |
| method public androidx.wear.watchface.complications.data.TimeRange before(java.time.Instant endInstant); |
| method public androidx.wear.watchface.complications.data.TimeRange between(java.time.Instant startInstant, java.time.Instant endInstant); |
| } |
| |
| public final class TypeKt { |
| } |
| |
| } |
| |
| package androidx.wear.watchface.utility { |
| |
| public final class TraceEventKt { |
| } |
| |
| } |
| |