Package 

Object OsmosSDK.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class OsmosSDK.Companion.Builder

      Builder class for SDK configuration. Each builder instance maintains isolated configuration state.

    • Method Summary

      Modifier and Type Method Description
      final OsmosSDK.Companion.Builder clientId(String clientId) Sets the client ID for the SDK (required).
      final OsmosSDK globalInstance() Singleton instance of OSMOS SDK.
      final Unit shutdown() Shuts down the OSMOS SDK and releases all resources.
      • Methods inherited from class java.lang.Object

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

      • shutdown

         final Unit shutdown()

        Shuts down the OSMOS SDK and releases all resources. This method should be called when the SDK is no longer needed to prevent memory leaks. After calling this method, initialize() must be called again before using the SDK.

        Example:

        // When app is shutting down or SDK is no longer needed
        OsmosSDK.shutdown()