Class KriptonLibrary

java.lang.Object
com.abubusoft.kripton.android.KriptonLibrary

public final class KriptonLibrary
extends java.lang.Object
Used to initialize library
Author:
Francesco Benincasa (info@abubusoft.com)
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static int THREAD_POOL_SIZE_DEFAULT
    The Constant THREAD_POOL_SIZE_DEFAULT.
    static java.lang.String VERSION  
  • Method Summary

    Modifier and Type Method Description
    static android.content.Context getContext()
    Context.
    static java.util.concurrent.ExecutorService getExecutorService()
    Executor service.
    static void init​(android.content.Context contextValue)
    Method to invoke during application initialization.
    static void init​(android.content.Context contextValue, java.util.concurrent.ExecutorService service)
    Method to invoke during application initialization.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • getContext

      public static android.content.Context getContext()
      Context.
      Returns:
      the context
    • getExecutorService

      public static java.util.concurrent.ExecutorService getExecutorService()
      Executor service.
      Returns:
      the executor service
    • init

      public static void init​(android.content.Context contextValue)
      Method to invoke during application initialization.
      Parameters:
      contextValue - the context value
    • init

      public static void init​(android.content.Context contextValue, java.util.concurrent.ExecutorService service)
      Method to invoke during application initialization.
      Parameters:
      contextValue - the context value
      executorService - the executor service