public class TapkeyEnvironmentConfigBuilder extends Object
// Within the application's onCreate() TapkeyEnvironmentConfigBuilder environmentConfigBuilder = new TapkeyEnvironmentConfigBuilder(this); TapkeyEnvironmentConfig environmentConfig = environmentConfigBuilder.build();
Constructor and Description |
---|
TapkeyEnvironmentConfigBuilder(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
TapkeyEnvironmentConfig |
build()
Builds the TapkeyEnvironment configuration.
|
TapkeyEnvironmentConfigBuilder |
setBaseUri(String baseUri)
Overrides the default base URI of the Tapkey Trust Service.
|
TapkeyEnvironmentConfigBuilder |
setBleServiceUuid(String bleServiceUuid)
Overrides the default BLE service UUID to use.
|
TapkeyEnvironmentConfigBuilder |
setTenantId(String tenantId)
Overrides the default tenant ID.
|
public TapkeyEnvironmentConfigBuilder(android.content.Context context)
public TapkeyEnvironmentConfigBuilder setBaseUri(String baseUri)
baseUri
- the base URI.public TapkeyEnvironmentConfigBuilder setTenantId(String tenantId)
tenantId
- the tenant ID.public TapkeyEnvironmentConfigBuilder setBleServiceUuid(String bleServiceUuid)
bleServiceUuid
- the BLE service UUID.public TapkeyEnvironmentConfig build()