Object AngularNative
-
- All Implemented Interfaces:
public class AngularNative
-
-
Field Summary
Fields Modifier and Type Field Description private final AngularNativeConfigconfigpublic final static AngularNativeINSTANCE
-
Method Summary
Modifier and Type Method Description final WebViewInfowebViewInfo(Context context)Provides useful version and type information about the system WebView component installed on the device. final UnitloadPathConfiguration(Context context, PathConfiguration.Location location, PathConfiguration.LoaderOptions options)Loads the PathConfiguration JSON file(s) from the provided location to configure navigation rules. final AngularNativeConfiggetConfig()-
-
Method Detail
-
webViewInfo
final WebViewInfo webViewInfo(Context context)
Provides useful version and type information about the system WebView component installed on the device. This can be used in your app to require a minimum system WebView version on the device and point users to the Play Store to update the corresponding app (Google Chrome or Android System WebView).
-
loadPathConfiguration
final Unit loadPathConfiguration(Context context, PathConfiguration.Location location, PathConfiguration.LoaderOptions options)
Loads the PathConfiguration JSON file(s) from the provided location to configure navigation rules.
- Parameters:
context- The application or activity context.location- Specifies local and/or remote location to retrieve path configuration files.options- Optional loader options to use when fetching remote path configuration files from your server.
-
getConfig
final AngularNativeConfig getConfig()
-
-
-
-