GiniHealthAPIBuilder

public class GiniHealthAPIBuilder extends GiniCoreAPIBuilder<GiniHealthAPI>

Constructors

GiniHealthAPIBuilder
Link copied to clipboard
void GiniHealthAPIBuilder(@NonNull() Context context, @NonNull() String clientId, @NonNull() String clientSecret, @NonNull() String emailDomain)
Constructor to initialize a new builder instance where anonymous Gini users are used.
GiniHealthAPIBuilder
Link copied to clipboard
void GiniHealthAPIBuilder(@NonNull() Context context, @NonNull() SessionManager sessionManager)
Constructor to initialize a new builder instance.

Functions

build
Link copied to clipboard
GiniHealthAPI build()
Builds the GiniHealthAPI instance with the configuration settings of the builder instance.
getGiniApiType
Link copied to clipboard
GiniApiType getGiniApiType()
getSessionManager
Link copied to clipboard
synchronized SessionManager getSessionManager()
setApiBaseUrl
Link copied to clipboard
GiniCoreAPIBuilder<TsetApiBaseUrl(String newUrl)
setCache
Link copied to clipboard
GiniCoreAPIBuilder<TsetCache(Cache cache)
setConnectionBackOffMultiplier
Link copied to clipboard
GiniCoreAPIBuilder<TsetConnectionBackOffMultiplier(float backOffMultiplier)
setConnectionTimeoutInMs
Link copied to clipboard
GiniCoreAPIBuilder<TsetConnectionTimeoutInMs(int connectionTimeoutInMs)
setCredentialsStore
Link copied to clipboard
GiniCoreAPIBuilder<TsetCredentialsStore(CredentialsStore credentialsStore)
setGiniApiType
Link copied to clipboard
GiniCoreAPIBuilder<TsetGiniApiType(GiniApiType giniApiType)
setMaxNumberOfRetries
Link copied to clipboard
GiniCoreAPIBuilder<TsetMaxNumberOfRetries(int maxNumberOfRetries)
setNetworkSecurityConfigResId
Link copied to clipboard
GiniCoreAPIBuilder<TsetNetworkSecurityConfigResId(int networkSecurityConfigResId)
setUserCenterApiBaseUrl
Link copied to clipboard
GiniCoreAPIBuilder<TsetUserCenterApiBaseUrl(String newUrl)