Prajakta Patil | 1e9a16d | 2024-02-21 22:35:23 +0000 | [diff] [blame^] | 1 | // Signature format: 4.0 |
| 2 | package androidx.activity { |
| 3 | |
| 4 | public final class ActivityViewModelLazyKt { |
| 5 | method @MainThread public static inline <reified VM extends androidx.lifecycle.ViewModel> kotlin.Lazy<VM> viewModels(androidx.activity.ComponentActivity, optional kotlin.jvm.functions.Function0<? extends androidx.lifecycle.viewmodel.CreationExtras>? extrasProducer, optional kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelProvider.Factory>? factoryProducer); |
| 6 | method @Deprecated @MainThread public static inline <reified VM extends androidx.lifecycle.ViewModel> kotlin.Lazy<VM> viewModels(androidx.activity.ComponentActivity, optional kotlin.jvm.functions.Function0<? extends androidx.lifecycle.ViewModelProvider.Factory>? factoryProducer); |
| 7 | } |
| 8 | |
| 9 | public final class BackEventCompat { |
| 10 | ctor @RequiresApi(34) public BackEventCompat(android.window.BackEvent backEvent); |
| 11 | ctor @VisibleForTesting public BackEventCompat(float touchX, float touchY, @FloatRange(from=0.0, to=1.0) float progress, int swipeEdge); |
| 12 | method public float getProgress(); |
| 13 | method public int getSwipeEdge(); |
| 14 | method public float getTouchX(); |
| 15 | method public float getTouchY(); |
| 16 | method @RequiresApi(34) public android.window.BackEvent toBackEvent(); |
| 17 | property public final float progress; |
| 18 | property public final int swipeEdge; |
| 19 | property public final float touchX; |
| 20 | property public final float touchY; |
| 21 | field public static final androidx.activity.BackEventCompat.Companion Companion; |
| 22 | field public static final int EDGE_LEFT = 0; // 0x0 |
| 23 | field public static final int EDGE_RIGHT = 1; // 0x1 |
| 24 | } |
| 25 | |
| 26 | public static final class BackEventCompat.Companion { |
| 27 | } |
| 28 | |
| 29 | public class ComponentActivity extends androidx.core.app.ComponentActivity implements androidx.activity.result.ActivityResultCaller androidx.activity.result.ActivityResultRegistryOwner androidx.activity.contextaware.ContextAware androidx.activity.FullyDrawnReporterOwner androidx.lifecycle.HasDefaultViewModelProviderFactory androidx.lifecycle.LifecycleOwner androidx.core.view.MenuHost androidx.activity.OnBackPressedDispatcherOwner androidx.core.content.OnConfigurationChangedProvider androidx.core.app.OnMultiWindowModeChangedProvider androidx.core.app.OnNewIntentProvider androidx.core.app.OnPictureInPictureModeChangedProvider androidx.core.content.OnTrimMemoryProvider androidx.core.app.OnUserLeaveHintProvider androidx.savedstate.SavedStateRegistryOwner androidx.lifecycle.ViewModelStoreOwner { |
| 30 | ctor public ComponentActivity(); |
| 31 | ctor @ContentView public ComponentActivity(@LayoutRes int contentLayoutId); |
| 32 | method public void addMenuProvider(androidx.core.view.MenuProvider provider); |
| 33 | method public void addMenuProvider(androidx.core.view.MenuProvider provider, androidx.lifecycle.LifecycleOwner owner); |
| 34 | method public void addMenuProvider(androidx.core.view.MenuProvider provider, androidx.lifecycle.LifecycleOwner owner, androidx.lifecycle.Lifecycle.State state); |
| 35 | method public final void addOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration> listener); |
| 36 | method public final void addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener listener); |
| 37 | method public final void addOnMultiWindowModeChangedListener(androidx.core.util.Consumer<androidx.core.app.MultiWindowModeChangedInfo> listener); |
| 38 | method public final void addOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent> listener); |
| 39 | method public final void addOnPictureInPictureModeChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureModeChangedInfo> listener); |
| 40 | method public final void addOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer> listener); |
| 41 | method public final void addOnUserLeaveHintListener(Runnable listener); |
| 42 | method public final androidx.activity.result.ActivityResultRegistry getActivityResultRegistry(); |
| 43 | method public androidx.lifecycle.ViewModelProvider.Factory getDefaultViewModelProviderFactory(); |
| 44 | method public androidx.activity.FullyDrawnReporter getFullyDrawnReporter(); |
| 45 | method @Deprecated public Object? getLastCustomNonConfigurationInstance(); |
| 46 | method public final androidx.activity.OnBackPressedDispatcher getOnBackPressedDispatcher(); |
| 47 | method public final androidx.savedstate.SavedStateRegistry getSavedStateRegistry(); |
| 48 | method public androidx.lifecycle.ViewModelStore getViewModelStore(); |
| 49 | method @CallSuper public void initializeViewTreeOwners(); |
| 50 | method public void invalidateMenu(); |
| 51 | method @Deprecated @CallSuper protected void onActivityResult(int requestCode, int resultCode, android.content.Intent? data); |
| 52 | method @Deprecated @CallSuper public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults); |
| 53 | method @Deprecated public Object? onRetainCustomNonConfigurationInstance(); |
| 54 | method public final Object? onRetainNonConfigurationInstance(); |
| 55 | method public android.content.Context? peekAvailableContext(); |
| 56 | method public final <I, O> androidx.activity.result.ActivityResultLauncher<I> registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O> contract, androidx.activity.result.ActivityResultCallback<O> callback); |
| 57 | method public final <I, O> androidx.activity.result.ActivityResultLauncher<I> registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O> contract, androidx.activity.result.ActivityResultRegistry registry, androidx.activity.result.ActivityResultCallback<O> callback); |
| 58 | method public void removeMenuProvider(androidx.core.view.MenuProvider provider); |
| 59 | method public final void removeOnConfigurationChangedListener(androidx.core.util.Consumer<android.content.res.Configuration> listener); |
| 60 | method public final void removeOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener listener); |
| 61 | method public final void removeOnMultiWindowModeChangedListener(androidx.core.util.Consumer<androidx.core.app.MultiWindowModeChangedInfo> listener); |
| 62 | method public final void removeOnNewIntentListener(androidx.core.util.Consumer<android.content.Intent> listener); |
| 63 | method public final void removeOnPictureInPictureModeChangedListener(androidx.core.util.Consumer<androidx.core.app.PictureInPictureModeChangedInfo> listener); |
| 64 | method public final void removeOnTrimMemoryListener(androidx.core.util.Consumer<java.lang.Integer> listener); |
| 65 | method public final void removeOnUserLeaveHintListener(Runnable listener); |
| 66 | method @Deprecated public void startActivityForResult(android.content.Intent intent, int requestCode); |
| 67 | method @Deprecated public void startActivityForResult(android.content.Intent intent, int requestCode, android.os.Bundle? options); |
| 68 | method @Deprecated @kotlin.jvm.Throws(exceptionClasses=SendIntentException::class) public void startIntentSenderForResult(android.content.IntentSender intent, int requestCode, android.content.Intent? fillInIntent, int flagsMask, int flagsValues, int extraFlags) throws android.content.IntentSender.SendIntentException; |
| 69 | method @Deprecated @kotlin.jvm.Throws(exceptionClasses=SendIntentException::class) public void startIntentSenderForResult(android.content.IntentSender intent, int requestCode, android.content.Intent? fillInIntent, int flagsMask, int flagsValues, int extraFlags, android.os.Bundle? options) throws android.content.IntentSender.SendIntentException; |
| 70 | property public final androidx.activity.result.ActivityResultRegistry activityResultRegistry; |
| 71 | property @CallSuper public androidx.lifecycle.viewmodel.CreationExtras defaultViewModelCreationExtras; |
| 72 | property public androidx.lifecycle.ViewModelProvider.Factory defaultViewModelProviderFactory; |
| 73 | property public androidx.activity.FullyDrawnReporter fullyDrawnReporter; |
| 74 | property @Deprecated public Object? lastCustomNonConfigurationInstance; |
| 75 | property public androidx.lifecycle.Lifecycle lifecycle; |
| 76 | property public final androidx.activity.OnBackPressedDispatcher onBackPressedDispatcher; |
| 77 | property public final androidx.savedstate.SavedStateRegistry savedStateRegistry; |
| 78 | property public androidx.lifecycle.ViewModelStore viewModelStore; |
| 79 | } |
| 80 | |
| 81 | public class ComponentDialog extends android.app.Dialog implements androidx.lifecycle.LifecycleOwner androidx.activity.OnBackPressedDispatcherOwner androidx.savedstate.SavedStateRegistryOwner { |
| 82 | ctor public ComponentDialog(android.content.Context context); |
| 83 | ctor public ComponentDialog(android.content.Context context, optional @StyleRes int themeResId); |
| 84 | method public androidx.lifecycle.Lifecycle getLifecycle(); |
| 85 | method public final androidx.activity.OnBackPressedDispatcher getOnBackPressedDispatcher(); |
| 86 | method public androidx.savedstate.SavedStateRegistry getSavedStateRegistry(); |
| 87 | method @CallSuper public void initializeViewTreeOwners(); |
| 88 | method @CallSuper public void onBackPressed(); |
| 89 | property public androidx.lifecycle.Lifecycle lifecycle; |
| 90 | property public final androidx.activity.OnBackPressedDispatcher onBackPressedDispatcher; |
| 91 | property public androidx.savedstate.SavedStateRegistry savedStateRegistry; |
| 92 | } |
| 93 | |
| 94 | public final class EdgeToEdge { |
| 95 | method public static void enable(androidx.activity.ComponentActivity); |
| 96 | method public static void enable(androidx.activity.ComponentActivity, optional androidx.activity.SystemBarStyle statusBarStyle); |
| 97 | method public static void enable(androidx.activity.ComponentActivity, optional androidx.activity.SystemBarStyle statusBarStyle, optional androidx.activity.SystemBarStyle navigationBarStyle); |
| 98 | } |
| 99 | |
| 100 | public final class FullyDrawnReporter { |
| 101 | ctor public FullyDrawnReporter(java.util.concurrent.Executor executor, kotlin.jvm.functions.Function0<kotlin.Unit> reportFullyDrawn); |
| 102 | method public void addOnReportDrawnListener(kotlin.jvm.functions.Function0<kotlin.Unit> callback); |
| 103 | method public void addReporter(); |
| 104 | method public boolean isFullyDrawnReported(); |
| 105 | method public void removeOnReportDrawnListener(kotlin.jvm.functions.Function0<kotlin.Unit> callback); |
| 106 | method public void removeReporter(); |
| 107 | property public final boolean isFullyDrawnReported; |
| 108 | } |
| 109 | |
| 110 | public final class FullyDrawnReporterKt { |
| 111 | method public static suspend inline Object? reportWhenComplete(androidx.activity.FullyDrawnReporter, kotlin.jvm.functions.Function1<? super kotlin.coroutines.Continuation<? super kotlin.Unit>,?> reporter, kotlin.coroutines.Continuation<? super kotlin.Unit>); |
| 112 | } |
| 113 | |
| 114 | public interface FullyDrawnReporterOwner { |
| 115 | method public androidx.activity.FullyDrawnReporter getFullyDrawnReporter(); |
| 116 | property public abstract androidx.activity.FullyDrawnReporter fullyDrawnReporter; |
| 117 | } |
| 118 | |
| 119 | public abstract class OnBackPressedCallback { |
| 120 | ctor public OnBackPressedCallback(boolean enabled); |
| 121 | method @MainThread public void handleOnBackCancelled(); |
| 122 | method @MainThread public abstract void handleOnBackPressed(); |
| 123 | method @MainThread public void handleOnBackProgressed(androidx.activity.BackEventCompat backEvent); |
| 124 | method @MainThread public void handleOnBackStarted(androidx.activity.BackEventCompat backEvent); |
| 125 | method @MainThread public final boolean isEnabled(); |
| 126 | method @MainThread public final void remove(); |
| 127 | method @MainThread public final void setEnabled(boolean); |
| 128 | property @MainThread public final boolean isEnabled; |
| 129 | } |
| 130 | |
| 131 | public final class OnBackPressedDispatcher { |
| 132 | ctor public OnBackPressedDispatcher(); |
| 133 | ctor public OnBackPressedDispatcher(optional Runnable? fallbackOnBackPressed); |
| 134 | ctor public OnBackPressedDispatcher(Runnable? fallbackOnBackPressed, androidx.core.util.Consumer<java.lang.Boolean>? onHasEnabledCallbacksChanged); |
| 135 | method @MainThread public void addCallback(androidx.activity.OnBackPressedCallback onBackPressedCallback); |
| 136 | method @MainThread public void addCallback(androidx.lifecycle.LifecycleOwner owner, androidx.activity.OnBackPressedCallback onBackPressedCallback); |
| 137 | method @MainThread @VisibleForTesting public void dispatchOnBackCancelled(); |
| 138 | method @MainThread @VisibleForTesting public void dispatchOnBackProgressed(androidx.activity.BackEventCompat backEvent); |
| 139 | method @MainThread @VisibleForTesting public void dispatchOnBackStarted(androidx.activity.BackEventCompat backEvent); |
| 140 | method @MainThread public boolean hasEnabledCallbacks(); |
| 141 | method @MainThread public void onBackPressed(); |
| 142 | method @RequiresApi(android.os.Build.VERSION_CODES.TIRAMISU) public void setOnBackInvokedDispatcher(android.window.OnBackInvokedDispatcher invoker); |
| 143 | } |
| 144 | |
| 145 | public final class OnBackPressedDispatcherKt { |
| 146 | method public static androidx.activity.OnBackPressedCallback addCallback(androidx.activity.OnBackPressedDispatcher, optional androidx.lifecycle.LifecycleOwner? owner, optional boolean enabled, kotlin.jvm.functions.Function1<? super androidx.activity.OnBackPressedCallback,kotlin.Unit> onBackPressed); |
| 147 | } |
| 148 | |
| 149 | public interface OnBackPressedDispatcherOwner extends androidx.lifecycle.LifecycleOwner { |
| 150 | method public androidx.activity.OnBackPressedDispatcher getOnBackPressedDispatcher(); |
| 151 | property public abstract androidx.activity.OnBackPressedDispatcher onBackPressedDispatcher; |
| 152 | } |
| 153 | |
| 154 | public final class PipHintTrackerKt { |
| 155 | method @RequiresApi(android.os.Build.VERSION_CODES.O) public static suspend Object? trackPipAnimationHintView(android.app.Activity, android.view.View view, kotlin.coroutines.Continuation<? super kotlin.Unit>); |
| 156 | } |
| 157 | |
| 158 | public final class SystemBarStyle { |
| 159 | method public static androidx.activity.SystemBarStyle auto(@ColorInt int lightScrim, @ColorInt int darkScrim); |
| 160 | method public static androidx.activity.SystemBarStyle auto(@ColorInt int lightScrim, @ColorInt int darkScrim, optional kotlin.jvm.functions.Function1<? super android.content.res.Resources,java.lang.Boolean> detectDarkMode); |
| 161 | method public static androidx.activity.SystemBarStyle dark(@ColorInt int scrim); |
| 162 | method public static androidx.activity.SystemBarStyle light(@ColorInt int scrim, @ColorInt int darkScrim); |
| 163 | field public static final androidx.activity.SystemBarStyle.Companion Companion; |
| 164 | } |
| 165 | |
| 166 | public static final class SystemBarStyle.Companion { |
| 167 | method public androidx.activity.SystemBarStyle auto(@ColorInt int lightScrim, @ColorInt int darkScrim); |
| 168 | method public androidx.activity.SystemBarStyle auto(@ColorInt int lightScrim, @ColorInt int darkScrim, optional kotlin.jvm.functions.Function1<? super android.content.res.Resources,java.lang.Boolean> detectDarkMode); |
| 169 | method public androidx.activity.SystemBarStyle dark(@ColorInt int scrim); |
| 170 | method public androidx.activity.SystemBarStyle light(@ColorInt int scrim, @ColorInt int darkScrim); |
| 171 | } |
| 172 | |
| 173 | public final class ViewTreeFullyDrawnReporterOwner { |
| 174 | method public static androidx.activity.FullyDrawnReporterOwner? get(android.view.View); |
| 175 | method public static void set(android.view.View, androidx.activity.FullyDrawnReporterOwner fullyDrawnReporterOwner); |
| 176 | } |
| 177 | |
| 178 | public final class ViewTreeOnBackPressedDispatcherOwner { |
| 179 | method public static androidx.activity.OnBackPressedDispatcherOwner? get(android.view.View); |
| 180 | method public static void set(android.view.View, androidx.activity.OnBackPressedDispatcherOwner onBackPressedDispatcherOwner); |
| 181 | } |
| 182 | |
| 183 | } |
| 184 | |
| 185 | package androidx.activity.contextaware { |
| 186 | |
| 187 | public interface ContextAware { |
| 188 | method public void addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener listener); |
| 189 | method public android.content.Context? peekAvailableContext(); |
| 190 | method public void removeOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener listener); |
| 191 | } |
| 192 | |
| 193 | public final class ContextAwareHelper { |
| 194 | ctor public ContextAwareHelper(); |
| 195 | method public void addOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener listener); |
| 196 | method public void clearAvailableContext(); |
| 197 | method public void dispatchOnContextAvailable(android.content.Context context); |
| 198 | method public android.content.Context? peekAvailableContext(); |
| 199 | method public void removeOnContextAvailableListener(androidx.activity.contextaware.OnContextAvailableListener listener); |
| 200 | } |
| 201 | |
| 202 | public final class ContextAwareKt { |
| 203 | method public static suspend inline <R> Object? withContextAvailable(androidx.activity.contextaware.ContextAware, kotlin.jvm.functions.Function1<android.content.Context,R> onContextAvailable, kotlin.coroutines.Continuation<R>); |
| 204 | } |
| 205 | |
| 206 | public fun interface OnContextAvailableListener { |
| 207 | method public void onContextAvailable(android.content.Context context); |
| 208 | } |
| 209 | |
| 210 | } |
| 211 | |
| 212 | package androidx.activity.result { |
| 213 | |
| 214 | public final class ActivityResult implements android.os.Parcelable { |
| 215 | ctor public ActivityResult(int resultCode, android.content.Intent? data); |
| 216 | method public int describeContents(); |
| 217 | method public android.content.Intent? getData(); |
| 218 | method public int getResultCode(); |
| 219 | method public static String resultCodeToString(int resultCode); |
| 220 | method public void writeToParcel(android.os.Parcel dest, int flags); |
| 221 | property public final android.content.Intent? data; |
| 222 | property public final int resultCode; |
| 223 | field public static final android.os.Parcelable.Creator<androidx.activity.result.ActivityResult> CREATOR; |
| 224 | field public static final androidx.activity.result.ActivityResult.Companion Companion; |
| 225 | } |
| 226 | |
| 227 | public static final class ActivityResult.Companion { |
| 228 | method public String resultCodeToString(int resultCode); |
| 229 | } |
| 230 | |
| 231 | public fun interface ActivityResultCallback<O> { |
| 232 | method public void onActivityResult(O result); |
| 233 | } |
| 234 | |
| 235 | public interface ActivityResultCaller { |
| 236 | method public <I, O> androidx.activity.result.ActivityResultLauncher<I> registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O> contract, androidx.activity.result.ActivityResultCallback<O> callback); |
| 237 | method public <I, O> androidx.activity.result.ActivityResultLauncher<I> registerForActivityResult(androidx.activity.result.contract.ActivityResultContract<I,O> contract, androidx.activity.result.ActivityResultRegistry registry, androidx.activity.result.ActivityResultCallback<O> callback); |
| 238 | } |
| 239 | |
| 240 | public final class ActivityResultCallerKt { |
| 241 | method public static <I, O> androidx.activity.result.ActivityResultLauncher<kotlin.Unit> registerForActivityResult(androidx.activity.result.ActivityResultCaller, androidx.activity.result.contract.ActivityResultContract<I,O> contract, I input, androidx.activity.result.ActivityResultRegistry registry, kotlin.jvm.functions.Function1<O,kotlin.Unit> callback); |
| 242 | method public static <I, O> androidx.activity.result.ActivityResultLauncher<kotlin.Unit> registerForActivityResult(androidx.activity.result.ActivityResultCaller, androidx.activity.result.contract.ActivityResultContract<I,O> contract, I input, kotlin.jvm.functions.Function1<O,kotlin.Unit> callback); |
| 243 | } |
| 244 | |
| 245 | public final class ActivityResultKt { |
| 246 | method public static operator int component1(androidx.activity.result.ActivityResult); |
| 247 | method public static operator android.content.Intent? component2(androidx.activity.result.ActivityResult); |
| 248 | } |
| 249 | |
| 250 | public abstract class ActivityResultLauncher<I> { |
| 251 | ctor public ActivityResultLauncher(); |
| 252 | method public abstract androidx.activity.result.contract.ActivityResultContract<I,?> getContract(); |
| 253 | method public void launch(I input); |
| 254 | method public abstract void launch(I input, androidx.core.app.ActivityOptionsCompat? options); |
| 255 | method @MainThread public abstract void unregister(); |
| 256 | property public abstract androidx.activity.result.contract.ActivityResultContract<I,?> contract; |
| 257 | } |
| 258 | |
| 259 | public final class ActivityResultLauncherKt { |
| 260 | method public static void launch(androidx.activity.result.ActivityResultLauncher<java.lang.Void?>, optional androidx.core.app.ActivityOptionsCompat? options); |
| 261 | method public static void launchUnit(androidx.activity.result.ActivityResultLauncher<kotlin.Unit>, optional androidx.core.app.ActivityOptionsCompat? options); |
| 262 | } |
| 263 | |
| 264 | public abstract class ActivityResultRegistry { |
| 265 | ctor public ActivityResultRegistry(); |
| 266 | method @MainThread public final boolean dispatchResult(int requestCode, int resultCode, android.content.Intent? data); |
| 267 | method @MainThread public final <O> boolean dispatchResult(int requestCode, O result); |
| 268 | method @MainThread public abstract <I, O> void onLaunch(int requestCode, androidx.activity.result.contract.ActivityResultContract<I,O> contract, I input, androidx.core.app.ActivityOptionsCompat? options); |
| 269 | method public final void onRestoreInstanceState(android.os.Bundle? savedInstanceState); |
| 270 | method public final void onSaveInstanceState(android.os.Bundle outState); |
| 271 | method public final <I, O> androidx.activity.result.ActivityResultLauncher<I> register(String key, androidx.activity.result.contract.ActivityResultContract<I,O> contract, androidx.activity.result.ActivityResultCallback<O> callback); |
| 272 | method public final <I, O> androidx.activity.result.ActivityResultLauncher<I> register(String key, androidx.lifecycle.LifecycleOwner lifecycleOwner, androidx.activity.result.contract.ActivityResultContract<I,O> contract, androidx.activity.result.ActivityResultCallback<O> callback); |
| 273 | } |
| 274 | |
| 275 | public interface ActivityResultRegistryOwner { |
| 276 | method public androidx.activity.result.ActivityResultRegistry getActivityResultRegistry(); |
| 277 | property public abstract androidx.activity.result.ActivityResultRegistry activityResultRegistry; |
| 278 | } |
| 279 | |
| 280 | public final class IntentSenderRequest implements android.os.Parcelable { |
| 281 | method public int describeContents(); |
| 282 | method public android.content.Intent? getFillInIntent(); |
| 283 | method public int getFlagsMask(); |
| 284 | method public int getFlagsValues(); |
| 285 | method public android.content.IntentSender getIntentSender(); |
| 286 | method public void writeToParcel(android.os.Parcel dest, int flags); |
| 287 | property public final android.content.Intent? fillInIntent; |
| 288 | property public final int flagsMask; |
| 289 | property public final int flagsValues; |
| 290 | property public final android.content.IntentSender intentSender; |
| 291 | field public static final android.os.Parcelable.Creator<androidx.activity.result.IntentSenderRequest> CREATOR; |
| 292 | field public static final androidx.activity.result.IntentSenderRequest.Companion Companion; |
| 293 | } |
| 294 | |
| 295 | public static final class IntentSenderRequest.Builder { |
| 296 | ctor public IntentSenderRequest.Builder(android.app.PendingIntent pendingIntent); |
| 297 | ctor public IntentSenderRequest.Builder(android.content.IntentSender intentSender); |
| 298 | method public androidx.activity.result.IntentSenderRequest build(); |
| 299 | method public androidx.activity.result.IntentSenderRequest.Builder setFillInIntent(android.content.Intent? fillInIntent); |
| 300 | method public androidx.activity.result.IntentSenderRequest.Builder setFlags(int values, int mask); |
| 301 | } |
| 302 | |
| 303 | public static final class IntentSenderRequest.Companion { |
| 304 | } |
| 305 | |
| 306 | public final class PickVisualMediaRequest { |
| 307 | method public androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType getMediaType(); |
| 308 | property public final androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType; |
| 309 | } |
| 310 | |
| 311 | public static final class PickVisualMediaRequest.Builder { |
| 312 | ctor public PickVisualMediaRequest.Builder(); |
| 313 | method public androidx.activity.result.PickVisualMediaRequest build(); |
| 314 | method public androidx.activity.result.PickVisualMediaRequest.Builder setMediaType(androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType); |
| 315 | } |
| 316 | |
| 317 | public final class PickVisualMediaRequestKt { |
| 318 | method public static androidx.activity.result.PickVisualMediaRequest PickVisualMediaRequest(optional androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType mediaType); |
| 319 | } |
| 320 | |
| 321 | } |
| 322 | |
| 323 | package androidx.activity.result.contract { |
| 324 | |
| 325 | public abstract class ActivityResultContract<I, O> { |
| 326 | ctor public ActivityResultContract(); |
| 327 | method public abstract android.content.Intent createIntent(android.content.Context context, I input); |
| 328 | method public androidx.activity.result.contract.ActivityResultContract.SynchronousResult<O>? getSynchronousResult(android.content.Context context, I input); |
| 329 | method public abstract O parseResult(int resultCode, android.content.Intent? intent); |
| 330 | } |
| 331 | |
| 332 | public static final class ActivityResultContract.SynchronousResult<T> { |
| 333 | ctor public ActivityResultContract.SynchronousResult(T value); |
| 334 | method public T getValue(); |
| 335 | property public final T value; |
| 336 | } |
| 337 | |
| 338 | public final class ActivityResultContracts { |
| 339 | } |
| 340 | |
| 341 | public static class ActivityResultContracts.CaptureVideo extends androidx.activity.result.contract.ActivityResultContract<android.net.Uri,java.lang.Boolean> { |
| 342 | ctor public ActivityResultContracts.CaptureVideo(); |
| 343 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, android.net.Uri input); |
| 344 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.lang.Boolean>? getSynchronousResult(android.content.Context context, android.net.Uri input); |
| 345 | method public final Boolean parseResult(int resultCode, android.content.Intent? intent); |
| 346 | } |
| 347 | |
| 348 | public static class ActivityResultContracts.CreateDocument extends androidx.activity.result.contract.ActivityResultContract<java.lang.String,android.net.Uri> { |
| 349 | ctor @Deprecated public ActivityResultContracts.CreateDocument(); |
| 350 | ctor public ActivityResultContracts.CreateDocument(String mimeType); |
| 351 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, String input); |
| 352 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.net.Uri?>? getSynchronousResult(android.content.Context context, String input); |
| 353 | method public final android.net.Uri? parseResult(int resultCode, android.content.Intent? intent); |
| 354 | } |
| 355 | |
| 356 | public static class ActivityResultContracts.GetContent extends androidx.activity.result.contract.ActivityResultContract<java.lang.String,android.net.Uri> { |
| 357 | ctor public ActivityResultContracts.GetContent(); |
| 358 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, String input); |
| 359 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.net.Uri?>? getSynchronousResult(android.content.Context context, String input); |
| 360 | method public final android.net.Uri? parseResult(int resultCode, android.content.Intent? intent); |
| 361 | } |
| 362 | |
| 363 | public static class ActivityResultContracts.GetMultipleContents extends androidx.activity.result.contract.ActivityResultContract<java.lang.String,java.util.List<android.net.Uri>> { |
| 364 | ctor public ActivityResultContracts.GetMultipleContents(); |
| 365 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, String input); |
| 366 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.util.List<android.net.Uri>>? getSynchronousResult(android.content.Context context, String input); |
| 367 | method public final java.util.List<android.net.Uri> parseResult(int resultCode, android.content.Intent? intent); |
| 368 | } |
| 369 | |
| 370 | public static class ActivityResultContracts.OpenDocument extends androidx.activity.result.contract.ActivityResultContract<java.lang.String[],android.net.Uri> { |
| 371 | ctor public ActivityResultContracts.OpenDocument(); |
| 372 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, String[] input); |
| 373 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.net.Uri?>? getSynchronousResult(android.content.Context context, String[] input); |
| 374 | method public final android.net.Uri? parseResult(int resultCode, android.content.Intent? intent); |
| 375 | } |
| 376 | |
| 377 | @RequiresApi(21) public static class ActivityResultContracts.OpenDocumentTree extends androidx.activity.result.contract.ActivityResultContract<android.net.Uri,android.net.Uri> { |
| 378 | ctor public ActivityResultContracts.OpenDocumentTree(); |
| 379 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, android.net.Uri? input); |
| 380 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.net.Uri?>? getSynchronousResult(android.content.Context context, android.net.Uri? input); |
| 381 | method public final android.net.Uri? parseResult(int resultCode, android.content.Intent? intent); |
| 382 | } |
| 383 | |
| 384 | public static class ActivityResultContracts.OpenMultipleDocuments extends androidx.activity.result.contract.ActivityResultContract<java.lang.String[],java.util.List<android.net.Uri>> { |
| 385 | ctor public ActivityResultContracts.OpenMultipleDocuments(); |
| 386 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, String[] input); |
| 387 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.util.List<android.net.Uri>>? getSynchronousResult(android.content.Context context, String[] input); |
| 388 | method public final java.util.List<android.net.Uri> parseResult(int resultCode, android.content.Intent? intent); |
| 389 | } |
| 390 | |
| 391 | public static final class ActivityResultContracts.PickContact extends androidx.activity.result.contract.ActivityResultContract<java.lang.Void,android.net.Uri> { |
| 392 | ctor public ActivityResultContracts.PickContact(); |
| 393 | method public android.content.Intent createIntent(android.content.Context context, Void? input); |
| 394 | method public android.net.Uri? parseResult(int resultCode, android.content.Intent? intent); |
| 395 | } |
| 396 | |
| 397 | public static class ActivityResultContracts.PickMultipleVisualMedia extends androidx.activity.result.contract.ActivityResultContract<androidx.activity.result.PickVisualMediaRequest,java.util.List<android.net.Uri>> { |
| 398 | ctor public ActivityResultContracts.PickMultipleVisualMedia(optional int maxItems); |
| 399 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, androidx.activity.result.PickVisualMediaRequest input); |
| 400 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.util.List<android.net.Uri>>? getSynchronousResult(android.content.Context context, androidx.activity.result.PickVisualMediaRequest input); |
| 401 | method public final java.util.List<android.net.Uri> parseResult(int resultCode, android.content.Intent? intent); |
| 402 | } |
| 403 | |
| 404 | public static class ActivityResultContracts.PickVisualMedia extends androidx.activity.result.contract.ActivityResultContract<androidx.activity.result.PickVisualMediaRequest,android.net.Uri> { |
| 405 | ctor public ActivityResultContracts.PickVisualMedia(); |
| 406 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, androidx.activity.result.PickVisualMediaRequest input); |
| 407 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.net.Uri?>? getSynchronousResult(android.content.Context context, androidx.activity.result.PickVisualMediaRequest input); |
| 408 | method @Deprecated public static final boolean isPhotoPickerAvailable(); |
| 409 | method public static final boolean isPhotoPickerAvailable(android.content.Context context); |
| 410 | method public final android.net.Uri? parseResult(int resultCode, android.content.Intent? intent); |
| 411 | field public static final String ACTION_SYSTEM_FALLBACK_PICK_IMAGES = "androidx.activity.result.contract.action.PICK_IMAGES"; |
| 412 | field public static final androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.Companion Companion; |
| 413 | field public static final String EXTRA_SYSTEM_FALLBACK_PICK_IMAGES_MAX = "androidx.activity.result.contract.extra.PICK_IMAGES_MAX"; |
| 414 | } |
| 415 | |
| 416 | public static final class ActivityResultContracts.PickVisualMedia.Companion { |
| 417 | method @Deprecated public boolean isPhotoPickerAvailable(); |
| 418 | method public boolean isPhotoPickerAvailable(android.content.Context context); |
| 419 | } |
| 420 | |
| 421 | public static final class ActivityResultContracts.PickVisualMedia.ImageAndVideo implements androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType { |
| 422 | field public static final androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.ImageAndVideo INSTANCE; |
| 423 | } |
| 424 | |
| 425 | public static final class ActivityResultContracts.PickVisualMedia.ImageOnly implements androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType { |
| 426 | field public static final androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.ImageOnly INSTANCE; |
| 427 | } |
| 428 | |
| 429 | public static final class ActivityResultContracts.PickVisualMedia.SingleMimeType implements androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType { |
| 430 | ctor public ActivityResultContracts.PickVisualMedia.SingleMimeType(String mimeType); |
| 431 | method public String getMimeType(); |
| 432 | property public final String mimeType; |
| 433 | } |
| 434 | |
| 435 | public static final class ActivityResultContracts.PickVisualMedia.VideoOnly implements androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VisualMediaType { |
| 436 | field public static final androidx.activity.result.contract.ActivityResultContracts.PickVisualMedia.VideoOnly INSTANCE; |
| 437 | } |
| 438 | |
| 439 | public static sealed interface ActivityResultContracts.PickVisualMedia.VisualMediaType { |
| 440 | } |
| 441 | |
| 442 | public static final class ActivityResultContracts.RequestMultiplePermissions extends androidx.activity.result.contract.ActivityResultContract<java.lang.String[],java.util.Map<java.lang.String,java.lang.Boolean>> { |
| 443 | ctor public ActivityResultContracts.RequestMultiplePermissions(); |
| 444 | method public android.content.Intent createIntent(android.content.Context context, String[] input); |
| 445 | method public androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.util.Map<java.lang.String,java.lang.Boolean>>? getSynchronousResult(android.content.Context context, String[] input); |
| 446 | method public java.util.Map<java.lang.String,java.lang.Boolean> parseResult(int resultCode, android.content.Intent? intent); |
| 447 | field public static final String ACTION_REQUEST_PERMISSIONS = "androidx.activity.result.contract.action.REQUEST_PERMISSIONS"; |
| 448 | field public static final androidx.activity.result.contract.ActivityResultContracts.RequestMultiplePermissions.Companion Companion; |
| 449 | field public static final String EXTRA_PERMISSIONS = "androidx.activity.result.contract.extra.PERMISSIONS"; |
| 450 | field public static final String EXTRA_PERMISSION_GRANT_RESULTS = "androidx.activity.result.contract.extra.PERMISSION_GRANT_RESULTS"; |
| 451 | } |
| 452 | |
| 453 | public static final class ActivityResultContracts.RequestMultiplePermissions.Companion { |
| 454 | } |
| 455 | |
| 456 | public static final class ActivityResultContracts.RequestPermission extends androidx.activity.result.contract.ActivityResultContract<java.lang.String,java.lang.Boolean> { |
| 457 | ctor public ActivityResultContracts.RequestPermission(); |
| 458 | method public android.content.Intent createIntent(android.content.Context context, String input); |
| 459 | method public androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.lang.Boolean>? getSynchronousResult(android.content.Context context, String input); |
| 460 | method public Boolean parseResult(int resultCode, android.content.Intent? intent); |
| 461 | } |
| 462 | |
| 463 | public static final class ActivityResultContracts.StartActivityForResult extends androidx.activity.result.contract.ActivityResultContract<android.content.Intent,androidx.activity.result.ActivityResult> { |
| 464 | ctor public ActivityResultContracts.StartActivityForResult(); |
| 465 | method public android.content.Intent createIntent(android.content.Context context, android.content.Intent input); |
| 466 | method public androidx.activity.result.ActivityResult parseResult(int resultCode, android.content.Intent? intent); |
| 467 | field public static final androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult.Companion Companion; |
| 468 | field public static final String EXTRA_ACTIVITY_OPTIONS_BUNDLE = "androidx.activity.result.contract.extra.ACTIVITY_OPTIONS_BUNDLE"; |
| 469 | } |
| 470 | |
| 471 | public static final class ActivityResultContracts.StartActivityForResult.Companion { |
| 472 | } |
| 473 | |
| 474 | public static final class ActivityResultContracts.StartIntentSenderForResult extends androidx.activity.result.contract.ActivityResultContract<androidx.activity.result.IntentSenderRequest,androidx.activity.result.ActivityResult> { |
| 475 | ctor public ActivityResultContracts.StartIntentSenderForResult(); |
| 476 | method public android.content.Intent createIntent(android.content.Context context, androidx.activity.result.IntentSenderRequest input); |
| 477 | method public androidx.activity.result.ActivityResult parseResult(int resultCode, android.content.Intent? intent); |
| 478 | field public static final String ACTION_INTENT_SENDER_REQUEST = "androidx.activity.result.contract.action.INTENT_SENDER_REQUEST"; |
| 479 | field public static final androidx.activity.result.contract.ActivityResultContracts.StartIntentSenderForResult.Companion Companion; |
| 480 | field public static final String EXTRA_INTENT_SENDER_REQUEST = "androidx.activity.result.contract.extra.INTENT_SENDER_REQUEST"; |
| 481 | field public static final String EXTRA_SEND_INTENT_EXCEPTION = "androidx.activity.result.contract.extra.SEND_INTENT_EXCEPTION"; |
| 482 | } |
| 483 | |
| 484 | public static final class ActivityResultContracts.StartIntentSenderForResult.Companion { |
| 485 | } |
| 486 | |
| 487 | public static class ActivityResultContracts.TakePicture extends androidx.activity.result.contract.ActivityResultContract<android.net.Uri,java.lang.Boolean> { |
| 488 | ctor public ActivityResultContracts.TakePicture(); |
| 489 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, android.net.Uri input); |
| 490 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<java.lang.Boolean>? getSynchronousResult(android.content.Context context, android.net.Uri input); |
| 491 | method public final Boolean parseResult(int resultCode, android.content.Intent? intent); |
| 492 | } |
| 493 | |
| 494 | public static class ActivityResultContracts.TakePicturePreview extends androidx.activity.result.contract.ActivityResultContract<java.lang.Void,android.graphics.Bitmap> { |
| 495 | ctor public ActivityResultContracts.TakePicturePreview(); |
| 496 | method @CallSuper public android.content.Intent createIntent(android.content.Context context, Void? input); |
| 497 | method public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.graphics.Bitmap?>? getSynchronousResult(android.content.Context context, Void? input); |
| 498 | method public final android.graphics.Bitmap? parseResult(int resultCode, android.content.Intent? intent); |
| 499 | } |
| 500 | |
| 501 | @Deprecated public static class ActivityResultContracts.TakeVideo extends androidx.activity.result.contract.ActivityResultContract<android.net.Uri,android.graphics.Bitmap> { |
| 502 | ctor @Deprecated public ActivityResultContracts.TakeVideo(); |
| 503 | method @Deprecated @CallSuper public android.content.Intent createIntent(android.content.Context context, android.net.Uri input); |
| 504 | method @Deprecated public final androidx.activity.result.contract.ActivityResultContract.SynchronousResult<android.graphics.Bitmap?>? getSynchronousResult(android.content.Context context, android.net.Uri input); |
| 505 | method @Deprecated public final android.graphics.Bitmap? parseResult(int resultCode, android.content.Intent? intent); |
| 506 | } |
| 507 | |
| 508 | } |
| 509 | |