public abstract static class UsherSdk.Configuration.Builder
extends java.lang.Object
UsherSdk.Configuration.Builder abstract class allows the user to create and
return an UsherSdk.Configuration object. For example, public abstract UsherSdk.Configuration.Builder application(android.app.Application application)
UsherSdk.Configuration.Builder for the UsherSdk.Configuration.application() component of
the UsherSdk.Configuration object.application - the application that the UsherSdk.Configuration is to be
initialized for. See ApplicationUsherSdk.Configuration.Builder for the UsherSdk.Configuration.application() component of
the UsherSdk.Configuration object.public abstract UsherSdk.Configuration.Builder serverUrl(java.lang.String serverUrl)
UsherSdk.Configuration.Builder for the UsherSdk.Configuration.serverUrl() component of
the UsherSdk.Configuration object.serverUrl - the URL of the server to handle http requestsUsherSdk.Configuration.Builder for the UsherSdk.Configuration.serverUrl() component of
the UsherSdk.Configuration object.public abstract UsherSdk.Configuration.Builder appId(java.lang.String appId)
UsherSdk.Configuration.Builder for the UsherSdk.Configuration.appId() component of
the UsherSdk.Configuration object.appId - the application IDUsherSdk.Configuration.Builder for the UsherSdk.Configuration.appId() component of
the UsherSdk.Configuration object.public abstract UsherSdk.Configuration.Builder enableTrustOnFirstUse(boolean enableTrustOnFirstUse)
UsherException.NETWORK_INVALID_CERTIFICATE. This flag is usually enabled
to prevent a man-in-the-middle (MITM) attack.
By default, this value is false, which means that the security for the
network connection falls upon the default system behavior.
Returns the UsherSdk.Configuration.Builder for the UsherSdk.Configuration.enableTrustOnFirstUse()
component of the UsherSdk.Configuration object.
enableTrustOnFirstUse - true if the trust-on-first-use model is
requested;
false otherwiseUsherSdk.Configuration.Builder for the UsherSdk.Configuration.enableTrustOnFirstUse()
component of the UsherSdk.Configuration object.public abstract UsherSdk.Configuration.Builder networkConnectionTimeout(int networkConnectionTimeout)
UsherSdk.Configuration.Builder for the UsherSdk.Configuration.networkConnectionTimeout() component of
the UsherSdk.Configuration object.
By default, this value is 15s.
Returns the UsherSdk.Configuration.Builder for the UsherSdk.Configuration.networkConnectionTimeout()
component of the UsherSdk.Configuration object.
networkConnectionTimeout - network time out paramUsherSdk.Configuration.Builder for the UsherSdk.Configuration.networkConnectionTimeout()
component of the UsherSdk.Configuration object.public abstract UsherSdk.Configuration build()
UsherSdk.Configuration object that is used to initialize the
UsherSdk object.UsherSdk.Configuration object that is used to initialize the
UsherSdk object.