Aurimas Liutikas | 3aa5a20 | 2020-10-05 09:42:14 -0700 | [diff] [blame] | 1 | // Signature format: 4.0 |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 2 | package androidx.navigation { |
| 3 | |
| 4 | public final class ActionOnlyNavDirections implements androidx.navigation.NavDirections { |
Jeremy Woods | 9b91a84 | 2020-12-17 12:58:47 -0800 | [diff] [blame] | 5 | ctor public ActionOnlyNavDirections(int actionId); |
| 6 | method public int component1(); |
| 7 | method public androidx.navigation.ActionOnlyNavDirections copy(int actionId); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 8 | method public int getActionId(); |
| 9 | method public android.os.Bundle getArguments(); |
Jeremy Woods | 9b91a84 | 2020-12-17 12:58:47 -0800 | [diff] [blame] | 10 | property public int actionId; |
| 11 | property public android.os.Bundle arguments; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 12 | } |
| 13 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 14 | @androidx.navigation.NavOptionsDsl public final class AnimBuilder { |
| 15 | ctor public AnimBuilder(); |
| 16 | method public int getEnter(); |
| 17 | method public int getExit(); |
| 18 | method public int getPopEnter(); |
| 19 | method public int getPopExit(); |
| 20 | method public void setEnter(int p); |
| 21 | method public void setExit(int p); |
| 22 | method public void setPopEnter(int p); |
| 23 | method public void setPopExit(int p); |
| 24 | property public final int enter; |
| 25 | property public final int exit; |
| 26 | property public final int popEnter; |
| 27 | property public final int popExit; |
| 28 | } |
| 29 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 30 | public interface FloatingWindow { |
| 31 | } |
| 32 | |
| 33 | public final class NavAction { |
Jeremy Woods | 71e5fe5 | 2021-01-21 12:15:01 -0800 | [diff] [blame] | 34 | ctor public NavAction(@IdRes int destinationId, optional androidx.navigation.NavOptions? navOptions, optional android.os.Bundle? defaultArguments); |
| 35 | ctor public NavAction(@IdRes int destinationId, optional androidx.navigation.NavOptions? navOptions); |
| 36 | ctor public NavAction(@IdRes int destinationId); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 37 | method public android.os.Bundle? getDefaultArguments(); |
| 38 | method public int getDestinationId(); |
| 39 | method public androidx.navigation.NavOptions? getNavOptions(); |
Jeremy Woods | 71e5fe5 | 2021-01-21 12:15:01 -0800 | [diff] [blame] | 40 | method public void setDefaultArguments(android.os.Bundle? p); |
| 41 | method public void setNavOptions(androidx.navigation.NavOptions? p); |
| 42 | property public final android.os.Bundle? defaultArguments; |
| 43 | property public final int destinationId; |
| 44 | property public final androidx.navigation.NavOptions? navOptions; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 45 | } |
| 46 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 47 | @androidx.navigation.NavDestinationDsl public final class NavActionBuilder { |
| 48 | ctor public NavActionBuilder(); |
| 49 | method public java.util.Map<java.lang.String,java.lang.Object> getDefaultArguments(); |
| 50 | method public int getDestinationId(); |
| 51 | method public void navOptions(kotlin.jvm.functions.Function1<? super androidx.navigation.NavOptionsBuilder,kotlin.Unit> optionsBuilder); |
| 52 | method public void setDestinationId(int p); |
| 53 | property public final java.util.Map<java.lang.String,java.lang.Object> defaultArguments; |
| 54 | property public final int destinationId; |
| 55 | } |
| 56 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 57 | public interface NavArgs { |
| 58 | } |
| 59 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 60 | public final class NavArgsLazy<Args extends androidx.navigation.NavArgs> implements kotlin.Lazy<Args> { |
| 61 | ctor public NavArgsLazy(kotlin.reflect.KClass<Args> navArgsClass, kotlin.jvm.functions.Function0<android.os.Bundle> argumentProducer); |
| 62 | method public Args getValue(); |
| 63 | method public boolean isInitialized(); |
| 64 | property public Args value; |
| 65 | } |
| 66 | |
| 67 | public final class NavArgsLazyKt { |
| 68 | } |
| 69 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 70 | public final class NavArgument { |
| 71 | method public Object? getDefaultValue(); |
Jeremy Woods | c96f086 | 2021-02-27 01:40:50 -0800 | [diff] [blame] | 72 | method public androidx.navigation.NavType<java.lang.Object> getType(); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 73 | method public boolean isDefaultValuePresent(); |
| 74 | method public boolean isNullable(); |
Jeremy Woods | c96f086 | 2021-02-27 01:40:50 -0800 | [diff] [blame] | 75 | property public final Object? defaultValue; |
| 76 | property public final boolean isDefaultValuePresent; |
| 77 | property public final boolean isNullable; |
| 78 | property public final androidx.navigation.NavType<java.lang.Object> type; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | public static final class NavArgument.Builder { |
| 82 | ctor public NavArgument.Builder(); |
| 83 | method public androidx.navigation.NavArgument build(); |
Jeremy Woods | c96f086 | 2021-02-27 01:40:50 -0800 | [diff] [blame] | 84 | method public androidx.navigation.NavArgument.Builder setDefaultValue(Object? defaultValue); |
| 85 | method public androidx.navigation.NavArgument.Builder setIsNullable(boolean isNullable); |
| 86 | method public <T> androidx.navigation.NavArgument.Builder setType(androidx.navigation.NavType<T> type); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 87 | } |
| 88 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 89 | @androidx.navigation.NavDestinationDsl public final class NavArgumentBuilder { |
| 90 | ctor public NavArgumentBuilder(); |
| 91 | method public androidx.navigation.NavArgument build(); |
| 92 | method public Object? getDefaultValue(); |
| 93 | method public boolean getNullable(); |
| 94 | method public androidx.navigation.NavType<?> getType(); |
| 95 | method public void setDefaultValue(Object? value); |
| 96 | method public void setNullable(boolean value); |
| 97 | method public void setType(androidx.navigation.NavType<?> value); |
| 98 | property public final Object? defaultValue; |
| 99 | property public final boolean nullable; |
| 100 | property public final androidx.navigation.NavType<?> type; |
| 101 | } |
| 102 | |
Ian Lake | f57cd37 | 2021-04-21 15:52:15 -0700 | [diff] [blame] | 103 | public final class NavBackStackEntry implements androidx.lifecycle.HasDefaultViewModelProviderFactory androidx.lifecycle.LifecycleOwner androidx.savedstate.SavedStateRegistryOwner androidx.lifecycle.ViewModelStoreOwner { |
| 104 | method public android.os.Bundle? getArguments(); |
| 105 | method public androidx.lifecycle.ViewModelProvider.Factory getDefaultViewModelProviderFactory(); |
| 106 | method public androidx.navigation.NavDestination getDestination(); |
Ian Lake | ce44b52 | 2021-05-06 15:04:48 -0700 | [diff] [blame] | 107 | method public String getId(); |
Ian Lake | f57cd37 | 2021-04-21 15:52:15 -0700 | [diff] [blame] | 108 | method public androidx.lifecycle.Lifecycle getLifecycle(); |
| 109 | method public androidx.lifecycle.SavedStateHandle getSavedStateHandle(); |
| 110 | method public androidx.savedstate.SavedStateRegistry getSavedStateRegistry(); |
| 111 | method public androidx.lifecycle.ViewModelStore getViewModelStore(); |
| 112 | property public final android.os.Bundle? arguments; |
| 113 | property public final androidx.navigation.NavDestination destination; |
Ian Lake | ce44b52 | 2021-05-06 15:04:48 -0700 | [diff] [blame] | 114 | property public final String id; |
Ian Lake | f57cd37 | 2021-04-21 15:52:15 -0700 | [diff] [blame] | 115 | property public final androidx.lifecycle.SavedStateHandle savedStateHandle; |
| 116 | } |
| 117 | |
Jeremy Woods | 1b403fb | 2020-04-06 17:56:22 -0700 | [diff] [blame] | 118 | public final class NavDeepLink { |
| 119 | method public String? getAction(); |
| 120 | method public String? getMimeType(); |
Jeremy Woods | 23c2ef9 | 2020-04-21 08:58:11 -0700 | [diff] [blame] | 121 | method public String? getUriPattern(); |
Jeremy Woods | 125c6fc | 2021-01-07 18:38:12 -0800 | [diff] [blame] | 122 | property public final String? action; |
| 123 | property public final String? mimeType; |
| 124 | property public final String? uriPattern; |
Jeremy Woods | 1b403fb | 2020-04-06 17:56:22 -0700 | [diff] [blame] | 125 | } |
| 126 | |
| 127 | public static final class NavDeepLink.Builder { |
| 128 | method public androidx.navigation.NavDeepLink build(); |
Jeremy Woods | 125c6fc | 2021-01-07 18:38:12 -0800 | [diff] [blame] | 129 | method public static androidx.navigation.NavDeepLink.Builder fromAction(String action); |
| 130 | method public static androidx.navigation.NavDeepLink.Builder fromMimeType(String mimeType); |
| 131 | method public static androidx.navigation.NavDeepLink.Builder fromUriPattern(String uriPattern); |
| 132 | method public androidx.navigation.NavDeepLink.Builder setAction(String action); |
| 133 | method public androidx.navigation.NavDeepLink.Builder setMimeType(String mimeType); |
| 134 | method public androidx.navigation.NavDeepLink.Builder setUriPattern(String uriPattern); |
Jeremy Woods | 1b403fb | 2020-04-06 17:56:22 -0700 | [diff] [blame] | 135 | } |
| 136 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 137 | @kotlin.DslMarker public @interface NavDeepLinkDsl { |
| 138 | } |
| 139 | |
| 140 | @androidx.navigation.NavDeepLinkDsl public final class NavDeepLinkDslBuilder { |
| 141 | ctor public NavDeepLinkDslBuilder(); |
| 142 | method public String? getAction(); |
| 143 | method public String? getMimeType(); |
| 144 | method public String? getUriPattern(); |
| 145 | method public void setAction(String? p); |
| 146 | method public void setMimeType(String? p); |
| 147 | method public void setUriPattern(String? p); |
| 148 | property public final String? action; |
| 149 | property public final String? mimeType; |
| 150 | property public final String? uriPattern; |
| 151 | } |
| 152 | |
| 153 | public final class NavDeepLinkDslBuilderKt { |
| 154 | method public static androidx.navigation.NavDeepLink navDeepLink(kotlin.jvm.functions.Function1<? super androidx.navigation.NavDeepLinkDslBuilder,kotlin.Unit> deepLinkBuilder); |
| 155 | } |
| 156 | |
Jeremy Woods | 1b403fb | 2020-04-06 17:56:22 -0700 | [diff] [blame] | 157 | public class NavDeepLinkRequest { |
| 158 | method public String? getAction(); |
| 159 | method public String? getMimeType(); |
| 160 | method public android.net.Uri? getUri(); |
Jeremy Woods | 444c6cf | 2021-01-07 22:38:44 -0800 | [diff] [blame] | 161 | property public String? action; |
| 162 | property public String? mimeType; |
| 163 | property public android.net.Uri? uri; |
Jeremy Woods | 1b403fb | 2020-04-06 17:56:22 -0700 | [diff] [blame] | 164 | } |
| 165 | |
| 166 | public static final class NavDeepLinkRequest.Builder { |
| 167 | method public androidx.navigation.NavDeepLinkRequest build(); |
Jeremy Woods | 444c6cf | 2021-01-07 22:38:44 -0800 | [diff] [blame] | 168 | method public static androidx.navigation.NavDeepLinkRequest.Builder fromAction(String action); |
| 169 | method public static androidx.navigation.NavDeepLinkRequest.Builder fromMimeType(String mimeType); |
| 170 | method public static androidx.navigation.NavDeepLinkRequest.Builder fromUri(android.net.Uri uri); |
| 171 | method public androidx.navigation.NavDeepLinkRequest.Builder setAction(String action); |
| 172 | method public androidx.navigation.NavDeepLinkRequest.Builder setMimeType(String mimeType); |
| 173 | method public androidx.navigation.NavDeepLinkRequest.Builder setUri(android.net.Uri uri); |
| 174 | field public static final androidx.navigation.NavDeepLinkRequest.Builder.Companion Companion; |
| 175 | } |
| 176 | |
| 177 | public static final class NavDeepLinkRequest.Builder.Companion { |
| 178 | method public androidx.navigation.NavDeepLinkRequest.Builder fromAction(String action); |
| 179 | method public androidx.navigation.NavDeepLinkRequest.Builder fromMimeType(String mimeType); |
| 180 | method public androidx.navigation.NavDeepLinkRequest.Builder fromUri(android.net.Uri uri); |
Jeremy Woods | 1b403fb | 2020-04-06 17:56:22 -0700 | [diff] [blame] | 181 | } |
| 182 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 183 | public class NavDestination { |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 184 | ctor public NavDestination(String navigatorName); |
| 185 | ctor public NavDestination(androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator); |
| 186 | method public final void addArgument(String argumentName, androidx.navigation.NavArgument argument); |
| 187 | method public final void addDeepLink(String uriPattern); |
| 188 | method public final void addDeepLink(androidx.navigation.NavDeepLink navDeepLink); |
| 189 | method public final androidx.navigation.NavAction? getAction(@IdRes int id); |
| 190 | method public final java.util.Map<java.lang.String,androidx.navigation.NavArgument> getArguments(); |
Jeremy Woods | ee1fed9 | 2021-05-20 16:03:59 -0700 | [diff] [blame] | 191 | method public static final kotlin.sequences.Sequence<androidx.navigation.NavDestination> getHierarchy(androidx.navigation.NavDestination); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 192 | method @IdRes public final int getId(); |
| 193 | method public final CharSequence? getLabel(); |
| 194 | method public final String getNavigatorName(); |
| 195 | method public final androidx.navigation.NavGraph? getParent(); |
Jeremy Woods | 51769b7 | 2021-03-31 10:59:25 -0700 | [diff] [blame] | 196 | method public final String? getRoute(); |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 197 | method public boolean hasDeepLink(android.net.Uri deepLink); |
| 198 | method public boolean hasDeepLink(androidx.navigation.NavDeepLinkRequest deepLinkRequest); |
| 199 | method @CallSuper public void onInflate(android.content.Context context, android.util.AttributeSet attrs); |
| 200 | method protected static final <C> Class<? extends C> parseClassFromName(android.content.Context context, String name, Class<? extends C> expectedClassType); |
| 201 | method public final void putAction(@IdRes int actionId, @IdRes int destId); |
| 202 | method public final void putAction(@IdRes int actionId, androidx.navigation.NavAction action); |
| 203 | method public final void removeAction(@IdRes int actionId); |
| 204 | method public final void removeArgument(String argumentName); |
Jeremy Woods | 107813007 | 2021-05-11 18:20:51 -0700 | [diff] [blame] | 205 | method public final void setId(@IdRes int id); |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 206 | method public final void setLabel(CharSequence? p); |
Jeremy Woods | 51769b7 | 2021-03-31 10:59:25 -0700 | [diff] [blame] | 207 | method public final void setRoute(String? route); |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 208 | property public final java.util.Map<java.lang.String,androidx.navigation.NavArgument> arguments; |
| 209 | property @IdRes public final int id; |
| 210 | property public final CharSequence? label; |
| 211 | property public final String navigatorName; |
| 212 | property public final androidx.navigation.NavGraph? parent; |
Jeremy Woods | 51769b7 | 2021-03-31 10:59:25 -0700 | [diff] [blame] | 213 | property public final String? route; |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 214 | field public static final androidx.navigation.NavDestination.Companion Companion; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 215 | } |
| 216 | |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 217 | @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public static @interface NavDestination.ClassType { |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 218 | method public abstract Class<?> value(); |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 219 | property public abstract Class<?> value; |
| 220 | } |
| 221 | |
| 222 | public static final class NavDestination.Companion { |
Jeremy Woods | ee1fed9 | 2021-05-20 16:03:59 -0700 | [diff] [blame] | 223 | method public kotlin.sequences.Sequence<androidx.navigation.NavDestination> getHierarchy(androidx.navigation.NavDestination); |
Jeremy Woods | 468f4f8 | 2021-02-27 01:47:53 -0800 | [diff] [blame] | 224 | method protected <C> Class<? extends C> parseClassFromName(android.content.Context context, String name, Class<? extends C> expectedClassType); |
Jeremy Woods | ee1fed9 | 2021-05-20 16:03:59 -0700 | [diff] [blame] | 225 | property public final kotlin.sequences.Sequence<androidx.navigation.NavDestination> hierarchy; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 226 | } |
| 227 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 228 | @androidx.navigation.NavDestinationDsl public class NavDestinationBuilder<D extends androidx.navigation.NavDestination> { |
Jeremy Woods | dcb2c08 | 2021-05-24 14:47:18 -0700 | [diff] [blame] | 229 | ctor @Deprecated public NavDestinationBuilder(androidx.navigation.Navigator<? extends D> navigator, @IdRes int id); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 230 | ctor public NavDestinationBuilder(androidx.navigation.Navigator<? extends D> navigator, String? route); |
Jeremy Woods | cf09891 | 2021-05-26 12:57:54 -0700 | [diff] [blame^] | 231 | method @Deprecated public final void action(int actionId, kotlin.jvm.functions.Function1<? super androidx.navigation.NavActionBuilder,kotlin.Unit> actionBuilder); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 232 | method public final void argument(String name, kotlin.jvm.functions.Function1<? super androidx.navigation.NavArgumentBuilder,kotlin.Unit> argumentBuilder); |
| 233 | method public D build(); |
| 234 | method public final void deepLink(String uriPattern); |
| 235 | method public final void deepLink(kotlin.jvm.functions.Function1<? super androidx.navigation.NavDeepLinkDslBuilder,kotlin.Unit> navDeepLink); |
| 236 | method public final int getId(); |
| 237 | method public final CharSequence? getLabel(); |
| 238 | method protected final androidx.navigation.Navigator<? extends D> getNavigator(); |
Jeremy Woods | df16e24 | 2021-04-05 17:19:54 -0700 | [diff] [blame] | 239 | method public final String? getRoute(); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 240 | method public final void setLabel(CharSequence? p); |
| 241 | property public final int id; |
| 242 | property public final CharSequence? label; |
| 243 | property protected final androidx.navigation.Navigator<? extends D> navigator; |
Jeremy Woods | df16e24 | 2021-04-05 17:19:54 -0700 | [diff] [blame] | 244 | property public final String? route; |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 245 | } |
| 246 | |
| 247 | @kotlin.DslMarker public @interface NavDestinationDsl { |
| 248 | } |
| 249 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 250 | public interface NavDirections { |
| 251 | method @IdRes public int getActionId(); |
| 252 | method public android.os.Bundle getArguments(); |
Jeremy Woods | d87afe7 | 2020-12-17 12:36:35 -0800 | [diff] [blame] | 253 | property @IdRes public abstract int actionId; |
| 254 | property public abstract android.os.Bundle arguments; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 255 | } |
| 256 | |
Jeremy Woods | 9098881 | 2021-02-27 01:55:41 -0800 | [diff] [blame] | 257 | public class NavGraph extends androidx.navigation.NavDestination implements java.lang.Iterable<androidx.navigation.NavDestination> kotlin.jvm.internal.markers.KMappedMarker { |
| 258 | ctor public NavGraph(androidx.navigation.Navigator<? extends androidx.navigation.NavGraph> navGraphNavigator); |
| 259 | method public final void addAll(androidx.navigation.NavGraph other); |
| 260 | method public final void addDestination(androidx.navigation.NavDestination node); |
| 261 | method public final void addDestinations(java.util.Collection<? extends androidx.navigation.NavDestination> nodes); |
| 262 | method public final void addDestinations(androidx.navigation.NavDestination... nodes); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 263 | method public final void clear(); |
Jeremy Woods | a3117df | 2021-05-11 18:29:43 -0700 | [diff] [blame] | 264 | method public final androidx.navigation.NavDestination? findNode(@IdRes int resId); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 265 | method public final androidx.navigation.NavDestination? findNode(String? route); |
Jeremy Woods | ee1fed9 | 2021-05-20 16:03:59 -0700 | [diff] [blame] | 266 | method public static final androidx.navigation.NavDestination findStartDestination(androidx.navigation.NavGraph); |
Jeremy Woods | e6ad7e4 | 2021-05-03 17:50:16 -0700 | [diff] [blame] | 267 | method @Deprecated @IdRes public final int getStartDestination(); |
| 268 | method @IdRes public final int getStartDestinationId(); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 269 | method public final String? getStartDestinationRoute(); |
Jeremy Woods | 9098881 | 2021-02-27 01:55:41 -0800 | [diff] [blame] | 270 | method public final java.util.Iterator<androidx.navigation.NavDestination> iterator(); |
| 271 | method public final void remove(androidx.navigation.NavDestination node); |
| 272 | method public final void setStartDestination(int startDestId); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 273 | method public final void setStartDestination(String startDestRoute); |
Jeremy Woods | e6ad7e4 | 2021-05-03 17:50:16 -0700 | [diff] [blame] | 274 | property @IdRes public final int startDestinationId; |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 275 | property public final String? startDestinationRoute; |
Jeremy Woods | ee1fed9 | 2021-05-20 16:03:59 -0700 | [diff] [blame] | 276 | field public static final androidx.navigation.NavGraph.Companion Companion; |
| 277 | } |
| 278 | |
| 279 | public static final class NavGraph.Companion { |
| 280 | method public androidx.navigation.NavDestination findStartDestination(androidx.navigation.NavGraph); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 281 | } |
| 282 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 283 | @androidx.navigation.NavDestinationDsl public class NavGraphBuilder extends androidx.navigation.NavDestinationBuilder<androidx.navigation.NavGraph> { |
Jeremy Woods | dcb2c08 | 2021-05-24 14:47:18 -0700 | [diff] [blame] | 284 | ctor @Deprecated public NavGraphBuilder(androidx.navigation.NavigatorProvider provider, @IdRes int id, @IdRes int startDestination); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 285 | ctor public NavGraphBuilder(androidx.navigation.NavigatorProvider provider, String startDestination, String? route); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 286 | method public final void addDestination(androidx.navigation.NavDestination destination); |
| 287 | method public androidx.navigation.NavGraph build(); |
| 288 | method public final <D extends androidx.navigation.NavDestination> void destination(androidx.navigation.NavDestinationBuilder<? extends D> navDestination); |
| 289 | method public final androidx.navigation.NavigatorProvider getProvider(); |
| 290 | method public final operator void unaryPlus(androidx.navigation.NavDestination); |
| 291 | property public final androidx.navigation.NavigatorProvider provider; |
| 292 | } |
| 293 | |
| 294 | public final class NavGraphBuilderKt { |
Jeremy Woods | dcb2c08 | 2021-05-24 14:47:18 -0700 | [diff] [blame] | 295 | method @Deprecated public static inline androidx.navigation.NavGraph navigation(androidx.navigation.NavigatorProvider, optional @IdRes int id, @IdRes int startDestination, kotlin.jvm.functions.Function1<? super androidx.navigation.NavGraphBuilder,kotlin.Unit> builder); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 296 | method public static inline androidx.navigation.NavGraph navigation(androidx.navigation.NavigatorProvider, String startDestination, optional String? route, kotlin.jvm.functions.Function1<? super androidx.navigation.NavGraphBuilder,kotlin.Unit> builder); |
Jeremy Woods | dcb2c08 | 2021-05-24 14:47:18 -0700 | [diff] [blame] | 297 | method @Deprecated public static inline void navigation(androidx.navigation.NavGraphBuilder, @IdRes int id, @IdRes int startDestination, kotlin.jvm.functions.Function1<? super androidx.navigation.NavGraphBuilder,kotlin.Unit> builder); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 298 | method public static inline void navigation(androidx.navigation.NavGraphBuilder, String startDestination, String route, kotlin.jvm.functions.Function1<? super androidx.navigation.NavGraphBuilder,kotlin.Unit> builder); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 299 | } |
| 300 | |
Aurimas Liutikas | 38fff36 | 2021-04-01 15:43:54 -0700 | [diff] [blame] | 301 | public final class NavGraphKt { |
| 302 | method public static operator boolean contains(androidx.navigation.NavGraph, @IdRes int id); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 303 | method public static operator boolean contains(androidx.navigation.NavGraph, String route); |
Aurimas Liutikas | 38fff36 | 2021-04-01 15:43:54 -0700 | [diff] [blame] | 304 | method public static inline operator androidx.navigation.NavDestination get(androidx.navigation.NavGraph, @IdRes int id); |
Jeremy Woods | fc9a744 | 2021-03-31 19:09:29 -0700 | [diff] [blame] | 305 | method public static inline operator androidx.navigation.NavDestination get(androidx.navigation.NavGraph, String route); |
Aurimas Liutikas | 38fff36 | 2021-04-01 15:43:54 -0700 | [diff] [blame] | 306 | method public static inline operator void minusAssign(androidx.navigation.NavGraph, androidx.navigation.NavDestination node); |
| 307 | method public static inline operator void plusAssign(androidx.navigation.NavGraph, androidx.navigation.NavDestination node); |
| 308 | method public static inline operator void plusAssign(androidx.navigation.NavGraph, androidx.navigation.NavGraph other); |
| 309 | } |
| 310 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 311 | @androidx.navigation.Navigator.Name("navigation") public class NavGraphNavigator extends androidx.navigation.Navigator<androidx.navigation.NavGraph> { |
Jeremy Woods | 3d360389 | 2021-01-21 13:26:47 -0800 | [diff] [blame] | 312 | ctor public NavGraphNavigator(androidx.navigation.NavigatorProvider navigatorProvider); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 313 | method public androidx.navigation.NavGraph createDestination(); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 314 | } |
| 315 | |
| 316 | public final class NavOptions { |
| 317 | method @AnimRes @AnimatorRes public int getEnterAnim(); |
| 318 | method @AnimRes @AnimatorRes public int getExitAnim(); |
| 319 | method @AnimRes @AnimatorRes public int getPopEnterAnim(); |
| 320 | method @AnimRes @AnimatorRes public int getPopExitAnim(); |
Jeremy Woods | 81aaecc | 2021-05-05 13:08:11 -0700 | [diff] [blame] | 321 | method @Deprecated @IdRes public int getPopUpTo(); |
| 322 | method @IdRes public int getPopUpToId(); |
Jeremy Woods | 7220fdf | 2021-04-01 14:42:02 -0700 | [diff] [blame] | 323 | method public String? getPopUpToRoute(); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 324 | method public boolean isPopUpToInclusive(); |
| 325 | method public boolean shouldLaunchSingleTop(); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 326 | method public boolean shouldPopUpToSaveState(); |
| 327 | method public boolean shouldRestoreState(); |
Jeremy Woods | 3f75946 | 2021-01-21 14:28:05 -0800 | [diff] [blame] | 328 | property @AnimRes @AnimatorRes public final int enterAnim; |
| 329 | property @AnimRes @AnimatorRes public final int exitAnim; |
| 330 | property @AnimRes @AnimatorRes public final int popEnterAnim; |
| 331 | property @AnimRes @AnimatorRes public final int popExitAnim; |
Jeremy Woods | 81aaecc | 2021-05-05 13:08:11 -0700 | [diff] [blame] | 332 | property @IdRes public final int popUpToId; |
Jeremy Woods | 7220fdf | 2021-04-01 14:42:02 -0700 | [diff] [blame] | 333 | property public final String? popUpToRoute; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 334 | } |
| 335 | |
| 336 | public static final class NavOptions.Builder { |
| 337 | ctor public NavOptions.Builder(); |
| 338 | method public androidx.navigation.NavOptions build(); |
Jeremy Woods | 3f75946 | 2021-01-21 14:28:05 -0800 | [diff] [blame] | 339 | method public androidx.navigation.NavOptions.Builder setEnterAnim(@AnimRes @AnimatorRes int enterAnim); |
| 340 | method public androidx.navigation.NavOptions.Builder setExitAnim(@AnimRes @AnimatorRes int exitAnim); |
| 341 | method public androidx.navigation.NavOptions.Builder setLaunchSingleTop(boolean singleTop); |
| 342 | method public androidx.navigation.NavOptions.Builder setPopEnterAnim(@AnimRes @AnimatorRes int popEnterAnim); |
| 343 | method public androidx.navigation.NavOptions.Builder setPopExitAnim(@AnimRes @AnimatorRes int popExitAnim); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 344 | method public androidx.navigation.NavOptions.Builder setPopUpTo(@IdRes int destinationId, boolean inclusive, optional boolean saveState); |
Jeremy Woods | 3f75946 | 2021-01-21 14:28:05 -0800 | [diff] [blame] | 345 | method public androidx.navigation.NavOptions.Builder setPopUpTo(@IdRes int destinationId, boolean inclusive); |
Jeremy Woods | 7220fdf | 2021-04-01 14:42:02 -0700 | [diff] [blame] | 346 | method public androidx.navigation.NavOptions.Builder setPopUpTo(String? route, boolean inclusive, optional boolean saveState); |
| 347 | method public androidx.navigation.NavOptions.Builder setPopUpTo(String? route, boolean inclusive); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 348 | method public androidx.navigation.NavOptions.Builder setRestoreState(boolean restoreState); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 349 | } |
| 350 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 351 | @androidx.navigation.NavOptionsDsl public final class NavOptionsBuilder { |
| 352 | ctor public NavOptionsBuilder(); |
| 353 | method public void anim(kotlin.jvm.functions.Function1<? super androidx.navigation.AnimBuilder,kotlin.Unit> animBuilder); |
| 354 | method public boolean getLaunchSingleTop(); |
Jeremy Woods | 81aaecc | 2021-05-05 13:08:11 -0700 | [diff] [blame] | 355 | method @Deprecated public int getPopUpTo(); |
| 356 | method public int getPopUpToId(); |
Jeremy Woods | 7220fdf | 2021-04-01 14:42:02 -0700 | [diff] [blame] | 357 | method public String? getPopUpToRoute(); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 358 | method public boolean getRestoreState(); |
Jeremy Woods | 81aaecc | 2021-05-05 13:08:11 -0700 | [diff] [blame] | 359 | method public void popUpTo(@IdRes int id, optional kotlin.jvm.functions.Function1<? super androidx.navigation.PopUpToBuilder,kotlin.Unit> popUpToBuilder); |
Jeremy Woods | 7220fdf | 2021-04-01 14:42:02 -0700 | [diff] [blame] | 360 | method public void popUpTo(String route, optional kotlin.jvm.functions.Function1<? super androidx.navigation.PopUpToBuilder,kotlin.Unit> popUpToBuilder); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 361 | method public void setLaunchSingleTop(boolean p); |
Jeremy Woods | 81aaecc | 2021-05-05 13:08:11 -0700 | [diff] [blame] | 362 | method @Deprecated public void setPopUpTo(int value); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 363 | method public void setRestoreState(boolean p); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 364 | property public final boolean launchSingleTop; |
Jeremy Woods | 81aaecc | 2021-05-05 13:08:11 -0700 | [diff] [blame] | 365 | property @Deprecated public final int popUpTo; |
| 366 | property public final int popUpToId; |
Jeremy Woods | 7220fdf | 2021-04-01 14:42:02 -0700 | [diff] [blame] | 367 | property public final String? popUpToRoute; |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 368 | property public final boolean restoreState; |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 369 | } |
| 370 | |
| 371 | public final class NavOptionsBuilderKt { |
| 372 | method public static androidx.navigation.NavOptions navOptions(kotlin.jvm.functions.Function1<? super androidx.navigation.NavOptionsBuilder,kotlin.Unit> optionsBuilder); |
| 373 | } |
| 374 | |
| 375 | @kotlin.DslMarker public @interface NavOptionsDsl { |
| 376 | } |
| 377 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 378 | public abstract class NavType<T> { |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 379 | method public static androidx.navigation.NavType<?> fromArgType(String? type, String? packageName); |
| 380 | method public abstract operator T? get(android.os.Bundle bundle, String key); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 381 | method public abstract String getName(); |
| 382 | method public boolean isNullableAllowed(); |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 383 | method public abstract T! parseValue(String value); |
| 384 | method public abstract void put(android.os.Bundle bundle, String key, T? value); |
| 385 | property public boolean isNullableAllowed; |
| 386 | property public abstract String name; |
| 387 | field public static final androidx.navigation.NavType<boolean[]> BoolArrayType; |
| 388 | field public static final androidx.navigation.NavType<java.lang.Boolean> BoolType; |
| 389 | field public static final androidx.navigation.NavType.Companion Companion; |
| 390 | field public static final androidx.navigation.NavType<float[]> FloatArrayType; |
| 391 | field public static final androidx.navigation.NavType<java.lang.Float> FloatType; |
| 392 | field public static final androidx.navigation.NavType<int[]> IntArrayType; |
| 393 | field public static final androidx.navigation.NavType<java.lang.Integer> IntType; |
| 394 | field public static final androidx.navigation.NavType<long[]> LongArrayType; |
| 395 | field public static final androidx.navigation.NavType<java.lang.Long> LongType; |
| 396 | field public static final androidx.navigation.NavType<java.lang.Integer> ReferenceType; |
| 397 | field public static final androidx.navigation.NavType<java.lang.String[]> StringArrayType; |
| 398 | field public static final androidx.navigation.NavType<java.lang.String> StringType; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 399 | } |
| 400 | |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 401 | public static final class NavType.Companion { |
| 402 | method public androidx.navigation.NavType<?> fromArgType(String? type, String? packageName); |
| 403 | } |
| 404 | |
| 405 | public static final class NavType.EnumType<D extends java.lang.Enum<?>> extends androidx.navigation.NavType.SerializableType<D> { |
| 406 | ctor public NavType.EnumType(Class<D> type); |
| 407 | property public String name; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 408 | } |
| 409 | |
| 410 | public static final class NavType.ParcelableArrayType<D extends android.os.Parcelable> extends androidx.navigation.NavType<D[]> { |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 411 | ctor public NavType.ParcelableArrayType(Class<D> type); |
| 412 | method public D![]? get(android.os.Bundle bundle, String key); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 413 | method public String getName(); |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 414 | method public D![] parseValue(String value); |
| 415 | method public void put(android.os.Bundle bundle, String key, D![]? value); |
| 416 | property public String name; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 417 | } |
| 418 | |
| 419 | public static final class NavType.ParcelableType<D> extends androidx.navigation.NavType<D> { |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 420 | ctor public NavType.ParcelableType(Class<D> type); |
| 421 | method public D? get(android.os.Bundle bundle, String key); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 422 | method public String getName(); |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 423 | method public D! parseValue(String value); |
| 424 | method public void put(android.os.Bundle bundle, String key, D? value); |
| 425 | property public String name; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 426 | } |
| 427 | |
| 428 | public static final class NavType.SerializableArrayType<D extends java.io.Serializable> extends androidx.navigation.NavType<D[]> { |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 429 | ctor public NavType.SerializableArrayType(Class<D> type); |
| 430 | method public D![]? get(android.os.Bundle bundle, String key); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 431 | method public String getName(); |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 432 | method public D![] parseValue(String value); |
| 433 | method public void put(android.os.Bundle bundle, String key, D![]? value); |
| 434 | property public String name; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 435 | } |
| 436 | |
| 437 | public static class NavType.SerializableType<D extends java.io.Serializable> extends androidx.navigation.NavType<D> { |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 438 | ctor public NavType.SerializableType(Class<D> type); |
| 439 | method public D? get(android.os.Bundle bundle, String key); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 440 | method public String getName(); |
Jeremy Woods | 8f57617 | 2021-01-11 09:19:27 -0800 | [diff] [blame] | 441 | method public D parseValue(String value); |
| 442 | method public void put(android.os.Bundle bundle, String key, D value); |
| 443 | property public String name; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 444 | } |
| 445 | |
| 446 | public abstract class Navigator<D extends androidx.navigation.NavDestination> { |
| 447 | ctor public Navigator(); |
| 448 | method public abstract D createDestination(); |
Ian Lake | 4ab8db7 | 2021-04-23 14:25:17 -0700 | [diff] [blame] | 449 | method protected final androidx.navigation.NavigatorState getState(); |
Ian Lake | ff14ae5 | 2021-04-22 13:12:35 -0700 | [diff] [blame] | 450 | method public final boolean isAttached(); |
Ian Lake | 5c911ea | 2021-04-26 17:04:31 -0700 | [diff] [blame] | 451 | method public void navigate(java.util.List<androidx.navigation.NavBackStackEntry> entries, androidx.navigation.NavOptions? navOptions, androidx.navigation.Navigator.Extras? navigatorExtras); |
| 452 | method public androidx.navigation.NavDestination? navigate(D destination, android.os.Bundle? args, androidx.navigation.NavOptions? navOptions, androidx.navigation.Navigator.Extras? navigatorExtras); |
Ian Lake | 4ab8db7 | 2021-04-23 14:25:17 -0700 | [diff] [blame] | 453 | method @CallSuper public void onAttach(androidx.navigation.NavigatorState state); |
Ian Lake | 5c911ea | 2021-04-26 17:04:31 -0700 | [diff] [blame] | 454 | method public void onLaunchSingleTop(androidx.navigation.NavBackStackEntry backStackEntry); |
Jeremy Woods | 0660bae | 2021-01-21 13:40:09 -0800 | [diff] [blame] | 455 | method public void onRestoreState(android.os.Bundle savedState); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 456 | method public android.os.Bundle? onSaveState(); |
Ian Lake | 5c911ea | 2021-04-26 17:04:31 -0700 | [diff] [blame] | 457 | method public void popBackStack(androidx.navigation.NavBackStackEntry popUpTo, boolean savedState); |
| 458 | method public boolean popBackStack(); |
Ian Lake | ff14ae5 | 2021-04-22 13:12:35 -0700 | [diff] [blame] | 459 | property public final boolean isAttached; |
Ian Lake | 4ab8db7 | 2021-04-23 14:25:17 -0700 | [diff] [blame] | 460 | property protected final androidx.navigation.NavigatorState state; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 461 | } |
| 462 | |
| 463 | public static interface Navigator.Extras { |
| 464 | } |
| 465 | |
Jeremy Woods | 0660bae | 2021-01-21 13:40:09 -0800 | [diff] [blame] | 466 | @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention) @kotlin.annotation.Target(allowedTargets={kotlin.annotation.AnnotationTarget, kotlin.annotation.AnnotationTarget}) public static @interface Navigator.Name { |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 467 | method public abstract String value(); |
Jeremy Woods | 0660bae | 2021-01-21 13:40:09 -0800 | [diff] [blame] | 468 | property public abstract String value; |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 469 | } |
| 470 | |
| 471 | public class NavigatorProvider { |
| 472 | ctor public NavigatorProvider(); |
Jeremy Woods | 6eef082 | 2021-01-21 14:17:34 -0800 | [diff] [blame] | 473 | method public final androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>? addNavigator(androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator); |
| 474 | method @CallSuper public androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>? addNavigator(String name, androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator); |
| 475 | method public final <T extends androidx.navigation.Navigator<?>> T getNavigator(Class<T> navigatorClass); |
| 476 | method @CallSuper public <T extends androidx.navigation.Navigator<?>> T getNavigator(String name); |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 477 | } |
| 478 | |
Aurimas Liutikas | 38fff36 | 2021-04-01 15:43:54 -0700 | [diff] [blame] | 479 | public final class NavigatorProviderKt { |
| 480 | method public static inline operator <T extends androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>> T get(androidx.navigation.NavigatorProvider, String name); |
| 481 | method public static inline operator <T extends androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>> T get(androidx.navigation.NavigatorProvider, kotlin.reflect.KClass<T> clazz); |
| 482 | method public static inline operator void plusAssign(androidx.navigation.NavigatorProvider, androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator); |
| 483 | method public static inline operator androidx.navigation.Navigator<? extends androidx.navigation.NavDestination>? set(androidx.navigation.NavigatorProvider, String name, androidx.navigation.Navigator<? extends androidx.navigation.NavDestination> navigator); |
| 484 | } |
| 485 | |
Ian Lake | 4ab8db7 | 2021-04-23 14:25:17 -0700 | [diff] [blame] | 486 | public abstract class NavigatorState { |
| 487 | ctor public NavigatorState(); |
| 488 | method public void add(androidx.navigation.NavBackStackEntry backStackEntry); |
| 489 | method public abstract androidx.navigation.NavBackStackEntry createBackStackEntry(androidx.navigation.NavDestination destination, android.os.Bundle? arguments); |
| 490 | method public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> getBackStack(); |
| 491 | method public void pop(androidx.navigation.NavBackStackEntry popUpTo, boolean saveState); |
| 492 | property public final kotlinx.coroutines.flow.StateFlow<java.util.List<androidx.navigation.NavBackStackEntry>> backStack; |
| 493 | } |
| 494 | |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 495 | @androidx.navigation.NavOptionsDsl public final class PopUpToBuilder { |
| 496 | ctor public PopUpToBuilder(); |
| 497 | method public boolean getInclusive(); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 498 | method public boolean getSaveState(); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 499 | method public void setInclusive(boolean p); |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 500 | method public void setSaveState(boolean p); |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 501 | property public final boolean inclusive; |
Ian Lake | b3588b9 | 2021-04-05 15:51:01 -0700 | [diff] [blame] | 502 | property public final boolean saveState; |
Jeremy Woods | 69c7fbc | 2021-04-01 17:36:53 -0700 | [diff] [blame] | 503 | } |
| 504 | |
Jeff Gaston | e6a3a04 | 2019-07-01 18:23:37 -0400 | [diff] [blame] | 505 | } |
| 506 | |