Gini Health APIBuilder
public final class GiniHealthAPIBuilder extends GiniCoreAPIBuilder<HealthApiDocumentManager, GiniHealthAPI, HealthApiDocumentRepository, ExtractionsContainer>
The GiniHealthAPIBuilder allows you to configure and create a GiniHealthAPI instance.
Parameters
context
your application's Context instance (Android)
client Id
your application's client ID for the Gini Health API
client Secret
your application's client secret for the Gini Health API
email Domain
the email domain which is used for created Gini users
session Manager
if not null, then the SessionManager instance will be used for session management. If null, then anonymous Gini users will be used.
Constructors
Link copied to clipboard
public GiniHealthAPIBuilder GiniHealthAPIBuilder(Context context, String clientId, String clientSecret, String emailDomain, SessionManager sessionManager)
Initializes a new builder instance.
Link copied to clipboard
public GiniHealthAPIBuilder GiniHealthAPIBuilder(Context context, String clientId, String clientSecret, String emailDomain)
Initializes a new builder instance.
Link copied to clipboard
public GiniHealthAPIBuilder GiniHealthAPIBuilder(Context context, String clientId, String clientSecret)
Initializes a new builder instance.
Link copied to clipboard
Initializes a new builder instance.
Link copied to clipboard
Initializes a new builder instance.
Functions
Link copied to clipboard
Builds the GiniHealthAPI instance with the configuration settings of the builder instance.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public GiniCoreAPIBuilder<HealthApiDocumentManager, GiniHealthAPI, HealthApiDocumentRepository, ExtractionsContainer> setCache(Cache cache)
Link copied to clipboard
public GiniCoreAPIBuilder<HealthApiDocumentManager, GiniHealthAPI, HealthApiDocumentRepository, ExtractionsContainer> setConnectionTimeoutInMs(Integer connectionTimeoutInMs)
Link copied to clipboard
public GiniCoreAPIBuilder<HealthApiDocumentManager, GiniHealthAPI, HealthApiDocumentRepository, ExtractionsContainer> setCredentialsStore(CredentialsStore credentialsStore)
Link copied to clipboard
public final GiniCoreAPIBuilder<HealthApiDocumentManager, GiniHealthAPI, HealthApiDocumentRepository, ExtractionsContainer> setDebuggingEnabled(Boolean enabled)
Link copied to clipboard
public GiniCoreAPIBuilder<HealthApiDocumentManager, GiniHealthAPI, HealthApiDocumentRepository, ExtractionsContainer> setNetworkSecurityConfigResId(Integer networkSecurityConfigResId)
Link copied to clipboard
Link copied to clipboard