Open topic with navigation

com.hp.lft.sdk

## Class SDK

- java.lang.Object
- - com.hp.lft.sdk.SDK

-     public class SDK
      extends java.lang.Object

  The LeanFT base class.

- - ### Constructor Summary

    Constructor and Description
    `SDK()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `static void` | `cleanup()` Performs an SDK cleanup when connection ends.
    `static com.hp.lft.sdk.internal.TypeRegistry` | `getTypeRegistry()` Returns the SDK type registry.
    `static void` | `init(SDKConfiguration sdkConfig)` Initializes the SDK with the provided configuration.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SDK

          public SDK()

  - ### Method Detail

    - #### init

          public static void init(SDKConfiguration sdkConfig)
                           throws java.lang.Exception

      Initializes the SDK with the provided configuration.
      Parameters:
        `sdkConfig` - the configuration to use.
      Throws:
        `java.lang.Exception` - if an error occurs during execution.

    - #### cleanup

          public static void cleanup()

      Performs an SDK cleanup when connection ends.

    - #### getTypeRegistry

          public static com.hp.lft.sdk.internal.TypeRegistry getTypeRegistry()

      Returns the SDK type registry.
      Returns:
        The SDK type registry.