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! current); 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 } 22 23 public final class ActualJvm_jvmKt { 24 method @kotlin.PublishedApi internal static inline <R> R! synchronized(Object lock, kotlin.jvm.functions.Function0<? extends R> block); 25 } 26 27 public interface Applier<N> { 28 method public void clear(); 29 method public void down(N? node); 30 method public N! getCurrent(); 31 method public void insertBottomUp(int index, N? instance); 32 method public void insertTopDown(int index, N? instance); 33 method public void move(int from, int to, int count); 34 method public default void onBeginChanges(); 35 method public default void onEndChanges(); 36 method public void remove(int index, int count); 37 method public void up(); 38 property public abstract N! current; 39 } 40 41 public final class BitwiseOperatorsKt { 42 } 43 44 public final class BroadcastFrameClock implements androidx.compose.runtime.MonotonicFrameClock { 45 ctor public BroadcastFrameClock(optional kotlin.jvm.functions.Function0<kotlin.Unit>? onNewAwaiters); 46 method public void cancel(optional java.util.concurrent.CancellationException cancellationException); 47 method public boolean getHasAwaiters(); 48 method public void sendFrame(long timeNanos); 49 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); 50 property public final boolean hasAwaiters; 51 } 52 53 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface Composable { 54 } 55 56 public final class ComposablesKt { 57 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>,? extends kotlin.Unit> update); 58 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>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content); 59 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>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.SkippableUpdater<T>,? extends kotlin.Unit> skippableUpdate, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content); 60 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>,? extends kotlin.Unit> update); 61 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>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content); 62 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>,? extends kotlin.Unit> update, kotlin.jvm.functions.Function1<? super androidx.compose.runtime.SkippableUpdater<T>,? extends kotlin.Unit> skippableUpdate, kotlin.jvm.functions.Function0<? extends kotlin.Unit> content); 63 method @androidx.compose.runtime.Composable public static inline void ReusableContent(Object? key, kotlin.jvm.functions.Function0<kotlin.Unit> content); 64 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.Composer getCurrentComposer(); 65 method @androidx.compose.runtime.Composable public static int getCurrentCompositeKeyHash(); 66 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public static androidx.compose.runtime.RecomposeScope getCurrentRecomposeScope(); 67 method @kotlin.PublishedApi internal static void invalidApplier(); 68 method @androidx.compose.runtime.Composable public static inline <T> T! key(Object![]? keys, kotlin.jvm.functions.Function0<? extends T> block); 69 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object? key1, Object? key2, Object? key3, kotlin.jvm.functions.Function0<? extends T> calculation); 70 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object? key1, Object? key2, kotlin.jvm.functions.Function0<? extends T> calculation); 71 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object? key1, kotlin.jvm.functions.Function0<? extends T> calculation); 72 method @androidx.compose.runtime.Composable public static inline <T> T! remember(Object![]? keys, kotlin.jvm.functions.Function0<? extends T> calculation); 73 method @androidx.compose.runtime.Composable public static inline <T> T! remember(kotlin.jvm.functions.Function0<? extends T> calculation); 74 method @androidx.compose.runtime.Composable public static androidx.compose.runtime.CompositionContext rememberCompositionContext(); 75 } 76 77 @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ComposeCompilerApi { 78 } 79 80 public interface Composer { 81 method @androidx.compose.runtime.ComposeCompilerApi public <V, T> void apply(V? value, kotlin.jvm.functions.Function2<? super T,? super V,kotlin.Unit> block); 82 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(boolean value); 83 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(byte value); 84 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(char value); 85 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(double value); 86 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(float value); 87 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(int value); 88 method @androidx.compose.runtime.ComposeCompilerApi public boolean changed(Object? value); 89 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(long value); 90 method @androidx.compose.runtime.ComposeCompilerApi public default boolean changed(short value); 91 method @androidx.compose.runtime.ComposeCompilerApi public <T> void createNode(kotlin.jvm.functions.Function0<? extends T> factory); 92 method @androidx.compose.runtime.ComposeCompilerApi public void disableReusing(); 93 method @androidx.compose.runtime.ComposeCompilerApi public void enableReusing(); 94 method @androidx.compose.runtime.ComposeCompilerApi public void endDefaults(); 95 method @androidx.compose.runtime.ComposeCompilerApi public void endMovableGroup(); 96 method @androidx.compose.runtime.ComposeCompilerApi public void endNode(); 97 method @androidx.compose.runtime.ComposeCompilerApi public void endReplaceableGroup(); 98 method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.ScopeUpdateScope? endRestartGroup(); 99 method @androidx.compose.runtime.ComposeCompilerApi public void endReusableGroup(); 100 method public androidx.compose.runtime.Applier<?> getApplier(); 101 method @org.jetbrains.annotations.TestOnly public kotlin.coroutines.CoroutineContext getApplyCoroutineContext(); 102 method @org.jetbrains.annotations.TestOnly public androidx.compose.runtime.ControlledComposition getComposition(); 103 method public androidx.compose.runtime.tooling.CompositionData getCompositionData(); 104 method public int getCompoundKeyHash(); 105 method public boolean getDefaultsInvalid(); 106 method public boolean getInserting(); 107 method public androidx.compose.runtime.RecomposeScope? getRecomposeScope(); 108 method public boolean getSkipping(); 109 method @androidx.compose.runtime.ComposeCompilerApi public Object joinKey(Object? left, Object? right); 110 method @androidx.compose.runtime.ComposeCompilerApi public Object? rememberedValue(); 111 method @androidx.compose.runtime.ComposeCompilerApi public void skipCurrentGroup(); 112 method @androidx.compose.runtime.ComposeCompilerApi public void skipToGroupEnd(); 113 method public void sourceInformation(String sourceInformation); 114 method public void sourceInformationMarkerEnd(); 115 method public void sourceInformationMarkerStart(int key, String sourceInformation); 116 method @androidx.compose.runtime.ComposeCompilerApi public void startDefaults(); 117 method @androidx.compose.runtime.ComposeCompilerApi public void startMovableGroup(int key, Object? dataKey); 118 method @androidx.compose.runtime.ComposeCompilerApi public void startNode(); 119 method @androidx.compose.runtime.ComposeCompilerApi public void startReplaceableGroup(int key); 120 method @androidx.compose.runtime.ComposeCompilerApi public androidx.compose.runtime.Composer startRestartGroup(int key); 121 method @androidx.compose.runtime.ComposeCompilerApi public void startReusableGroup(int key, Object? dataKey); 122 method @androidx.compose.runtime.ComposeCompilerApi public void startReusableNode(); 123 method @androidx.compose.runtime.ComposeCompilerApi public void updateRememberedValue(Object? value); 124 method @androidx.compose.runtime.ComposeCompilerApi public void useNode(); 125 property public abstract androidx.compose.runtime.Applier<?> applier; 126 property @org.jetbrains.annotations.TestOnly public abstract kotlin.coroutines.CoroutineContext applyCoroutineContext; 127 property @org.jetbrains.annotations.TestOnly public abstract androidx.compose.runtime.ControlledComposition composition; 128 property public abstract androidx.compose.runtime.tooling.CompositionData compositionData; 129 property public abstract int compoundKeyHash; 130 property public abstract boolean defaultsInvalid; 131 property public abstract boolean inserting; 132 property public abstract androidx.compose.runtime.RecomposeScope? recomposeScope; 133 property public abstract boolean skipping; 134 field public static final androidx.compose.runtime.Composer.Companion Companion; 135 } 136 137 public static final class Composer.Companion { 138 method public Object getEmpty(); 139 property public final Object Empty; 140 } 141 142 public final class ComposerKt { 143 method @androidx.compose.runtime.ComposeCompilerApi public static inline <T> T! cache(androidx.compose.runtime.Composer, boolean invalid, kotlin.jvm.functions.Function0<? extends T> block); 144 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformation(androidx.compose.runtime.Composer composer, String sourceInformation); 145 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformationMarkerEnd(androidx.compose.runtime.Composer composer); 146 method @androidx.compose.runtime.ComposeCompilerApi public static void sourceInformationMarkerStart(androidx.compose.runtime.Composer composer, int key, String sourceInformation); 147 field @kotlin.PublishedApi internal static final Object compositionLocalMap; 148 field @kotlin.PublishedApi internal static final int compositionLocalMapKey = 202; // 0xca 149 field @kotlin.PublishedApi internal static final Object invocation; 150 field @kotlin.PublishedApi internal static final int invocationKey = 200; // 0xc8 151 field @kotlin.PublishedApi internal static final Object provider; 152 field @kotlin.PublishedApi internal static final int providerKey = 201; // 0xc9 153 field @kotlin.PublishedApi internal static final Object providerMaps; 154 field @kotlin.PublishedApi internal static final int providerMapsKey = 204; // 0xcc 155 field @kotlin.PublishedApi internal static final Object providerValues; 156 field @kotlin.PublishedApi internal static final int providerValuesKey = 203; // 0xcb 157 field @kotlin.PublishedApi internal static final Object reference; 158 field @kotlin.PublishedApi internal static final int referenceKey = 206; // 0xce 159 field @kotlin.PublishedApi internal static final int reuseKey = 207; // 0xcf 160 } 161 162 public interface Composition { 163 method public void dispose(); 164 method public boolean getHasInvalidations(); 165 method public boolean isDisposed(); 166 method public void setContent(kotlin.jvm.functions.Function0<kotlin.Unit> content); 167 property public abstract boolean hasInvalidations; 168 property public abstract boolean isDisposed; 169 } 170 171 public abstract class CompositionContext { 172 } 173 174 public final class CompositionContextKt { 175 } 176 177 public final class CompositionKt { 178 method public static androidx.compose.runtime.Composition Composition(androidx.compose.runtime.Applier<?> applier, androidx.compose.runtime.CompositionContext parent); 179 method @org.jetbrains.annotations.TestOnly public static androidx.compose.runtime.ControlledComposition ControlledComposition(androidx.compose.runtime.Applier<?> applier, androidx.compose.runtime.CompositionContext parent); 180 } 181 182 @androidx.compose.runtime.Stable public abstract sealed class CompositionLocal<T> { 183 method @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final inline T! getCurrent(); 184 property @androidx.compose.runtime.Composable @androidx.compose.runtime.ReadOnlyComposable public final inline T! current; 185 } 186 187 public final class CompositionLocalKt { 188 method @androidx.compose.runtime.Composable public static void CompositionLocalProvider(androidx.compose.runtime.ProvidedValue<?>![] values, kotlin.jvm.functions.Function0<kotlin.Unit> content); 189 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> compositionLocalOf(optional androidx.compose.runtime.SnapshotMutationPolicy<T> policy, kotlin.jvm.functions.Function0<? extends T> defaultFactory); 190 method public static <T> androidx.compose.runtime.ProvidableCompositionLocal<T> staticCompositionLocalOf(kotlin.jvm.functions.Function0<? extends T> defaultFactory); 191 } 192 193 @kotlin.PublishedApi internal final class CompositionScopedCoroutineScopeCanceller implements androidx.compose.runtime.RememberObserver { 194 ctor public CompositionScopedCoroutineScopeCanceller(kotlinx.coroutines.CoroutineScope coroutineScope); 195 method public kotlinx.coroutines.CoroutineScope getCoroutineScope(); 196 method public void onAbandoned(); 197 method public void onForgotten(); 198 method public void onRemembered(); 199 property public final kotlinx.coroutines.CoroutineScope coroutineScope; 200 } 201 202 public interface ControlledComposition extends androidx.compose.runtime.Composition { 203 method public void applyChanges(); 204 method public void composeContent(kotlin.jvm.functions.Function0<kotlin.Unit> content); 205 method public boolean getHasPendingChanges(); 206 method public void invalidateAll(); 207 method public boolean isComposing(); 208 method public boolean recompose(); 209 method public void recordModificationsOf(java.util.Set<?> values); 210 method public void recordReadOf(Object value); 211 method public void recordWriteOf(Object value); 212 property public abstract boolean hasPendingChanges; 213 property public abstract boolean isComposing; 214 } 215 216 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface DisallowComposableCalls { 217 } 218 219 public interface DisposableEffectResult { 220 method public void dispose(); 221 } 222 223 public final class DisposableEffectScope { 224 ctor public DisposableEffectScope(); 225 method public inline androidx.compose.runtime.DisposableEffectResult onDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDisposeEffect); 226 } 227 228 public final class EffectsKt { 229 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); 230 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); 231 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); 232 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); 233 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); 234 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>,?> block); 235 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>,?> block); 236 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>,?> block); 237 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>,?> block); 238 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>,?> block); 239 method @androidx.compose.runtime.Composable @androidx.compose.runtime.NonRestartableComposable public static void SideEffect(kotlin.jvm.functions.Function0<kotlin.Unit> effect); 240 method @kotlin.PublishedApi internal static kotlinx.coroutines.CoroutineScope createCompositionCoroutineScope(kotlin.coroutines.CoroutineContext coroutineContext, androidx.compose.runtime.Composer composer); 241 method @androidx.compose.runtime.Composable public static inline kotlinx.coroutines.CoroutineScope rememberCoroutineScope(optional kotlin.jvm.functions.Function0<? extends kotlin.coroutines.CoroutineContext> getContext); 242 } 243 244 public final class ExpectKt { 245 method @kotlin.PublishedApi internal static inline <R> R! synchronized(Object lock, kotlin.jvm.functions.Function0<? extends R> block); 246 } 247 248 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ExplicitGroupsComposable { 249 } 250 251 @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface Immutable { 252 } 253 254 public interface MonotonicFrameClock extends kotlin.coroutines.CoroutineContext.Element { 255 method public default kotlin.coroutines.CoroutineContext.Key<?> getKey(); 256 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); 257 property public default kotlin.coroutines.CoroutineContext.Key<?> key; 258 field public static final androidx.compose.runtime.MonotonicFrameClock.Key Key; 259 } 260 261 public static final class MonotonicFrameClock.Key implements kotlin.coroutines.CoroutineContext.Key<androidx.compose.runtime.MonotonicFrameClock> { 262 } 263 264 public final class MonotonicFrameClockKt { 265 method public static androidx.compose.runtime.MonotonicFrameClock getMonotonicFrameClock(kotlin.coroutines.CoroutineContext); 266 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> p); 267 method public static suspend <R> Object? withFrameMillis(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); 268 method public static suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); 269 } 270 271 @androidx.compose.runtime.Stable public interface MutableState<T> extends androidx.compose.runtime.State<T> { 272 method public operator T! component1(); 273 method public operator kotlin.jvm.functions.Function1<T,kotlin.Unit> component2(); 274 method public void setValue(T! value); 275 property public abstract T! value; 276 } 277 278 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface NoLiveLiterals { 279 } 280 281 @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface NonRestartableComposable { 282 } 283 284 public final class PausableMonotonicFrameClock implements androidx.compose.runtime.MonotonicFrameClock { 285 ctor public PausableMonotonicFrameClock(androidx.compose.runtime.MonotonicFrameClock frameClock); 286 method public boolean isPaused(); 287 method public void pause(); 288 method public void resume(); 289 method public suspend <R> Object? withFrameNanos(kotlin.jvm.functions.Function1<? super java.lang.Long,? extends R> onFrame, kotlin.coroutines.Continuation<? super R> p); 290 property public final boolean isPaused; 291 } 292 293 public interface ProduceStateScope<T> extends androidx.compose.runtime.MutableState<T> kotlinx.coroutines.CoroutineScope { 294 method public suspend Object? awaitDispose(kotlin.jvm.functions.Function0<kotlin.Unit> onDispose, kotlin.coroutines.Continuation<?> p); 295 } 296 297 @androidx.compose.runtime.Stable public abstract class ProvidableCompositionLocal<T> extends androidx.compose.runtime.CompositionLocal<T> { 298 method public final infix androidx.compose.runtime.ProvidedValue<T> provides(T? value); 299 method public final infix androidx.compose.runtime.ProvidedValue<T> providesDefault(T? value); 300 } 301 302 public final class ProvidedValue<T> { 303 method public boolean getCanOverride(); 304 method public androidx.compose.runtime.CompositionLocal<T> getCompositionLocal(); 305 method public T! getValue(); 306 property public final boolean canOverride; 307 property public final androidx.compose.runtime.CompositionLocal<T> compositionLocal; 308 property public final T! value; 309 } 310 311 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface ReadOnlyComposable { 312 } 313 314 public interface RecomposeScope { 315 method public void invalidate(); 316 } 317 318 public final class Recomposer extends androidx.compose.runtime.CompositionContext { 319 ctor public Recomposer(kotlin.coroutines.CoroutineContext effectCoroutineContext); 320 method public androidx.compose.runtime.RecomposerInfo asRecomposerInfo(); 321 method public suspend Object? awaitIdle(kotlin.coroutines.Continuation<? super kotlin.Unit> p); 322 method public void cancel(); 323 method public void close(); 324 method public long getChangeCount(); 325 method public boolean getHasPendingWork(); 326 method public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState(); 327 method public suspend Object? join(kotlin.coroutines.Continuation<? super kotlin.Unit> p); 328 method public suspend Object? runRecomposeAndApplyChanges(kotlin.coroutines.Continuation<? super kotlin.Unit> p); 329 property public final long changeCount; 330 property public final boolean hasPendingWork; 331 property public final kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state; 332 field public static final androidx.compose.runtime.Recomposer.Companion Companion; 333 } 334 335 public static final class Recomposer.Companion { 336 method public kotlinx.coroutines.flow.StateFlow<java.util.Set<androidx.compose.runtime.RecomposerInfo>> getRunningRecomposers(); 337 property public final kotlinx.coroutines.flow.StateFlow<java.util.Set<androidx.compose.runtime.RecomposerInfo>> runningRecomposers; 338 } 339 340 public enum Recomposer.State { 341 enum_constant public static final androidx.compose.runtime.Recomposer.State Idle; 342 enum_constant public static final androidx.compose.runtime.Recomposer.State Inactive; 343 enum_constant public static final androidx.compose.runtime.Recomposer.State InactivePendingWork; 344 enum_constant public static final androidx.compose.runtime.Recomposer.State PendingWork; 345 enum_constant public static final androidx.compose.runtime.Recomposer.State ShutDown; 346 enum_constant public static final androidx.compose.runtime.Recomposer.State ShuttingDown; 347 } 348 349 public interface RecomposerInfo { 350 method public long getChangeCount(); 351 method public boolean getHasPendingWork(); 352 method public kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> getState(); 353 property public abstract long changeCount; 354 property public abstract boolean hasPendingWork; 355 property public abstract kotlinx.coroutines.flow.Flow<androidx.compose.runtime.Recomposer.State> state; 356 } 357 358 public final class RecomposerKt { 359 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>,?> block, kotlin.coroutines.Continuation<? super R> p); 360 } 361 362 public interface RememberObserver { 363 method public void onAbandoned(); 364 method public void onForgotten(); 365 method public void onRemembered(); 366 } 367 368 @androidx.compose.runtime.ComposeCompilerApi public interface ScopeUpdateScope { 369 method public void updateScope(kotlin.jvm.functions.Function2<? super androidx.compose.runtime.Composer,? super java.lang.Integer,kotlin.Unit> block); 370 } 371 372 public final inline class SkippableUpdater<T> { 373 ctor public SkippableUpdater(); 374 } 375 376 public final class SlotTableKt { 377 } 378 379 public interface SnapshotMutationPolicy<T> { 380 method public boolean equivalent(T? a, T? b); 381 method public default T? merge(T? previous, T? current, T? applied); 382 } 383 384 public final class SnapshotStateKt { 385 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); 386 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); 387 method public static <T> androidx.compose.runtime.State<T> derivedStateOf(kotlin.jvm.functions.Function0<? extends T> calculation); 388 method public static inline operator <T> T! getValue(androidx.compose.runtime.State<T>, Object? thisObj, kotlin.reflect.KProperty<?> property); 389 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> mutableStateListOf(); 390 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> mutableStateListOf(T?... elements); 391 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> mutableStateMapOf(); 392 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> mutableStateMapOf(kotlin.Pair<? extends K,? extends V>... pairs); 393 method public static <T> androidx.compose.runtime.MutableState<T> mutableStateOf(T? value, optional androidx.compose.runtime.SnapshotMutationPolicy<T> policy); 394 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> neverEqualPolicy(); 395 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>,?> producer); 396 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>,?> producer); 397 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>,?> producer); 398 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>,?> producer); 399 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>,?> producer); 400 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> referentialEqualityPolicy(); 401 method @androidx.compose.runtime.Composable public static <T> androidx.compose.runtime.State<T> rememberUpdatedState(T? newValue); 402 method public static inline operator <T> void setValue(androidx.compose.runtime.MutableState<T>, Object? thisObj, kotlin.reflect.KProperty<?> property, T? value); 403 method public static <T> kotlinx.coroutines.flow.Flow<T> snapshotFlow(kotlin.jvm.functions.Function0<? extends T> block); 404 method public static <T> androidx.compose.runtime.SnapshotMutationPolicy<T> structuralEqualityPolicy(); 405 method public static <T> androidx.compose.runtime.snapshots.SnapshotStateList<T> toMutableStateList(java.util.Collection<? extends T>); 406 method public static <K, V> androidx.compose.runtime.snapshots.SnapshotStateMap<K,V> toMutableStateMap(Iterable<? extends kotlin.Pair<? extends K,? extends V>>); 407 } 408 409 @androidx.compose.runtime.StableMarker @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface Stable { 410 } 411 412 @kotlin.annotation.MustBeDocumented @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public @interface StableMarker { 413 } 414 415 @androidx.compose.runtime.Stable public interface State<T> { 416 method public T! getValue(); 417 property public abstract T! value; 418 } 419 420 public final class TraceKt { 421 } 422 423 public final inline class Updater<T> { 424 ctor public Updater(); 425 } 426 427} 428 429package androidx.compose.runtime.collection { 430 431 public final class MutableVector<T> implements java.util.RandomAccess { 432 ctor @kotlin.PublishedApi internal MutableVector(@kotlin.PublishedApi T![] content, int size); 433 method public void add(int index, T? element); 434 method public boolean add(T? element); 435 method public inline boolean addAll(androidx.compose.runtime.collection.MutableVector<T> elements); 436 method public boolean addAll(int index, androidx.compose.runtime.collection.MutableVector<T> elements); 437 method public boolean addAll(int index, java.util.Collection<? extends T> elements); 438 method public boolean addAll(int index, java.util.List<? extends T> elements); 439 method public boolean addAll(java.util.Collection<? extends T> elements); 440 method public inline boolean addAll(java.util.List<? extends T> elements); 441 method public boolean addAll(T![] elements); 442 method public inline boolean any(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 443 method public java.util.List<T> asMutableList(); 444 method public void clear(); 445 method public operator boolean contains(T? element); 446 method public boolean containsAll(androidx.compose.runtime.collection.MutableVector<T> elements); 447 method public boolean containsAll(java.util.Collection<? extends T> elements); 448 method public boolean containsAll(java.util.List<? extends T> elements); 449 method public boolean contentEquals(androidx.compose.runtime.collection.MutableVector<T> other); 450 method public void ensureCapacity(int capacity); 451 method public T! first(); 452 method public inline T! first(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 453 method public inline T? firstOrNull(); 454 method public inline T? firstOrNull(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 455 method public inline <R> R! fold(R? initial, kotlin.jvm.functions.Function2<? super R,? super T,? extends R> operation); 456 method public inline <R> R! foldIndexed(R? initial, kotlin.jvm.functions.Function3<? super java.lang.Integer,? super R,? super T,? extends R> operation); 457 method public inline <R> R! foldRight(R? initial, kotlin.jvm.functions.Function2<? super T,? super R,? extends R> operation); 458 method public inline <R> R! foldRightIndexed(R? initial, kotlin.jvm.functions.Function3<? super java.lang.Integer,? super T,? super R,? extends R> operation); 459 method public inline void forEach(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block); 460 method public inline void forEachIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> block); 461 method public inline void forEachReversed(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> block); 462 method public inline void forEachReversedIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,kotlin.Unit> block); 463 method public inline operator T! get(int index); 464 method public inline kotlin.ranges.IntRange getIndices(); 465 method public inline int getLastIndex(); 466 method public int getSize(); 467 method public int indexOf(T? element); 468 method public inline int indexOfFirst(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 469 method public inline int indexOfLast(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 470 method public boolean isEmpty(); 471 method public boolean isNotEmpty(); 472 method public T! last(); 473 method public inline T! last(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 474 method public int lastIndexOf(T? element); 475 method public inline T? lastOrNull(); 476 method public inline T? lastOrNull(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 477 method public inline <reified R> R![]! map(kotlin.jvm.functions.Function1<? super T,? extends R> transform); 478 method public inline <reified R> R![]! mapIndexed(kotlin.jvm.functions.Function2<? super java.lang.Integer,? super T,? extends R> transform); 479 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); 480 method public inline <reified R> androidx.compose.runtime.collection.MutableVector<R>! mapNotNull(kotlin.jvm.functions.Function1<? super T,? extends R> transform); 481 method public inline operator void minusAssign(T? element); 482 method public inline operator void plusAssign(T? element); 483 method public boolean remove(T? element); 484 method public boolean removeAll(androidx.compose.runtime.collection.MutableVector<T> elements); 485 method public boolean removeAll(java.util.Collection<? extends T> elements); 486 method public boolean removeAll(java.util.List<? extends T> elements); 487 method public T! removeAt(int index); 488 method public void removeRange(int start, int end); 489 method public boolean retainAll(java.util.Collection<? extends T> elements); 490 method public inline boolean reversedAny(kotlin.jvm.functions.Function1<? super T,java.lang.Boolean> predicate); 491 method public operator T! set(int index, T? element); 492 method public void sortWith(java.util.Comparator<T> comparator); 493 method public inline int sumBy(kotlin.jvm.functions.Function1<? super T,java.lang.Integer> selector); 494 method @kotlin.PublishedApi internal Void throwNoSuchElementException(); 495 property public final inline kotlin.ranges.IntRange indices; 496 property public final inline int lastIndex; 497 property public final int size; 498 } 499 500 public final class MutableVectorKt { 501 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! MutableVector(optional int capacity); 502 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); 503 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! mutableVectorOf(); 504 method public static inline <reified T> androidx.compose.runtime.collection.MutableVector<T>! mutableVectorOf(T? elements); 505 } 506 507} 508 509package androidx.compose.runtime.internal { 510 511 @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> { 512 } 513 514 public final class ComposableLambdaKt { 515 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda composableLambda(androidx.compose.runtime.Composer composer, int key, boolean tracked, Object block); 516 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambda composableLambdaInstance(int key, boolean tracked, Object block); 517 } 518 519 @androidx.compose.runtime.ComposeCompilerApi @androidx.compose.runtime.Stable public interface ComposableLambdaN extends kotlin.jvm.functions.FunctionN<java.lang.Object> { 520 } 521 522 public final class ComposableLambdaN_jvmKt { 523 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); 524 method @androidx.compose.runtime.ComposeCompilerApi public static androidx.compose.runtime.internal.ComposableLambdaN composableLambdaNInstance(int key, boolean tracked, int arity, Object block); 525 } 526 527 public final class DecoyKt { 528 method @androidx.compose.runtime.ComposeCompilerApi public static Void illegalDecoyCallException(String fName); 529 } 530 531 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface LiveLiteralFileInfo { 532 method public abstract String file(); 533 property public abstract String file; 534 } 535 536 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface LiveLiteralInfo { 537 method public abstract String key(); 538 method public abstract int offset(); 539 property public abstract String key; 540 property public abstract int offset; 541 } 542 543 public final class LiveLiteralKt { 544 method public static boolean isLiveLiteralsEnabled(); 545 } 546 547 @androidx.compose.runtime.ComposeCompilerApi @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets=kotlin.annotation.AnnotationTarget) public @interface StabilityInferred { 548 method public abstract int parameters(); 549 property public abstract int parameters; 550 } 551 552 public final class ThreadMapKt { 553 } 554 555} 556 557package androidx.compose.runtime.snapshots { 558 559 public final class ListUtilsKt { 560 } 561 562 public class MutableSnapshot extends androidx.compose.runtime.snapshots.Snapshot { 563 method public androidx.compose.runtime.snapshots.SnapshotApplyResult apply(); 564 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getReadObserver(); 565 method public boolean getReadOnly(); 566 method public androidx.compose.runtime.snapshots.Snapshot getRoot(); 567 method public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? getWriteObserver(); 568 method public boolean hasPendingChanges(); 569 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); 570 method public androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); 571 property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver; 572 property public boolean readOnly; 573 property public androidx.compose.runtime.snapshots.Snapshot root; 574 property public kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? writeObserver; 575 } 576 577 public fun interface ObserverHandle { 578 method public void dispose(); 579 } 580 581 public abstract sealed class Snapshot { 582 method public void dispose(); 583 method public final inline <T> T! enter(kotlin.jvm.functions.Function0<? extends T> block); 584 method public int getId(); 585 method public abstract boolean getReadOnly(); 586 method public abstract androidx.compose.runtime.snapshots.Snapshot getRoot(); 587 method public abstract boolean hasPendingChanges(); 588 method @kotlin.PublishedApi internal androidx.compose.runtime.snapshots.Snapshot? makeCurrent(); 589 method @kotlin.PublishedApi internal void restoreCurrent(androidx.compose.runtime.snapshots.Snapshot? snapshot); 590 method public abstract androidx.compose.runtime.snapshots.Snapshot takeNestedSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); 591 property public int id; 592 property public abstract boolean readOnly; 593 property public abstract androidx.compose.runtime.snapshots.Snapshot root; 594 field public static final androidx.compose.runtime.snapshots.Snapshot.Companion Companion; 595 } 596 597 public static final class Snapshot.Companion { 598 method public androidx.compose.runtime.snapshots.Snapshot getCurrent(); 599 method public inline <T> T! global(kotlin.jvm.functions.Function0<? extends T> block); 600 method public void notifyObjectsInitialized(); 601 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); 602 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); 603 method public androidx.compose.runtime.snapshots.ObserverHandle registerGlobalWriteObserver(kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit> observer); 604 method @kotlin.PublishedApi internal androidx.compose.runtime.snapshots.Snapshot? removeCurrent(); 605 method @kotlin.PublishedApi internal void restoreCurrent(androidx.compose.runtime.snapshots.Snapshot? previous); 606 method public void sendApplyNotifications(); 607 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); 608 method public androidx.compose.runtime.snapshots.Snapshot takeSnapshot(optional kotlin.jvm.functions.Function1<java.lang.Object,kotlin.Unit>? readObserver); 609 method public inline <R> R! withMutableSnapshot(kotlin.jvm.functions.Function0<? extends R> block); 610 property public final androidx.compose.runtime.snapshots.Snapshot current; 611 } 612 613 public final class SnapshotApplyConflictException extends java.lang.Exception { 614 ctor public SnapshotApplyConflictException(androidx.compose.runtime.snapshots.Snapshot snapshot); 615 method public androidx.compose.runtime.snapshots.Snapshot getSnapshot(); 616 property public final androidx.compose.runtime.snapshots.Snapshot snapshot; 617 } 618 619 public abstract sealed class SnapshotApplyResult { 620 method public abstract void check(); 621 method public abstract boolean getSucceeded(); 622 property public abstract boolean succeeded; 623 } 624 625 public static final class SnapshotApplyResult.Failure extends androidx.compose.runtime.snapshots.SnapshotApplyResult { 626 ctor public SnapshotApplyResult.Failure(androidx.compose.runtime.snapshots.Snapshot snapshot); 627 method public void check(); 628 method public androidx.compose.runtime.snapshots.Snapshot getSnapshot(); 629 method public boolean getSucceeded(); 630 property public final androidx.compose.runtime.snapshots.Snapshot snapshot; 631 property public boolean succeeded; 632 } 633 634 public static final class SnapshotApplyResult.Success extends androidx.compose.runtime.snapshots.SnapshotApplyResult { 635 method public void check(); 636 method public boolean getSucceeded(); 637 property public boolean succeeded; 638 field public static final androidx.compose.runtime.snapshots.SnapshotApplyResult.Success INSTANCE; 639 } 640 641 public final class SnapshotIdSetKt { 642 } 643 644 public final class SnapshotKt { 645 method @kotlin.PublishedApi internal static <T extends androidx.compose.runtime.snapshots.StateRecord> T current(T r, androidx.compose.runtime.snapshots.Snapshot snapshot); 646 method @kotlin.PublishedApi internal static void notifyWrite(androidx.compose.runtime.snapshots.Snapshot snapshot, androidx.compose.runtime.snapshots.StateObject state); 647 method public static <T extends androidx.compose.runtime.snapshots.StateRecord> T readable(T, androidx.compose.runtime.snapshots.StateObject state); 648 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); 649 method @kotlin.PublishedApi internal static inline <T> T! sync(kotlin.jvm.functions.Function0<? extends T> block); 650 method public static inline <T extends androidx.compose.runtime.snapshots.StateRecord, R> R! withCurrent(T, kotlin.jvm.functions.Function1<? super T,? extends R> block); 651 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); 652 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); 653 method @kotlin.PublishedApi internal static <T extends androidx.compose.runtime.snapshots.StateRecord> T writableRecord(T, androidx.compose.runtime.snapshots.StateObject state, androidx.compose.runtime.snapshots.Snapshot snapshot); 654 field @kotlin.PublishedApi internal static final Object lock; 655 field @kotlin.PublishedApi internal static final androidx.compose.runtime.snapshots.Snapshot snapshotInitializer; 656 } 657 658 public interface SnapshotMutableState<T> extends androidx.compose.runtime.MutableState<T> { 659 method public androidx.compose.runtime.SnapshotMutationPolicy<T> getPolicy(); 660 property public abstract androidx.compose.runtime.SnapshotMutationPolicy<T> policy; 661 } 662 663 @androidx.compose.runtime.Stable public final class SnapshotStateList<T> implements kotlin.jvm.internal.markers.KMutableList java.util.List<T> androidx.compose.runtime.snapshots.StateObject { 664 ctor public SnapshotStateList(); 665 method public void add(int index, T? element); 666 method public boolean add(T? element); 667 method public boolean addAll(int index, java.util.Collection<? extends T> elements); 668 method public boolean addAll(java.util.Collection<? extends T> elements); 669 method public void clear(); 670 method public boolean contains(T? element); 671 method public boolean containsAll(java.util.Collection<E!> elements); 672 method public T! get(int index); 673 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 674 method public int getSize(); 675 method public int indexOf(T? element); 676 method public boolean isEmpty(); 677 method public java.util.Iterator<T> iterator(); 678 method public int lastIndexOf(T? element); 679 method public java.util.ListIterator<T> listIterator(); 680 method public java.util.ListIterator<T> listIterator(int index); 681 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 682 method public boolean remove(T? element); 683 method public boolean removeAll(java.util.Collection<E!> elements); 684 method public T! removeAt(int index); 685 method public void removeRange(int fromIndex, int toIndex); 686 method public boolean retainAll(java.util.Collection<E!> elements); 687 method public T! set(int index, T? element); 688 method public java.util.List<T> subList(int fromIndex, int toIndex); 689 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 690 property public int size; 691 } 692 693 public final class SnapshotStateListKt { 694 } 695 696 @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 { 697 ctor public SnapshotStateMap(); 698 method public void clear(); 699 method public boolean containsKey(K? key); 700 method public boolean containsValue(V? value); 701 method public V? get(Object? key); 702 method public java.util.Set<java.util.Map.Entry<K,V>> getEntries(); 703 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 704 method public java.util.Set<K> getKeys(); 705 method public int getSize(); 706 method public java.util.Collection<V> getValues(); 707 method public boolean isEmpty(); 708 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 709 method public V? put(K? key, V? value); 710 method public void putAll(java.util.Map<? extends K,? extends V> from); 711 method public V? remove(Object? key); 712 property public java.util.Set<java.util.Map.Entry<K,V>> entries; 713 property public androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 714 property public java.util.Set<K> keys; 715 property public int size; 716 property public java.util.Collection<V> values; 717 } 718 719 public final class SnapshotStateMapKt { 720 } 721 722 public final class SnapshotStateObserver { 723 ctor public SnapshotStateObserver(kotlin.jvm.functions.Function1<? super kotlin.jvm.functions.Function0<kotlin.Unit>,kotlin.Unit> onChangedExecutor); 724 method public void clear(); 725 method public void clear(Object scope); 726 method public void clearIf(kotlin.jvm.functions.Function1<java.lang.Object,java.lang.Boolean> predicate); 727 method @org.jetbrains.annotations.TestOnly public void notifyChanges(java.util.Set<?> changes, androidx.compose.runtime.snapshots.Snapshot snapshot); 728 method public <T> void observeReads(T scope, kotlin.jvm.functions.Function1<? super T,kotlin.Unit> onValueChangedForScope, kotlin.jvm.functions.Function0<kotlin.Unit> block); 729 method public void start(); 730 method public void stop(); 731 method public void withNoObservations(kotlin.jvm.functions.Function0<kotlin.Unit> block); 732 } 733 734 public interface StateObject { 735 method public androidx.compose.runtime.snapshots.StateRecord getFirstStateRecord(); 736 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); 737 method public void prependStateRecord(androidx.compose.runtime.snapshots.StateRecord value); 738 property public abstract androidx.compose.runtime.snapshots.StateRecord firstStateRecord; 739 } 740 741 public abstract class StateRecord { 742 ctor public StateRecord(); 743 method public abstract void assign(androidx.compose.runtime.snapshots.StateRecord value); 744 method public abstract androidx.compose.runtime.snapshots.StateRecord create(); 745 } 746 747} 748 749package androidx.compose.runtime.tooling { 750 751 public interface CompositionData { 752 method public Iterable<androidx.compose.runtime.tooling.CompositionGroup> getCompositionGroups(); 753 method public boolean isEmpty(); 754 property public abstract Iterable<androidx.compose.runtime.tooling.CompositionGroup> compositionGroups; 755 property public abstract boolean isEmpty; 756 } 757 758 public interface CompositionGroup extends androidx.compose.runtime.tooling.CompositionData { 759 method public Iterable<java.lang.Object> getData(); 760 method public Object getKey(); 761 method public Object? getNode(); 762 method public String? getSourceInfo(); 763 property public abstract Iterable<java.lang.Object> data; 764 property public abstract Object key; 765 property public abstract Object? node; 766 property public abstract String? sourceInfo; 767 } 768 769 public final class InspectionTablesKt { 770 method public static androidx.compose.runtime.ProvidableCompositionLocal<java.util.Set<androidx.compose.runtime.tooling.CompositionData>> getLocalInspectionTables(); 771 } 772 773} 774 775