Class BasicConfiguration


  • public final class BasicConfiguration
    extends java.lang.Object
    The most basic properties of the SDK client that are available to all SDK component factories.
    Since:
    5.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicConfiguration​(java.lang.String sdkKey, boolean offline, int threadPriority)
      Deprecated.
      BasicConfiguration​(java.lang.String sdkKey, boolean offline, int threadPriority, ApplicationInfo applicationInfo)
      Constructs an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ApplicationInfo getApplicationInfo()
      The metadata about the application using this SDK.
      java.lang.String getSdkKey()
      Returns the configured SDK key.
      int getThreadPriority()
      The thread priority that should be used for any worker threads created by SDK components.
      boolean isOffline()
      Returns true if the client was configured to be completely offline.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BasicConfiguration

        public BasicConfiguration​(java.lang.String sdkKey,
                                  boolean offline,
                                  int threadPriority,
                                  ApplicationInfo applicationInfo)
        Constructs an instance.
        Parameters:
        sdkKey - the SDK key
        offline - true if the SDK was configured to be completely offline
        threadPriority - the thread priority that should be used for any worker threads created by SDK components
        applicationInfo - metadata about the application using this SDK
      • BasicConfiguration

        @Deprecated
        public BasicConfiguration​(java.lang.String sdkKey,
                                  boolean offline,
                                  int threadPriority)
        Deprecated.
        Constructs an instance.
        Parameters:
        sdkKey - the SDK key
        offline - true if the SDK was configured to be completely offline
        threadPriority - the thread priority that should be used for any worker threads created by SDK components