Class InitProvider

java.lang.Object
com.here.sdk.engine.InitProvider

public class InitProvider extends Object
Performs global initialization of the SDK. Normally this class is not needed because initialization of the SDK must be done automatically during the first access to SDKOptions or SDKNativeEngine. However in some cases it's more convenient to initialize SDK explicitly with this class. For example in integration tests where hard to predict the order of access to SDK.
  • Constructor Details

    • InitProvider

      public InitProvider()
  • Method Details

    • initialize

      public static void initialize(@NonNull android.content.Context appContext)
      Loads HERE dynamic libraries and sets up initial and global states.
      Parameters:
      appContext - The Android context.