invoke
Calls the invoke operator to retrieve the singleton instance of the Rainbow SDK. Equivalent to invoking the instance method.
Return
The singleton instance of the Rainbow SDK.
Example:
// Using invoke() to retrieve the Rainbow SDK instance
val sdkInstance = RainbowSdk() // Equivalent to RainbowSdk.invoke()
// Accessing services or functionalities using the retrieved instance
sdkInstance.someServiceMethod()
Content copied to clipboard