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