1// Signature format: 4.0 2package androidx.compose.runtime { 3 4 public abstract class AbstractApplier<T> implements androidx.compose.runtime.Applier<T> { 5 ctor public AbstractApplier(T root); 6 method public final void clear(); 7 method public void down(T node); 8 method public T getCurrent(); 9 method public final T getRoot(); 10 method protected final void move(java.util.List<T>, int from, int to, int count); 11 method protected abstract void onClear(); 12 method protected final void remove(java.util.List<T>, int index, int count); 13 method protected void setCurrent(T); 14 method public void up(); 15 property public T current; 16 property public final T root; 17 } 18 19 public final class ActualAndroid_androidKt { 20 method @Deprecated public static androidx.compose.runtime.MonotonicFrameClock getDefaultMonotonicFrameClock(); 21 property @Deprecated public static final androidx.compose.runtime.MonotonicFrameClock DefaultMonotonicFrameClock; 22 } 23 24 @kotlin.jvm.JvmDefaultWithCompatibility public interface Applier<N> { 25 method public default void apply(kotlin.jvm.functions.Function2<? super N,java.lang.Object?,kotlin.Unit> block, Object? value); 26 method public void clear(); 27 method public void down(N node); 28 method public N getCurrent(); 29 method public void insertBottomUp(int index, N instance); 30 method public void insertTopDown(int index, N instance); 31 method public void move(int from, int to, int count); 32 method public default void onBeginChanges(); 33 method public default void onEndChanges(); 34 method public void remove(int index, int count); 35 method public default void reuse(); 36 method public void up(); 37 property public abstract N current; 38 } 39 40 public final class BroadcastFrameClock implements androidx.compose.runtime.MonotonicFrameClock { 41 ctor public BroadcastFrameClock(); 42 ctor public BroadcastFrameClock(optional kotlin.jvm.functions.Function0<kotlin.Unit>? onNewAwaiters); 43 method public void cancel(optional java.util.concurrent.CancellationException cancellationException); 44 method public boolean getHasAwaiters(); 45 method public void sendFrame(long timeNanos); 46 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 47 property public final boolean hasAwaiters; 48 } 49 50 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.TYPE, kotlin.annotation.AnnotationTarget.TYPE_PARAMETER, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface Composable { 51 } 52 53 @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface ComposableInferredTarget { 54 method public abstract String scheme(); 55 property public abstract String scheme; 56 } 57 58 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.TYPE, kotlin.annotation.AnnotationTarget.TYPE_PARAMETER}) public @interface ComposableOpenTarget { 59 method public abstract int index(); 60 property public abstract int index; 61 } 62 63 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FILE, kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.TYPE, kotlin.annotation.AnnotationTarget.TYPE_PARAMETER}) public @interface ComposableTarget { 64 method public abstract String applier(); 65 property public abstract String applier; 66 } 67 68 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS) public @interface ComposableTargetMarker { 69 method public abstract String description() default ""; 70 property public abstract String description; 71 } 72 73 public final class ComposablesKt { 74 method @androidx.compose.runtime.Composable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> update); 75 method @androidx.compose.runtime.Composable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> update, kotlin.jvm.functions.Function0<kotlin.Unit> content); 76 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> update, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.SkippableUpdater<T>,kotlin.Unit> skippableUpdate, kotlin.jvm.functions.Function0<kotlin.Unit> content); 77 method @androidx.compose.runtime.Composable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ReusableComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> update); 78 method @androidx.compose.runtime.Composable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ReusableComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> update, kotlin.jvm.functions.Function0<kotlin.Unit> content); 79 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static inline <T, reified E extends androidx.compose.runtime.Applier<?>> void ReusableComposeNode(kotlin.jvm.functions.Function0<? extends T> factory, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> update, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.SkippableUpdater<T>,kotlin.Unit> skippableUpdate, kotlin.jvm.functions.Function0<kotlin.Unit> content); 80 method @androidx.compose.runtime.Composable public static inline void ReusableContent(Object? key, kotlin.jvm.functions.Function0<kotlin.Unit> content); 81 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static inline void ReusableContentHost(boolean active, kotlin.jvm.functions.Function0<kotlin.Unit> content); 82 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.Composer getCurrentComposer(); 83 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static int getCurrentCompositeKeyHash(); 84 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.CompositionLocalContext getCurrentCompositionLocalContext(); 85 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.RecomposeScope getCurrentRecomposeScope(); 86 method @androidx.compose.runtime.Composable public static inline <T> T key(Object?[] keys, kotlin.jvm.functions.Function0<? extends T> block); 87 method @androidx.compose.runtime.Composable public static inline <T> T remember(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function0<? extends T> calculation); 88 method @androidx.compose.runtime.Composable public static inline <T> T remember(Object? key1, Object? key2, kotlin.jvm.functions.Function0<? extends T> calculation); 89 method @androidx.compose.runtime.Composable public static inline <T> T remember(Object? key1, kotlin.jvm.functions.Function0<? extends T> calculation); 90 method @androidx.compose.runtime.Composable public static inline <T> T remember(Object?[] keys, kotlin.jvm.functions.Function0<? extends T> calculation); 91 method @androidx.compose.runtime.Composable public static inline <T> T remember(kotlin.jvm.functions.Function0<? extends T> calculation); 92 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.CompositionContext rememberCompositionContext(); 93 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static final androidx.compose.runtime.Composer currentComposer; 94 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable public static final int currentCompositeKeyHash; 95 property @androidx.compose.runtime.Composable public static final androidx.compose.runtime.CompositionLocalContext currentCompositionLocalContext; 96 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static final androidx.compose.runtime.RecomposeScope currentRecomposeScope; 97 } 98 99 @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.TYPEALIAS}) public @interface ComposeCompilerApi { 100 } 101 102 public interface ComposeNodeLifecycleCallback { 103 method public void onDeactivate(); 104 method public void onRelease(); 105 method public void onReuse(); 106 } 107 108 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi public final class ComposeRuntimeFlags { 109 property public final boolean isMovingNestedMovableContentEnabled; 110 field public static final androidx.compose.runtime.ComposeRuntimeFlags INSTANCE; 111 field public static boolean isMovingNestedMovableContentEnabled; 112 } 113 114 public sealed interface Composer { 115 method @androidx.compose.runtime.ComposeCompilerApi public <V, T> void apply(V value, kotlin.jvm.functions.Function2<? super T,? super V,kotlin.Unit> block); 116 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public androidx.compose.runtime.CompositionContext buildContext(); 117 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(boolean value); 118 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(byte value); 119 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(char value); 120 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(double value); 121 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(float value); 122 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(int value); 123 method @androidx.compose.runtime.ComposeCompilerApi public boolean changed(Object? value); 124 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(long value); 125 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(short value); 126 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changedInstance(Object? value); 127 method public void collectParameterInformation(); 128 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public <T> T consume(androidx.compose.runtime.CompositionLocal<T> key); 129 method @androidx.compose.runtime.ComposeCompilerApi public <T> void createNode(kotlin.jvm.functions.Function0<? extends T> factory); 130 method @androidx.compose.runtime.ComposeCompilerApi public void deactivateToEndGroup(boolean changed); 131 method @androidx.compose.runtime.ComposeCompilerApi public void disableReusing(); 132 method @org.jetbrains.annotations.TestOnly public void disableSourceInformation(); 133 method @androidx.compose.runtime.ComposeCompilerApi public void enableReusing(); 134 method @androidx.compose.runtime.ComposeCompilerApi public void endDefaults(); 135 method @androidx.compose.runtime.ComposeCompilerApi public void endMovableGroup(); 136 method @androidx.compose.runtime.ComposeCompilerApi public void endNode(); 137 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void endProvider(); 138 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void endProviders(); 139 method @androidx.compose.runtime.ComposeCompilerApi public void endReplaceGroup(); 140 method @androidx.compose.runtime.ComposeCompilerApi public void endReplaceableGroup(); 141 method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.ScopeUpdateScope? endRestartGroup(); 142 method @androidx.compose.runtime.ComposeCompilerApi public void endReusableGroup(); 143 method @androidx.compose.runtime.ComposeCompilerApi public void endToMarker(int marker); 144 method public androidx.compose.runtime.Applier<? extends java.lang.Object?> getApplier(); 145 method @org.jetbrains.annotations.TestOnly public kotlin.coroutines.CoroutineContext getApplyCoroutineContext(); 146 method @org.jetbrains.annotations.TestOnly public androidx.compose.runtime.ControlledComposition getComposition(); 147 method public androidx.compose.runtime.tooling.CompositionData getCompositionData(); 148 method public int getCompoundKeyHash(); 149 method public androidx.compose.runtime.CompositionLocalMap getCurrentCompositionLocalMap(); 150 method public int getCurrentMarker(); 151 method public boolean getDefaultsInvalid(); 152 method public boolean getInserting(); 153 method public androidx.compose.runtime.RecomposeScope? getRecomposeScope(); 154 method public Object? getRecomposeScopeIdentity(); 155 method public boolean getSkipping(); 156 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void insertMovableContent(androidx.compose.runtime.MovableContent<? extends java.lang.Object?> value, Object? parameter); 157 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void insertMovableContentReferences(java.util.List<kotlin.Pair<androidx.compose.runtime.MovableContentStateReference,androidx.compose.runtime.MovableContentStateReference?>> references); 158 method @androidx.compose.runtime.ComposeCompilerApi public Object joinKey(Object? left, Object? right); 159 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void recordSideEffect(kotlin.jvm.functions.Function0<kotlin.Unit> effect); 160 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void recordUsed(androidx.compose.runtime.RecomposeScope scope); 161 method @androidx.compose.runtime.ComposeCompilerApi public Object? rememberedValue(); 162 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public boolean shouldExecute(boolean parametersChanged, int flags); 163 method @androidx.compose.runtime.ComposeCompilerApi public void skipCurrentGroup(); 164 method @androidx.compose.runtime.ComposeCompilerApi public void skipToGroupEnd(); 165 method public void sourceInformation(String sourceInformation); 166 method public void sourceInformationMarkerEnd(); 167 method public void sourceInformationMarkerStart(int key, String sourceInformation); 168 method @androidx.compose.runtime.ComposeCompilerApi public void startDefaults(); 169 method @androidx.compose.runtime.ComposeCompilerApi public void startMovableGroup(int key, Object? dataKey); 170 method @androidx.compose.runtime.ComposeCompilerApi public void startNode(); 171 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void startProvider(androidx.compose.runtime.ProvidedValue<? extends java.lang.Object?> value); 172 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void startProviders(androidx.compose.runtime.ProvidedValue<? extends java.lang.Object?>[] values); 173 method @androidx.compose.runtime.ComposeCompilerApi public void startReplaceGroup(int key); 174 method @androidx.compose.runtime.ComposeCompilerApi public void startReplaceableGroup(int key); 175 method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.Composer startRestartGroup(int key); 176 method @androidx.compose.runtime.ComposeCompilerApi public void startReusableGroup(int key, Object? dataKey); 177 method @androidx.compose.runtime.ComposeCompilerApi public void startReusableNode(); 178 method @androidx.compose.runtime.ComposeCompilerApi public void updateRememberedValue(Object? value); 179 method @androidx.compose.runtime.ComposeCompilerApi public void useNode(); 180 property @androidx.compose.runtime.ComposeCompilerApi public abstract androidx.compose.runtime.Applier<? extends java.lang.Object?> applier; 181 property @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi @org.jetbrains.annotations.TestOnly public abstract kotlin.coroutines.CoroutineContext applyCoroutineContext; 182 property @org.jetbrains.annotations.TestOnly public abstract androidx.compose.runtime.ControlledComposition composition; 183 property public abstract androidx.compose.runtime.tooling.CompositionData compositionData; 184 property @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public abstract int compoundKeyHash; 185 property public abstract androidx.compose.runtime.CompositionLocalMap currentCompositionLocalMap; 186 property @androidx.compose.runtime.ComposeCompilerApi public abstract int currentMarker; 187 property @androidx.compose.runtime.ComposeCompilerApi public abstract boolean defaultsInvalid; 188 property @androidx.compose.runtime.ComposeCompilerApi public abstract boolean inserting; 189 property @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public abstract androidx.compose.runtime.RecomposeScope? recomposeScope; 190 property @androidx.compose.runtime.ComposeCompilerApi public abstract Object? recomposeScopeIdentity; 191 property @androidx.compose.runtime.ComposeCompilerApi public abstract boolean skipping; 192 field public static final androidx.compose.runtime.Composer.Companion Companion; 193 } 194 195 public static final class Composer.Companion { 196 method public Object getEmpty(); 197 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeTracingApi public void setTracer(androidx.compose.runtime.CompositionTracer? tracer); 198 property public final Object Empty; 199 } 200 201 public final class ComposerKt { 202 method @androidx.compose.runtime.ComposeCompilerApi public static inline <T> T cache(androidx.compose.runtime.Composer, boolean invalid, kotlin.jvm.functions.Function0<? extends T> block); 203 method @androidx.compose.runtime.ComposeCompilerApi public static boolean isTraceInProgress(); 204 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformation(androidx.compose.runtime.Composer composer, String sourceInformation); 205 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformationMarkerEnd(androidx.compose.runtime.Composer composer); 206 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformationMarkerStart(androidx.compose.runtime.Composer composer, int key, String sourceInformation); 207 method @androidx.compose.runtime.ComposeCompilerApi public static void traceEventEnd(); 208 method @androidx.compose.runtime.ComposeCompilerApi public static void traceEventStart(int key, int dirty1, int dirty2, String info); 209 method @Deprecated @androidx.compose.runtime.ComposeCompilerApi public static void traceEventStart(int key, String info); 210 } 211 212 public interface Composition { 213 method public void dispose(); 214 method public boolean getHasInvalidations(); 215 method public boolean isDisposed(); 216 method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> content); 217 property public abstract boolean hasInvalidations; 218 property public abstract boolean isDisposed; 219 } 220 221 public abstract class CompositionContext { 222 method public abstract kotlin.coroutines.CoroutineContext getEffectCoroutineContext(); 223 property public abstract kotlin.coroutines.CoroutineContext effectCoroutineContext; 224 } 225 226 public final class CompositionKt { 227 method public static androidx.compose.runtime.Composition Composition(androidx.compose.runtime.Applier<? extends java.lang.Object?> applier, androidx.compose.runtime.CompositionContext parent); 228 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi public static androidx.compose.runtime.Composition Composition(androidx.compose.runtime.Applier<? extends java.lang.Object?> applier, androidx.compose.runtime.CompositionContext parent, kotlin.coroutines.CoroutineContext recomposeCoroutineContext); 229 method @org.jetbrains.annotations.TestOnly public static androidx.compose.runtime.ControlledComposition ControlledComposition(androidx.compose.runtime.Applier<? extends java.lang.Object?> applier, androidx.compose.runtime.CompositionContext parent); 230 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi @org.jetbrains.annotations.TestOnly public static androidx.compose.runtime.ControlledComposition ControlledComposition(androidx.compose.runtime.Applier<? extends java.lang.Object?> applier, androidx.compose.runtime.CompositionContext parent, kotlin.coroutines.CoroutineContext recomposeCoroutineContext); 231 method public static androidx.compose.runtime.ReusableComposition ReusableComposition(androidx.compose.runtime.Applier<? extends java.lang.Object?> applier, androidx.compose.runtime.CompositionContext parent); 232 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi public static kotlin.coroutines.CoroutineContext getRecomposeCoroutineContext(androidx.compose.runtime.ControlledComposition); 233 } 234 235 @androidx.compose.runtime.Stable public abstract sealed class CompositionLocal<T> { 236 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final inline T getCurrent(); 237 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final inline T current; 238 } 239 240 public interface CompositionLocalAccessorScope { 241 method public <T> T getCurrentValue(androidx.compose.runtime.CompositionLocal<T>); 242 property public T currentValue; 243 } 244 245 @androidx.compose.runtime.Stable public final class CompositionLocalContext { 246 } 247 248 public final class CompositionLocalKt { 249 method @androidx.compose.runtime.Composable public static void CompositionLocalProvider(androidx.compose.runtime.CompositionLocalContext context, kotlin.jvm.functions.Function0<kotlin.Unit> content); 250 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonSkippableComposable public static void CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<? extends java.lang.Object?> value, kotlin.jvm.functions.Function0<kotlin.Unit> content); 251 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonSkippableComposable public static void CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<? extends java.lang.Object?>[] values, kotlin.jvm.functions.Function0<kotlin.Unit> content); 252 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> compositionLocalOf(optional androidx.compose.runtime.SnapshotMutationPolicy<T> policy, kotlin.jvm.functions.Function0<? extends T> defaultFactory); 253 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> compositionLocalWithComputedDefaultOf(kotlin.jvm.functions.Function1<? super androidx.compose.runtime.CompositionLocalAccessorScope,? extends T> defaultComputation); 254 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> staticCompositionLocalOf(kotlin.jvm.functions.Function0<? extends T> defaultFactory); 255 } 256 257 public sealed interface CompositionLocalMap { 258 method public operator <T> T get(androidx.compose.runtime.CompositionLocal<T> key); 259 field public static final androidx.compose.runtime.CompositionLocalMap.Companion Companion; 260 } 261 262 public static final class CompositionLocalMap.Companion { 263 method public androidx.compose.runtime.CompositionLocalMap getEmpty(); 264 property public final androidx.compose.runtime.CompositionLocalMap Empty; 265 } 266 267 public interface CompositionServiceKey<T> { 268 } 269 270 public interface CompositionServices { 271 method public <T> T? getCompositionService(androidx.compose.runtime.CompositionServiceKey<T> key); 272 } 273 274 @SuppressCompatibility @androidx.compose.runtime.InternalComposeTracingApi public interface CompositionTracer { 275 method public boolean isTraceInProgress(); 276 method public void traceEventEnd(); 277 method public void traceEventStart(int key, int dirty1, int dirty2, String info); 278 } 279 280 public sealed interface ControlledComposition extends androidx.compose.runtime.Composition { 281 method public void abandonChanges(); 282 method public void applyChanges(); 283 method public void applyLateChanges(); 284 method public void changesApplied(); 285 method public void composeContent(kotlin.jvm.functions.Function0<kotlin.Unit> content); 286 method public <R> R delegateInvalidations(androidx.compose.runtime.ControlledComposition? to, int groupIndex, kotlin.jvm.functions.Function0<? extends R> block); 287 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void disposeUnusedMovableContent(androidx.compose.runtime.MovableContentState state); 288 method public androidx.compose.runtime.ShouldPauseCallback? getAndSetShouldPauseCallback(androidx.compose.runtime.ShouldPauseCallback? shouldPause); 289 method public boolean getHasPendingChanges(); 290 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void insertMovableContent(java.util.List<kotlin.Pair<androidx.compose.runtime.MovableContentStateReference,androidx.compose.runtime.MovableContentStateReference?>> references); 291 method public void invalidateAll(); 292 method public boolean isComposing(); 293 method public boolean observesAnyOf(java.util.Set<?> values); 294 method public void prepareCompose(kotlin.jvm.functions.Function0<kotlin.Unit> block); 295 method public boolean recompose(); 296 method public void recordModificationsOf(java.util.Set<?> values); 297 method public void recordReadOf(Object value); 298 method public void recordWriteOf(Object value); 299 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public void verifyConsistent(); 300 property public abstract boolean hasPendingChanges; 301 property public abstract boolean isComposing; 302 } 303 304 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.TYPE) public @interface DisallowComposableCalls { 305 } 306 307 public interface DisposableEffectResult { 308 method public void dispose(); 309 } 310 311 public final class DisposableEffectScope { 312 ctor public DisposableEffectScope(); 313 method public inline androidx.compose.runtime.DisposableEffectResult onDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDisposeEffect); 314 } 315 316 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.SOURCE) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.EXPRESSION) public @interface DontMemoize { 317 } 318 319 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface DoubleState extends androidx.compose.runtime.State<java.lang.Double> { 320 method public double getDoubleValue(); 321 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="doubleValue") public default Double getValue(); 322 property public abstract double doubleValue; 323 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="doubleValue") public default Double value; 324 } 325 326 public final class EffectsKt { 327 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect); 328 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object? key1, Object? key2, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect); 329 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object? key1, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect); 330 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(Object?[] keys, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect); 331 method @Deprecated @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void DisposableEffect(kotlin.jvm.functions.Function1<? super androidx.compose.runtime.DisposableEffectScope,? extends androidx.compose.runtime.DisposableEffectResult> effect); 332 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 333 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object? key1, Object? key2, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 334 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object? key1, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 335 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void LaunchedEffect(Object?[] keys, kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 336 method @Deprecated @androidx.compose.runtime.Composable public static void LaunchedEffect(kotlin.jvm.functions.Function2<? super kotlinx.coroutines.CoroutineScope,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> block); 337 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ExplicitGroupsComposable @androidx.compose.runtime.NonRestartableComposable public static void SideEffect(kotlin.jvm.functions.Function0<kotlin.Unit> effect); 338 method @androidx.compose.runtime.Composable public static inline kotlinx.coroutines.CoroutineScope rememberCoroutineScope(optional kotlin.jvm.functions.Function0<? extends kotlin.coroutines.CoroutineContext> getContext); 339 } 340 341 @SuppressCompatibility @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level.ERROR, message="This is an experimental API for Compose and is likely to change before becoming " + "stable.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface ExperimentalComposeApi { 342 } 343 344 @SuppressCompatibility @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level.ERROR, message="This in experimental API that may change frequently and without warning.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.FIELD, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface ExperimentalComposeRuntimeApi { 345 } 346 347 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.SOURCE) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface ExplicitGroupsComposable { 348 } 349 350 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface FloatState extends androidx.compose.runtime.State<java.lang.Float> { 351 method public float getFloatValue(); 352 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="floatValue") public default Float getValue(); 353 property public abstract float floatValue; 354 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="floatValue") public default Float value; 355 } 356 357 public final class HotReloaderKt { 358 method @org.jetbrains.annotations.TestOnly public static void clearCompositionErrors(); 359 method @Deprecated @org.jetbrains.annotations.TestOnly public static java.util.List<kotlin.Pair<java.lang.Exception,java.lang.Boolean>> currentCompositionErrors(); 360 method @org.jetbrains.annotations.TestOnly public static void invalidateGroupsWithKey(int key); 361 method @org.jetbrains.annotations.TestOnly public static void simulateHotReload(Object context); 362 } 363 364 @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.CLASS) public @interface Immutable { 365 } 366 367 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface IntState extends androidx.compose.runtime.State<java.lang.Integer> { 368 method public int getIntValue(); 369 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="intValue") public default Integer getValue(); 370 property public abstract int intValue; 371 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="intValue") public default Integer value; 372 } 373 374 @SuppressCompatibility @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level.ERROR, message="This is internal API for Compose modules that may change frequently " + "and without warning.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY}) public @interface InternalComposeApi { 375 } 376 377 @SuppressCompatibility @kotlin.RequiresOptIn(level=kotlin.RequiresOptIn.Level.ERROR, message="This is internal API that may change frequently and without warning.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface InternalComposeTracingApi { 378 } 379 380 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface LongState extends androidx.compose.runtime.State<java.lang.Long> { 381 method public long getLongValue(); 382 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="longValue") public default Long getValue(); 383 property public abstract long longValue; 384 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="longValue") public default Long value; 385 } 386 387 @kotlin.jvm.JvmDefaultWithCompatibility public interface MonotonicFrameClock extends kotlin.coroutines.CoroutineContext.Element { 388 method public default kotlin.coroutines.CoroutineContext.Key<? extends java.lang.Object?> getKey(); 389 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 390 property public default kotlin.coroutines.CoroutineContext.Key<? extends java.lang.Object?> key; 391 field public static final androidx.compose.runtime.MonotonicFrameClock.Key Key; 392 } 393 394 public static final class MonotonicFrameClock.Key implements kotlin.coroutines.CoroutineContext.Key<androidx.compose.runtime.MonotonicFrameClock> { 395 } 396 397 public final class MonotonicFrameClockKt { 398 method public static androidx.compose.runtime.MonotonicFrameClock getMonotonicFrameClock(kotlin.coroutines.CoroutineContext); 399 method public static suspend inline <R> Object? withFrameMillis(androidx.compose.runtime.MonotonicFrameClock, kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 400 method public static suspend <R> Object? withFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 401 method public static suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 402 } 403 404 @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public final class MovableContent<P> { 405 ctor public MovableContent(kotlin.jvm.functions.Function1<? super P,kotlin.Unit> content); 406 method public kotlin.jvm.functions.Function1<P,kotlin.Unit> getContent(); 407 property public final kotlin.jvm.functions.Function1<P,kotlin.Unit> content; 408 } 409 410 public final class MovableContentKt { 411 method public static kotlin.jvm.functions.Function0<kotlin.Unit> movableContentOf(kotlin.jvm.functions.Function0<kotlin.Unit> content); 412 method public static <P> kotlin.jvm.functions.Function1<P,kotlin.Unit> movableContentOf(kotlin.jvm.functions.Function1<? super P,kotlin.Unit> content); 413 method public static <P1, P2> kotlin.jvm.functions.Function2<P1,P2,kotlin.Unit> movableContentOf(kotlin.jvm.functions.Function2<? super P1,? super P2,kotlin.Unit> content); 414 method public static <P1, P2, P3> kotlin.jvm.functions.Function3<P1,P2,P3,kotlin.Unit> movableContentOf(kotlin.jvm.functions.Function3<? super P1,? super P2,? super P3,kotlin.Unit> content); 415 method public static <P1, P2, P3, P4> kotlin.jvm.functions.Function4<P1,P2,P3,P4,kotlin.Unit> movableContentOf(kotlin.jvm.functions.Function4<? super P1,? super P2,? super P3,? super P4,kotlin.Unit> content); 416 method public static <R> kotlin.jvm.functions.Function1<R,kotlin.Unit> movableContentWithReceiverOf(kotlin.jvm.functions.Function1<? super R,kotlin.Unit> content); 417 method public static <R, P> kotlin.jvm.functions.Function2<R,P,kotlin.Unit> movableContentWithReceiverOf(kotlin.jvm.functions.Function2<? super R,? super P,kotlin.Unit> content); 418 method public static <R, P1, P2> kotlin.jvm.functions.Function3<R,P1,P2,kotlin.Unit> movableContentWithReceiverOf(kotlin.jvm.functions.Function3<? super R,? super P1,? super P2,kotlin.Unit> content); 419 method public static <R, P1, P2, P3> kotlin.jvm.functions.Function4<R,P1,P2,P3,kotlin.Unit> movableContentWithReceiverOf(kotlin.jvm.functions.Function4<? super R,? super P1,? super P2,? super P3,kotlin.Unit> content); 420 } 421 422 @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public final class MovableContentState { 423 } 424 425 @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public final class MovableContentStateReference { 426 } 427 428 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface MutableDoubleState extends androidx.compose.runtime.DoubleState androidx.compose.runtime.MutableState<java.lang.Double> { 429 method public void setDoubleValue(double); 430 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="doubleValue") public default void setValue(double); 431 property public abstract double doubleValue; 432 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="doubleValue") public default Double value; 433 } 434 435 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface MutableFloatState extends androidx.compose.runtime.FloatState androidx.compose.runtime.MutableState<java.lang.Float> { 436 method public void setFloatValue(float); 437 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="floatValue") public default void setValue(float); 438 property public abstract float floatValue; 439 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="floatValue") public default Float value; 440 } 441 442 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface MutableIntState extends androidx.compose.runtime.IntState androidx.compose.runtime.MutableState<java.lang.Integer> { 443 method public void setIntValue(int); 444 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="intValue") public default void setValue(int); 445 property public abstract int intValue; 446 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="intValue") public default Integer value; 447 } 448 449 @androidx.compose.runtime.Stable @kotlin.jvm.JvmDefaultWithCompatibility public interface MutableLongState extends androidx.compose.runtime.LongState androidx.compose.runtime.MutableState<java.lang.Long> { 450 method public void setLongValue(long); 451 method @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="longValue") public default void setValue(long); 452 property public abstract long longValue; 453 property @androidx.compose.runtime.snapshots.AutoboxingStateValueProperty(preferredPropertyName="longValue") public default Long value; 454 } 455 456 @androidx.compose.runtime.Stable public interface MutableState<T> extends androidx.compose.runtime.State<T> { 457 method public operator T component1(); 458 method public operator kotlin.jvm.functions.Function1<T,kotlin.Unit> component2(); 459 method public void setValue(T); 460 property public abstract T value; 461 } 462 463 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.SOURCE) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.PROPERTY, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FILE}) public @interface NoLiveLiterals { 464 } 465 466 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.SOURCE) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface NonRestartableComposable { 467 } 468 469 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.SOURCE) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface NonSkippableComposable { 470 } 471 472 public sealed interface PausableComposition extends androidx.compose.runtime.ReusableComposition { 473 method public androidx.compose.runtime.PausedComposition setPausableContent(kotlin.jvm.functions.Function0<kotlin.Unit> content); 474 method public androidx.compose.runtime.PausedComposition setPausableContentWithReuse(kotlin.jvm.functions.Function0<kotlin.Unit> content); 475 } 476 477 public final class PausableCompositionKt { 478 method public static androidx.compose.runtime.PausableComposition PausableComposition(androidx.compose.runtime.Applier<? extends java.lang.Object?> applier, androidx.compose.runtime.CompositionContext parent); 479 } 480 481 public final class PausableMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock { 482 ctor public PausableMonotonicFrameClock(androidx.compose.runtime.MonotonicFrameClock frameClock); 483 method public boolean isPaused(); 484 method public void pause(); 485 method public void resume(); 486 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R>); 487 property public final boolean isPaused; 488 } 489 490 public sealed interface PausedComposition { 491 method public void apply(); 492 method public void cancel(); 493 method public boolean isComplete(); 494 method public boolean resume(androidx.compose.runtime.ShouldPauseCallback shouldPause); 495 property public abstract boolean isComplete; 496 } 497 498 public final class PrimitiveSnapshotStateKt { 499 method public static inline operator float getValue(androidx.compose.runtime.FloatState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property); 500 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static androidx.compose.runtime.MutableFloatState mutableFloatStateOf(float value); 501 method public static inline operator void setValue(androidx.compose.runtime.MutableFloatState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property, float value); 502 } 503 504 public interface ProduceStateScope<T> extends androidx.compose.runtime.MutableState<T> kotlinx.coroutines.CoroutineScope { 505 method public suspend Object? awaitDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDispose, kotlin.coroutines.Continuation<? extends java.lang.Object?>); 506 } 507 508 @androidx.compose.runtime.Stable public abstract class ProvidableCompositionLocal<T> extends androidx.compose.runtime.CompositionLocal<T> { 509 method public final infix androidx.compose.runtime.ProvidedValue<T> provides(T value); 510 method public final infix androidx.compose.runtime.ProvidedValue<T> providesComputed(kotlin.jvm.functions.Function1<? super androidx.compose.runtime.CompositionLocalAccessorScope,? extends T> compute); 511 method public final infix androidx.compose.runtime.ProvidedValue<T> providesDefault(T value); 512 } 513 514 public final class ProvidedValue<T> { 515 method public boolean getCanOverride(); 516 method public androidx.compose.runtime.CompositionLocal<T> getCompositionLocal(); 517 method public T getValue(); 518 property public final boolean canOverride; 519 property public final androidx.compose.runtime.CompositionLocal<T> compositionLocal; 520 property public final T value; 521 } 522 523 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface ReadOnlyComposable { 524 } 525 526 public interface RecomposeScope { 527 method public void invalidate(); 528 } 529 530 public final class Recomposer extends androidx.compose.runtime.CompositionContext { 531 ctor public Recomposer(kotlin.coroutines.CoroutineContext effectCoroutineContext); 532 method public androidx.compose.runtime.RecomposerInfo asRecomposerInfo(); 533 method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit>); 534 method public void cancel(); 535 method public void close(); 536 method public long getChangeCount(); 537 method public kotlinx.coroutines.flow.StateFlow<androidx.compose.runtime.Recomposer.State> getCurrentState(); 538 method public kotlin.coroutines.CoroutineContext getEffectCoroutineContext(); 539 method public boolean getHasPendingWork(); 540 method @Deprecated public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState(); 541 method public suspend Object? join(kotlin.coroutines.Continuation<? super kotlin.Unit>); 542 method public void pauseCompositionFrameClock(); 543 method public void resumeCompositionFrameClock(); 544 method public suspend Object? runRecomposeAndApplyChanges(kotlin.coroutines.Continuation<? super kotlin.Unit>); 545 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi public suspend Object? runRecomposeConcurrentlyAndApplyChanges(kotlin.coroutines.CoroutineContext recomposeCoroutineContext, kotlin.coroutines.Continuation<? super kotlin.Unit>); 546 property public final long changeCount; 547 property public final kotlinx.coroutines.flow.StateFlow<androidx.compose.runtime.Recomposer.State> currentState; 548 property public kotlin.coroutines.CoroutineContext effectCoroutineContext; 549 property public final boolean hasPendingWork; 550 property @Deprecated public final kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state; 551 field public static final androidx.compose.runtime.Recomposer.Companion Companion; 552 } 553 554 public static final class Recomposer.Companion { 555 method public kotlinx.coroutines.flow.StateFlow<java.util.Set<androidx.compose.runtime.RecomposerInfo>> getRunningRecomposers(); 556 property public final kotlinx.coroutines.flow.StateFlow<java.util.Set<androidx.compose.runtime.RecomposerInfo>> runningRecomposers; 557 } 558 559 public enum Recomposer.State { 560 enum_constant public static final androidx.compose.runtime.Recomposer.State Idle; 561 enum_constant public static final androidx.compose.runtime.Recomposer.State Inactive; 562 enum_constant public static final androidx.compose.runtime.Recomposer.State InactivePendingWork; 563 enum_constant public static final androidx.compose.runtime.Recomposer.State PendingWork; 564 enum_constant public static final androidx.compose.runtime.Recomposer.State ShutDown; 565 enum_constant public static final androidx.compose.runtime.Recomposer.State ShuttingDown; 566 } 567 568 public interface RecomposerInfo { 569 method public long getChangeCount(); 570 method public boolean getHasPendingWork(); 571 method public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState(); 572 property public abstract long changeCount; 573 property public abstract boolean hasPendingWork; 574 property public abstract kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state; 575 } 576 577 public final class RecomposerKt { 578 method public static suspend <R> Object? withRunningRecomposer(kotlin.jvm.functions.Function3<? super kotlinx.coroutines.CoroutineScope,? super androidx.compose.runtime.Recomposer,? super kotlin.coroutines.Continuation<? super R>,? extends java.lang.Object?> block, kotlin.coroutines.Continuation<? super R>); 579 } 580 581 public interface RememberObserver { 582 method public void onAbandoned(); 583 method public void onForgotten(); 584 method public void onRemembered(); 585 } 586 587 public sealed interface ReusableComposition extends androidx.compose.runtime.Composition { 588 method public void deactivate(); 589 method public void setContentWithReuse(kotlin.jvm.functions.Function0<kotlin.Unit> content); 590 } 591 592 @androidx.compose.runtime.ComposeCompilerApi public interface ScopeUpdateScope { 593 method public void updateScope(kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer,? super java.lang.Integer,kotlin.Unit> block); 594 } 595 596 public fun interface ShouldPauseCallback { 597 method public boolean shouldPause(); 598 } 599 600 @kotlin.jvm.JvmInline public final value class SkippableUpdater<T> { 601 ctor public SkippableUpdater(@kotlin.PublishedApi androidx.compose.runtime.Composer composer); 602 method public inline void update(kotlin.jvm.functions.Function1<? super androidx.compose.runtime.Updater<T>,kotlin.Unit> block); 603 } 604 605 public final class SnapshotDoubleStateKt { 606 method public static inline operator double getValue(androidx.compose.runtime.DoubleState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property); 607 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static androidx.compose.runtime.MutableDoubleState mutableDoubleStateOf(double value); 608 method public static inline operator void setValue(androidx.compose.runtime.MutableDoubleState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property, double value); 609 } 610 611 public final class SnapshotIntStateKt { 612 method public static inline operator int getValue(androidx.compose.runtime.IntState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property); 613 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static androidx.compose.runtime.MutableIntState mutableIntStateOf(int value); 614 method public static inline operator void setValue(androidx.compose.runtime.MutableIntState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property, int value); 615 } 616 617 public final class SnapshotLongStateKt { 618 method public static inline operator long getValue(androidx.compose.runtime.LongState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property); 619 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static androidx.compose.runtime.MutableLongState mutableLongStateOf(long value); 620 method public static inline operator void setValue(androidx.compose.runtime.MutableLongState, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property, long value); 621 } 622 623 @kotlin.jvm.JvmDefaultWithCompatibility public interface SnapshotMutationPolicy<T> { 624 method public boolean equivalent(T a, T b); 625 method public default T? merge(T previous, T current, T applied); 626 } 627 628 public final class SnapshotStateExtensionsKt { 629 method @androidx.compose.runtime.Stable public static androidx.compose.runtime.DoubleState asDoubleState(androidx.compose.runtime.State<java.lang.Double>); 630 method @androidx.compose.runtime.Stable public static androidx.compose.runtime.FloatState asFloatState(androidx.compose.runtime.State<java.lang.Float>); 631 method @androidx.compose.runtime.Stable public static androidx.compose.runtime.IntState asIntState(androidx.compose.runtime.State<java.lang.Integer>); 632 method @androidx.compose.runtime.Stable public static androidx.compose.runtime.LongState asLongState(androidx.compose.runtime.State<java.lang.Long>); 633 } 634 635 public final class SnapshotStateKt { 636 method @androidx.compose.runtime.Composable public static <T extends R, R> androidx.compose.runtime.State<R> collectAsState(kotlinx.coroutines.flow.Flow<? extends T>, R initial, optional kotlin.coroutines.CoroutineContext context); 637 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> collectAsState(kotlinx.coroutines.flow.StateFlow<? extends T>, optional kotlin.coroutines.CoroutineContext context); 638 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.State<T> derivedStateOf(androidx.compose.runtime.SnapshotMutationPolicy<T> policy, kotlin.jvm.functions.Function0<? extends T> calculation); 639 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.State<T> derivedStateOf(kotlin.jvm.functions.Function0<? extends T> calculation); 640 method public static inline operator <T> T getValue(androidx.compose.runtime.State<? extends T>, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property); 641 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> mutableStateListOf(); 642 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> mutableStateListOf(T... elements); 643 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> mutableStateMapOf(); 644 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> mutableStateMapOf(kotlin.Pair<? extends K,? extends V>... pairs); 645 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.MutableState<T> mutableStateOf(T value, optional androidx.compose.runtime.SnapshotMutationPolicy<T> policy); 646 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.snapshots.SnapshotStateSet<T> mutableStateSetOf(); 647 method @androidx.compose.runtime.snapshots.StateFactoryMarker public static <T> androidx.compose.runtime.snapshots.SnapshotStateSet<T> mutableStateSetOf(T... elements); 648 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> neverEqualPolicy(); 649 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T initialValue, Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> producer); 650 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T initialValue, Object? key1, Object? key2, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> producer); 651 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T initialValue, Object? key1, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> producer); 652 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T initialValue, Object?[] keys, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> producer); 653 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> produceState(T initialValue, kotlin.jvm.functions.Function2<? super androidx.compose.runtime.ProduceStateScope<T>,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object?> producer); 654 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> referentialEqualityPolicy(); 655 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> rememberUpdatedState(T newValue); 656 method public static inline operator <T> void setValue(androidx.compose.runtime.MutableState<T>, Object? thisObj, kotlin.reflect.KProperty<? extends java.lang.Object?> property, T value); 657 method public static <T> kotlinx.coroutines.flow.Flow<T> snapshotFlow(kotlin.jvm.functions.Function0<? extends T> block); 658 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> structuralEqualityPolicy(); 659 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> toMutableStateList(java.util.Collection<? extends T>); 660 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> toMutableStateMap(Iterable<? extends kotlin.Pair<? extends K,? extends V>>); 661 } 662 663 @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.CLASS, kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER, kotlin.annotation.AnnotationTarget.PROPERTY}) public @interface Stable { 664 } 665 666 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS, kotlin.annotation.AnnotationTarget.CLASS}) public @interface StableMarker { 667 } 668 669 @androidx.compose.runtime.Stable public interface State<T> { 670 method public T getValue(); 671 property public abstract T value; 672 } 673 674 @kotlin.jvm.JvmInline public final value class Updater<T> { 675 ctor public Updater(@kotlin.PublishedApi androidx.compose.runtime.Composer composer); 676 method public void init(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block); 677 method public void reconcile(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block); 678 method public inline void set(int value, kotlin.jvm.functions.Function2<? super T,? super java.lang.Integer,kotlin.Unit> block); 679 method public <V> void set(V value, kotlin.jvm.functions.Function2<? super T,? super V,kotlin.Unit> block); 680 method public inline void update(int value, kotlin.jvm.functions.Function2<? super T,? super java.lang.Integer,kotlin.Unit> block); 681 method public <V> void update(V value, kotlin.jvm.functions.Function2<? super T,? super V,kotlin.Unit> block); 682 } 683 684} 685 686package androidx.compose.runtime.collection { 687 688 public final class MutableVector<T> implements java.util.RandomAccess { 689 method public void add(int index, T element); 690 method public boolean add(T element); 691 method public inline boolean addAll(androidx.compose.runtime.collection.MutableVector<T> elements); 692 method public boolean addAll(int index, androidx.compose.runtime.collection.MutableVector<T> elements); 693 method public boolean addAll(int index, java.util.Collection<? extends T> elements); 694 method public boolean addAll(int index, java.util.List<? extends T> elements); 695 method public boolean addAll(java.util.Collection<? extends T> elements); 696 method public inline boolean addAll(java.util.List<? extends T> elements); 697 method public boolean addAll(T[] elements); 698 method public inline boolean any(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 699 method public java.util.List<T> asMutableList(); 700 method public void clear(); 701 method public operator boolean contains(T element); 702 method public boolean containsAll(androidx.compose.runtime.collection.MutableVector<T> elements); 703 method public boolean containsAll(java.util.Collection<? extends T> elements); 704 method public boolean containsAll(java.util.List<? extends T> elements); 705 method public boolean contentEquals(androidx.compose.runtime.collection.MutableVector<T> other); 706 method public inline void ensureCapacity(int capacity); 707 method public T first(); 708 method public inline T first(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 709 method public inline T? firstOrNull(); 710 method public inline T? firstOrNull(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 711 method public inline <R> R fold(R initial, kotlin.jvm.functions.Function2<? super R,? super T,? extends R> operation); 712 method public inline <R> R foldIndexed(R initial, kotlin.jvm.functions.Function3<? super java.lang.Integer,? super R,? super T,? extends R> operation); 713 method public inline <R> R foldRight(R initial, kotlin.jvm.functions.Function2<? super T,? super R,? extends R> operation); 714 method public inline <R> R foldRightIndexed(R initial, kotlin.jvm.functions.Function3<? super java.lang.Integer,? super T,? super R,? extends R> operation); 715 method public inline void forEach(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block); 716 method public inline void forEachIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> block); 717 method public inline void forEachReversed(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block); 718 method public inline void forEachReversedIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> block); 719 method public inline operator T get(int index); 720 method public inline kotlin.ranges.IntRange getIndices(); 721 method public inline int getLastIndex(); 722 method public int getSize(); 723 method public int indexOf(T element); 724 method public inline int indexOfFirst(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 725 method public inline int indexOfLast(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 726 method public inline boolean isEmpty(); 727 method public inline boolean isNotEmpty(); 728 method public T last(); 729 method public inline T last(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 730 method public int lastIndexOf(T element); 731 method public inline T? lastOrNull(); 732 method public inline T? lastOrNull(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 733 method public inline <reified R> R[] map(kotlin.jvm.functions.Function1<? super T,? extends R> transform); 734 method public inline <reified R> R[] mapIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform); 735 method public inline <reified R> androidx.compose.runtime.collection.MutableVector<R> mapIndexedNotNull(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R?> transform); 736 method public inline <reified R> androidx.compose.runtime.collection.MutableVector<R> mapNotNull(kotlin.jvm.functions.Function1<? super T,? extends R?> transform); 737 method public inline operator void minusAssign(T element); 738 method public inline operator void plusAssign(T element); 739 method public boolean remove(T element); 740 method public boolean removeAll(androidx.compose.runtime.collection.MutableVector<T> elements); 741 method public boolean removeAll(java.util.Collection<? extends T> elements); 742 method public boolean removeAll(java.util.List<? extends T> elements); 743 method public T removeAt(int index); 744 method public inline void removeIf(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 745 method public void removeRange(int start, int end); 746 method public boolean retainAll(java.util.Collection<? extends T> elements); 747 method public inline boolean reversedAny(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 748 method public operator T set(int index, T element); 749 method public void sortWith(java.util.Comparator<T> comparator); 750 method public inline int sumBy(kotlin.jvm.functions.Function1<? super T,java.lang.Integer> selector); 751 property public final inline kotlin.ranges.IntRange indices; 752 property public final inline int lastIndex; 753 property public final int size; 754 } 755 756 public final class MutableVectorKt { 757 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T> MutableVector(optional int capacity); 758 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T> MutableVector(int size, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends T> init); 759 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T> mutableVectorOf(); 760 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T> mutableVectorOf(T... elements); 761 } 762 763} 764 765package androidx.compose.runtime.internal { 766 767 @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.Stable public interface ComposableLambda extends kotlin.jvm.functions.Function2<androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function10<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function11<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function13<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function14<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function15<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function16<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function17<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function18<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function19<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function20<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function21<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function3<java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function4<java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function5<java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function6<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function7<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function8<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> kotlin.jvm.functions.Function9<java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,java.lang.Object?,androidx.compose.runtime.Composer,java.lang.Integer,java.lang.Object?> { 768 } 769 770 public final class ComposableLambdaKt { 771 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda composableLambda(androidx.compose.runtime.Composer composer, int key, boolean tracked, Object block); 772 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda composableLambdaInstance(int key, boolean tracked, Object block); 773 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda rememberComposableLambda(int key, boolean tracked, Object block); 774 } 775 776 @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.Stable public interface ComposableLambdaN extends kotlin.jvm.functions.FunctionN<java.lang.Object?> { 777 } 778 779 public final class ComposableLambdaN_jvmKt { 780 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambdaN composableLambdaN(androidx.compose.runtime.Composer composer, int key, boolean tracked, int arity, Object block); 781 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambdaN composableLambdaNInstance(int key, boolean tracked, int arity, Object block); 782 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambdaN rememberComposableLambdaN(int key, boolean tracked, int arity, Object block); 783 } 784 785 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.CONSTRUCTOR}) public @interface Decoy { 786 method public abstract String[] signature(); 787 method public abstract String targetName(); 788 property public abstract String[] signature; 789 property public abstract String targetName; 790 } 791 792 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeApi @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.FUNCTION, kotlin.annotation.AnnotationTarget.CONSTRUCTOR}) public @interface DecoyImplementation { 793 method public abstract long id(); 794 method public abstract String name(); 795 property public abstract long id; 796 property public abstract String name; 797 } 798 799 public final class DecoyKt { 800 method @androidx.compose.runtime.ComposeCompilerApi public static Void illegalDecoyCallException(String fName); 801 } 802 803 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Repeatable @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.CLASS) public @interface FunctionKeyMeta { 804 method public abstract int endOffset(); 805 method public abstract int key(); 806 method public abstract int startOffset(); 807 property public abstract int endOffset; 808 property public abstract int key; 809 property public abstract int startOffset; 810 } 811 812 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Repeatable @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.CLASS) public static @interface FunctionKeyMeta.Container { 813 method public abstract androidx.compose.runtime.internal.FunctionKeyMeta[] value(); 814 property public abstract int endOffset; 815 property public abstract int key; 816 property public abstract int startOffset; 817 } 818 819 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.CLASS) public @interface FunctionKeyMetaClass { 820 method public abstract String file(); 821 property public abstract String file; 822 } 823 824 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.CLASS) public @interface LiveLiteralFileInfo { 825 method public abstract String file(); 826 property public abstract String file; 827 } 828 829 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.RUNTIME) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.FUNCTION) public @interface LiveLiteralInfo { 830 method public abstract String key(); 831 method public abstract int offset(); 832 property public abstract String key; 833 property public abstract int offset; 834 } 835 836 public final class LiveLiteralKt { 837 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public static void enableLiveLiterals(); 838 method public static boolean isLiveLiteralsEnabled(); 839 method @SuppressCompatibility @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.InternalComposeApi public static <T> androidx.compose.runtime.State<T> liveLiteral(String key, T value); 840 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public static void updateLiveLiteralValue(String key, Object? value); 841 property @SuppressCompatibility @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.InternalComposeApi public static final boolean isLiveLiteralsEnabled; 842 } 843 844 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.CLASS) public @interface StabilityInferred { 845 method public abstract int parameters(); 846 property public abstract int parameters; 847 } 848 849} 850 851package androidx.compose.runtime.reflect { 852 853 public final class ComposableMethod { 854 method public java.lang.reflect.Method asMethod(); 855 method public int getParameterCount(); 856 method public Class<? extends java.lang.Object?>[] getParameterTypes(); 857 method public java.lang.reflect.Parameter[] getParameters(); 858 method public operator Object? invoke(androidx.compose.runtime.Composer composer, Object? instance, java.lang.Object?... args); 859 property public final int parameterCount; 860 property public final Class<? extends java.lang.Object?>[] parameterTypes; 861 property public final java.lang.reflect.Parameter[] parameters; 862 } 863 864 public final class ComposableMethodKt { 865 method public static androidx.compose.runtime.reflect.ComposableMethod? asComposableMethod(java.lang.reflect.Method); 866 method @kotlin.jvm.Throws(exceptionClasses=NoSuchMethodException::class) public static androidx.compose.runtime.reflect.ComposableMethod getDeclaredComposableMethod(Class<? extends java.lang.Object?>, String methodName, Class<? extends java.lang.Object?>... args) throws java.lang.NoSuchMethodException; 867 } 868 869} 870 871package androidx.compose.runtime.snapshots { 872 873 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget.PROPERTY_SETTER, kotlin.annotation.AnnotationTarget.PROPERTY_GETTER}) public @interface AutoboxingStateValueProperty { 874 method public abstract String preferredPropertyName(); 875 property public abstract String preferredPropertyName; 876 } 877 878 public class MutableSnapshot extends androidx.compose.runtime.snapshots.Snapshot { 879 method public androidx.compose.runtime.snapshots.SnapshotApplyResult apply(); 880 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getReadObserver(); 881 method public boolean getReadOnly(); 882 method public androidx.compose.runtime.snapshots.Snapshot getRoot(); 883 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getWriteObserver(); 884 method public boolean hasPendingChanges(); 885 method public androidx.compose.runtime.snapshots.MutableSnapshot takeNestedMutableSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver); 886 method public androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); 887 property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver; 888 property public boolean readOnly; 889 property public androidx.compose.runtime.snapshots.Snapshot root; 890 property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver; 891 } 892 893 public fun interface ObserverHandle { 894 method public void dispose(); 895 } 896 897 public abstract sealed class Snapshot { 898 method public void dispose(); 899 method public final inline <T> T enter(kotlin.jvm.functions.Function0<? extends T> block); 900 method @Deprecated public int getId(); 901 method public abstract boolean getReadOnly(); 902 method public abstract androidx.compose.runtime.snapshots.Snapshot getRoot(); 903 method public long getSnapshotId(); 904 method public abstract boolean hasPendingChanges(); 905 method public abstract androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); 906 method public final androidx.compose.runtime.snapshots.Snapshot? unsafeEnter(); 907 method public final void unsafeLeave(androidx.compose.runtime.snapshots.Snapshot? oldSnapshot); 908 property @Deprecated public int id; 909 property public abstract boolean readOnly; 910 property public abstract androidx.compose.runtime.snapshots.Snapshot root; 911 property public long snapshotId; 912 field public static final androidx.compose.runtime.snapshots.Snapshot.Companion Companion; 913 field public static final int PreexistingSnapshotId = 1; // 0x1 914 } 915 916 public static final class Snapshot.Companion { 917 method public androidx.compose.runtime.snapshots.Snapshot getCurrent(); 918 method public inline <T> T global(kotlin.jvm.functions.Function0<? extends T> block); 919 method public boolean isApplyObserverNotificationPending(); 920 method public boolean isInSnapshot(); 921 method public void notifyObjectsInitialized(); 922 method public <T> T observe(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver, kotlin.jvm.functions.Function0<? extends T> block); 923 method @SuppressCompatibility @androidx.compose.runtime.InternalComposeApi public int openSnapshotCount(); 924 method public androidx.compose.runtime.snapshots.ObserverHandle registerApplyObserver(kotlin.jvm.functions.Function2<? super java.util.Set<?>,? super androidx.compose.runtime.snapshots.Snapshot,kotlin.Unit> observer); 925 method public androidx.compose.runtime.snapshots.ObserverHandle registerGlobalWriteObserver(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit> observer); 926 method public void sendApplyNotifications(); 927 method public androidx.compose.runtime.snapshots.MutableSnapshot takeMutableSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver); 928 method public androidx.compose.runtime.snapshots.Snapshot takeSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); 929 method public inline <R> R withMutableSnapshot(kotlin.jvm.functions.Function0<? extends R> block); 930 method public inline <T> T withoutReadObservation(kotlin.jvm.functions.Function0<? extends T> block); 931 property public static final int PreexistingSnapshotId; 932 property public final androidx.compose.runtime.snapshots.Snapshot current; 933 property public final boolean isApplyObserverNotificationPending; 934 property public final boolean isInSnapshot; 935 } 936 937 public final class SnapshotApplyConflictException extends java.lang.Exception { 938 ctor public SnapshotApplyConflictException(androidx.compose.runtime.snapshots.Snapshot snapshot); 939 method public androidx.compose.runtime.snapshots.Snapshot getSnapshot(); 940 property public final androidx.compose.runtime.snapshots.Snapshot snapshot; 941 } 942 943 public abstract sealed class SnapshotApplyResult { 944 method public abstract void check(); 945 method public abstract boolean getSucceeded(); 946 property public abstract boolean succeeded; 947 } 948 949 public static final class SnapshotApplyResult.Failure extends androidx.compose.runtime.snapshots.SnapshotApplyResult { 950 ctor public SnapshotApplyResult.Failure(androidx.compose.runtime.snapshots.Snapshot snapshot); 951 method public void check(); 952 method public androidx.compose.runtime.snapshots.Snapshot getSnapshot(); 953 method public boolean getSucceeded(); 954 property public final androidx.compose.runtime.snapshots.Snapshot snapshot; 955 property public boolean succeeded; 956 } 957 958 public static final class SnapshotApplyResult.Success extends androidx.compose.runtime.snapshots.SnapshotApplyResult { 959 method public void check(); 960 method public boolean getSucceeded(); 961 property public boolean succeeded; 962 field public static final androidx.compose.runtime.snapshots.SnapshotApplyResult.Success INSTANCE; 963 } 964 965 public interface SnapshotContextElement extends kotlin.coroutines.CoroutineContext.Element { 966 field public static final androidx.compose.runtime.snapshots.SnapshotContextElement.Key Key; 967 } 968 969 public static final class SnapshotContextElement.Key implements kotlin.coroutines.CoroutineContext.Key<androidx.compose.runtime.snapshots.SnapshotContextElement> { 970 } 971 972 public final class SnapshotContextElementKt { 973 method public static androidx.compose.runtime.snapshots.SnapshotContextElement asContextElement(androidx.compose.runtime.snapshots.Snapshot); 974 } 975 976 public final class SnapshotId_jvmKt { 977 method public static inline int toInt(long); 978 method public static inline long toLong(long); 979 } 980 981 public final class SnapshotKt { 982 method public static <T extends androidx.compose.runtime.snapshots.StateRecord> T readable(T, androidx.compose.runtime.snapshots.StateObject state); 983 method public static <T extends androidx.compose.runtime.snapshots.StateRecord> T readable(T, androidx.compose.runtime.snapshots.StateObject state, androidx.compose.runtime.snapshots.Snapshot snapshot); 984 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R withCurrent(T, kotlin.jvm.functions.Function1<? super T,? extends R> block); 985 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R writable(T, androidx.compose.runtime.snapshots.StateObject state, androidx.compose.runtime.snapshots.Snapshot snapshot, kotlin.jvm.functions.Function1<? super T,? extends R> block); 986 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R writable(T, androidx.compose.runtime.snapshots.StateObject state, kotlin.jvm.functions.Function1<? super T,? extends R> block); 987 } 988 989 public interface SnapshotMutableState<T> extends androidx.compose.runtime.MutableState<T> { 990 method public androidx.compose.runtime.SnapshotMutationPolicy<T> getPolicy(); 991 property public abstract androidx.compose.runtime.SnapshotMutationPolicy<T> policy; 992 } 993 994 @androidx.compose.runtime.Stable public final class SnapshotStateList<T> implements kotlin.jvm.internal.markers.KMutableList java.util.List<T> java.util.RandomAccess androidx.compose.runtime.snapshots.StateObject { 995 ctor public SnapshotStateList(); 996 method public void add(int index, T element); 997 method public boolean add(T element); 998 method public boolean addAll(int index, java.util.Collection<? extends T> elements); 999 method public boolean addAll(java.util.Collection<? extends T> elements); 1000 method public void clear(); 1001 method public boolean contains(T element); 1002 method public boolean containsAll(java.util.Collection<? extends T> elements); 1003 method public T get(int index); 1004 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 1005 method public int getSize(); 1006 method public int indexOf(T element); 1007 method public boolean isEmpty(); 1008 method public java.util.Iterator<T> iterator(); 1009 method public int lastIndexOf(T element); 1010 method public java.util.ListIterator<T> listIterator(); 1011 method public java.util.ListIterator<T> listIterator(int index); 1012 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 1013 method public boolean remove(T element); 1014 method public boolean removeAll(java.util.Collection<? extends T> elements); 1015 method public T removeAt(int index); 1016 method public void removeRange(int fromIndex, int toIndex); 1017 method public boolean retainAll(java.util.Collection<? extends T> elements); 1018 method public T set(int index, T element); 1019 method public java.util.List<T> subList(int fromIndex, int toIndex); 1020 method public java.util.List<T> toList(); 1021 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 1022 property public int size; 1023 } 1024 1025 public final class SnapshotStateListKt { 1026 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> SnapshotStateList(int size, kotlin.jvm.functions.Function1<? super java.lang.Integer,? extends T> init); 1027 } 1028 1029 @androidx.compose.runtime.Stable public final class SnapshotStateMap<K, V> implements kotlin.jvm.internal.markers.KMutableMap java.util.Map<K,V> androidx.compose.runtime.snapshots.StateObject { 1030 ctor public SnapshotStateMap(); 1031 method public void clear(); 1032 method public boolean containsKey(K key); 1033 method public boolean containsValue(V value); 1034 method public V? get(Object key); 1035 method public java.util.Set<java.util.Map.Entry<K,V>> getEntries(); 1036 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 1037 method public java.util.Set<K> getKeys(); 1038 method public int getSize(); 1039 method public java.util.Collection<V> getValues(); 1040 method public boolean isEmpty(); 1041 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 1042 method public V? put(K key, V value); 1043 method public void putAll(java.util.Map<? extends K,? extends V> from); 1044 method public V? remove(Object key); 1045 method public java.util.Map<K,V> toMap(); 1046 property public java.util.Set<java.util.Map.Entry<K,V>> entries; 1047 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 1048 property public java.util.Set<K> keys; 1049 property public int size; 1050 property public java.util.Collection<V> values; 1051 } 1052 1053 public final class SnapshotStateObserver { 1054 ctor public SnapshotStateObserver(kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> onChangedExecutor); 1055 method public void clear(); 1056 method public void clear(Object scope); 1057 method public void clearIf(kotlin.jvm.functions.Function1<java.lang.Object,java.lang.Boolean> predicate); 1058 method @org.jetbrains.annotations.TestOnly public void notifyChanges(java.util.Set<?> changes, androidx.compose.runtime.snapshots.Snapshot snapshot); 1059 method public <T> void observeReads(T scope, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> onValueChangedForScope, kotlin.jvm.functions.Function0<kotlin.Unit> block); 1060 method public void start(); 1061 method public void stop(); 1062 method @Deprecated public void withNoObservations(kotlin.jvm.functions.Function0<kotlin.Unit> block); 1063 } 1064 1065 @androidx.compose.runtime.Stable public final class SnapshotStateSet<T> implements kotlin.jvm.internal.markers.KMutableSet java.util.RandomAccess java.util.Set<T> androidx.compose.runtime.snapshots.StateObject { 1066 ctor public SnapshotStateSet(); 1067 method public boolean add(T element); 1068 method public boolean addAll(java.util.Collection<? extends T> elements); 1069 method public void clear(); 1070 method public boolean contains(T element); 1071 method public boolean containsAll(java.util.Collection<? extends T> elements); 1072 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 1073 method public int getSize(); 1074 method public boolean isEmpty(); 1075 method public java.util.Iterator<T> iterator(); 1076 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 1077 method public boolean remove(T element); 1078 method public boolean removeAll(java.util.Collection<? extends T> elements); 1079 method public boolean retainAll(java.util.Collection<? extends T> elements); 1080 method public java.util.Set<T> toSet(); 1081 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 1082 property public int size; 1083 } 1084 1085 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget.FUNCTION) public @interface StateFactoryMarker { 1086 } 1087 1088 @kotlin.jvm.JvmDefaultWithCompatibility public interface StateObject { 1089 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 1090 method public default androidx.compose.runtime.snapshots.StateRecord? mergeRecords(androidx.compose.runtime.snapshots.StateRecord previous, androidx.compose.runtime.snapshots.StateRecord current, androidx.compose.runtime.snapshots.StateRecord applied); 1091 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 1092 property public abstract androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 1093 } 1094 1095 public abstract class StateRecord { 1096 ctor public StateRecord(); 1097 ctor @Deprecated public StateRecord(int id); 1098 ctor public StateRecord(long snapshotId); 1099 method public abstract void assign(androidx.compose.runtime.snapshots.StateRecord value); 1100 method public abstract androidx.compose.runtime.snapshots.StateRecord create(); 1101 method @Deprecated public androidx.compose.runtime.snapshots.StateRecord create(int snapshotId); 1102 method public androidx.compose.runtime.snapshots.StateRecord create(long snapshotId); 1103 } 1104 1105} 1106 1107package androidx.compose.runtime.snapshots.tooling { 1108 1109 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public final class SnapshotInstanceObservers { 1110 ctor public SnapshotInstanceObservers(); 1111 ctor public SnapshotInstanceObservers(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver, optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver); 1112 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getReadObserver(); 1113 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getWriteObserver(); 1114 property public final kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver; 1115 property public final kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver; 1116 } 1117 1118 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public interface SnapshotObserver { 1119 method public default void onApplied(androidx.compose.runtime.snapshots.Snapshot snapshot, java.util.Set<?> changed); 1120 method public default void onCreated(androidx.compose.runtime.snapshots.Snapshot snapshot, androidx.compose.runtime.snapshots.Snapshot? parent, androidx.compose.runtime.snapshots.tooling.SnapshotInstanceObservers? observers); 1121 method public default androidx.compose.runtime.snapshots.tooling.SnapshotInstanceObservers? onCreating(androidx.compose.runtime.snapshots.Snapshot? parent, boolean readonly); 1122 method public default void onDisposing(androidx.compose.runtime.snapshots.Snapshot snapshot); 1123 } 1124 1125 public final class SnapshotObserverKt { 1126 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public static androidx.compose.runtime.snapshots.ObserverHandle observeSnapshots(androidx.compose.runtime.snapshots.Snapshot.Companion, androidx.compose.runtime.snapshots.tooling.SnapshotObserver snapshotObserver); 1127 } 1128 1129} 1130 1131package androidx.compose.runtime.tooling { 1132 1133 public interface CompositionData { 1134 method public default androidx.compose.runtime.tooling.CompositionGroup? find(Object identityToFind); 1135 method public Iterable<androidx.compose.runtime.tooling.CompositionGroup> getCompositionGroups(); 1136 method public boolean isEmpty(); 1137 property public abstract Iterable<androidx.compose.runtime.tooling.CompositionGroup> compositionGroups; 1138 property public abstract boolean isEmpty; 1139 } 1140 1141 public final class CompositionDataKt { 1142 method public static androidx.compose.runtime.tooling.CompositionInstance? findCompositionInstance(androidx.compose.runtime.tooling.CompositionData); 1143 } 1144 1145 @kotlin.jvm.JvmDefaultWithCompatibility public interface CompositionGroup extends androidx.compose.runtime.tooling.CompositionData { 1146 method public Iterable<java.lang.Object?> getData(); 1147 method public default int getGroupSize(); 1148 method public default Object? getIdentity(); 1149 method public Object getKey(); 1150 method public Object? getNode(); 1151 method public default int getSlotsSize(); 1152 method public String? getSourceInfo(); 1153 property public abstract Iterable<java.lang.Object?> data; 1154 property public default int groupSize; 1155 property public default Object? identity; 1156 property public abstract Object key; 1157 property public abstract Object? node; 1158 property public default int slotsSize; 1159 property public abstract String? sourceInfo; 1160 } 1161 1162 public interface CompositionInstance { 1163 method public androidx.compose.runtime.tooling.CompositionGroup? findContextGroup(); 1164 method public androidx.compose.runtime.tooling.CompositionData getData(); 1165 method public androidx.compose.runtime.tooling.CompositionInstance? getParent(); 1166 property public abstract androidx.compose.runtime.tooling.CompositionData data; 1167 property public abstract androidx.compose.runtime.tooling.CompositionInstance? parent; 1168 } 1169 1170 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public interface CompositionObserver { 1171 method public void onBeginComposition(androidx.compose.runtime.Composition composition, java.util.Map<androidx.compose.runtime.RecomposeScope,? extends java.util.Set<?>> invalidationMap); 1172 method public void onEndComposition(androidx.compose.runtime.Composition composition); 1173 } 1174 1175 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public interface CompositionObserverHandle { 1176 method public void dispose(); 1177 } 1178 1179 public final class CompositionObserverKt { 1180 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public static androidx.compose.runtime.tooling.CompositionObserverHandle? observe(androidx.compose.runtime.Composition, androidx.compose.runtime.tooling.CompositionObserver observer); 1181 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public static androidx.compose.runtime.tooling.CompositionObserverHandle observe(androidx.compose.runtime.Recomposer, androidx.compose.runtime.tooling.CompositionRegistrationObserver observer); 1182 method @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public static androidx.compose.runtime.tooling.CompositionObserverHandle observe(androidx.compose.runtime.RecomposeScope, androidx.compose.runtime.tooling.RecomposeScopeObserver observer); 1183 } 1184 1185 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public interface CompositionRegistrationObserver { 1186 method public void onCompositionRegistered(androidx.compose.runtime.Recomposer recomposer, androidx.compose.runtime.Composition composition); 1187 method public void onCompositionUnregistered(androidx.compose.runtime.Recomposer recomposer, androidx.compose.runtime.Composition composition); 1188 } 1189 1190 public final class InspectionTablesKt { 1191 method public static androidx.compose.runtime.ProvidableCompositionLocal<java.util.Set<androidx.compose.runtime.tooling.CompositionData>?> getLocalInspectionTables(); 1192 property public static final androidx.compose.runtime.ProvidableCompositionLocal<java.util.Set<androidx.compose.runtime.tooling.CompositionData>?> LocalInspectionTables; 1193 } 1194 1195 @SuppressCompatibility @androidx.compose.runtime.ExperimentalComposeRuntimeApi public interface RecomposeScopeObserver { 1196 method public void onBeginScopeComposition(androidx.compose.runtime.RecomposeScope scope); 1197 method public void onEndScopeComposition(androidx.compose.runtime.RecomposeScope scope); 1198 method public void onScopeDisposed(androidx.compose.runtime.RecomposeScope scope); 1199 } 1200 1201} 1202 1203