Package-level declarations

Types

Link copied to clipboard
sealed class TWSConfiguration

Represents configuration for a TWSManager. There are two possible configurations Basic and Shared.

Link copied to clipboard
@Singleton
object TWSFactory

A factory for creating and managing instances of TWSManager.

Link copied to clipboard
interface TWSManager

A manager interface for handling snippets, their properties, and lifecycle events.

Link copied to clipboard
sealed class TWSOutcome<out T>

A sealed class representing the outcome of an operation, typically for API calls. It encapsulates three possible states:

Link copied to clipboard
object TWSSdk

Entry point for initializing and accessing the TWS SDK.

Functions

Link copied to clipboard
fun <A, B> TWSOutcome<A>.mapData(mapper: (A) -> B): TWSOutcome<B>

Map data of this outcome, while keeping the type.