DocuSign

class DocuSign

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun allowScreenCapture(allow: Boolean)

Allow taking screenshots of DocuSign SDK screens

Link copied to clipboard
fun clearDelegates()

This method clears all delegates and release the memory. This should be called by client once the offline signing is completed

Link copied to clipboard
fun enableTelemetry(on: Boolean)

Enables or Disables Telemetry. By default, telemetry is enabled.

Link copied to clipboard
fun getAppearanceDelegate(): DSAppearanceDelegate

Return the Appearance Delegate to customize appearance

Link copied to clipboard
fun getAppInstanceId(): String

Gets the App Instance ID

Link copied to clipboard
fun getAuthenticationDelegate(): DSAuthenticationDelegate

Return the Login Delegate to handle Login tasks

Link copied to clipboard
fun getClearCachedData(): Boolean

Returns the Boolean set via setClearCachedData

Link copied to clipboard
fun getClientSecret(): String?

Returns the clientSecret set during DocuSign initialization

Link copied to clipboard
fun getCustomSettingsDelegate(): DSCustomSettingsDelegate

Return the CustomSettings Delegate to enable/disable settings

Link copied to clipboard
fun getEnvelopeDelegate(): DSEnvelopeDelegate

Gets the DSEnvelopeDelegate to handle envelope tasks

Link copied to clipboard
fun getEnvironment(): DSEnvironment

Gets the environment

Link copied to clipboard
fun getESignApiDelegate(): DSESignApiDelegate

Gets the DSESignApiDelegate to invoke e-sign REST apis

Link copied to clipboard
fun getIntegratorKey(): String?

Returns the Integrator Key set during DocuSign initialization

Link copied to clipboard
fun getMode(): DSMode

Returns the DSMode set during DocuSign initialization or via setMode

Link copied to clipboard
fun getOauthClientId(): String?

Returns the OAuth Client ID set during DocuSign initialization

Link copied to clipboard
fun getRedirectUri(): String?

Returns the Redirect URI set during DocuSign initialization

Link copied to clipboard
fun getSDKVersion(): String

Gets the SDK Version

Link copied to clipboard
fun getSigningDelegate(): DSSigningDelegate

Gets the DSSigningDelegate to trigger draw signature flow Can be deleted once integrate draw signature flow into Offline Signing

Link copied to clipboard
fun getTemplateDelegate(): DSTemplateDelegate

Gets the DSTemplateDelegate to handle template tasks

Link copied to clipboard
fun isScreenCaptureAllowed(): Boolean

Returns true if screenshots are allowed for DocuSign SDK screens

Link copied to clipboard
fun isTelemetryEnabled(): Boolean

Returns true if telemetry is enabled

Link copied to clipboard
fun setClearCachedData(clearCachedData: Boolean)

Setting this to true, will wipe out the CachedData while logging in with a different account, whereas setting this to false will throw DSAuthenticationException when logging in with different account Note: Default value is false

Link copied to clipboard
fun setEnvironment(env: DSEnvironment)

Sets the environment

Link copied to clipboard
fun setMode(mode: DSMode)

Assign the DSMode to a local variable