-
public class UID2Manager.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static UID2Manager.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitinit(Context context, String serverUrl, NetworkSession networkSession, Boolean isLoggingEnabled)Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls. final Unitinit(Context context, String serverUrl, NetworkSession networkSession)Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls. final Unitinit(Context context, String serverUrl)Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls. final Unitinit(Context context)Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls. final BooleanisInitialized()Returns True if the manager is already initialised, otherwise False. final UID2ManagergetInstance()Gets the current singleton instance of the manager. -
-
Method Detail
-
init
@JvmOverloads() final Unit init(Context context, String serverUrl, NetworkSession networkSession, Boolean isLoggingEnabled)
Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls.
- Parameters:
context- The context to initialise from.networkSession- A custom NetworkSession which can be used for making any required network calls.
-
init
@JvmOverloads() final Unit init(Context context, String serverUrl, NetworkSession networkSession)
Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls.
- Parameters:
context- The context to initialise from.networkSession- A custom NetworkSession which can be used for making any required network calls.
-
init
@JvmOverloads() final Unit init(Context context, String serverUrl)
Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls.
- Parameters:
context- The context to initialise from.
-
init
@JvmOverloads() final Unit init(Context context)
Initializes the class with the given Context, along with a NetworkSession that will be responsible for making any required network calls.
- Parameters:
context- The context to initialise from.
-
isInitialized
final Boolean isInitialized()
Returns True if the manager is already initialised, otherwise False.
-
getInstance
final UID2Manager getInstance()
Gets the current singleton instance of the manager.
-
-
-
-