DSSigningDelegate

class DSSigningDelegate : DSBaseDelegate, IDisposableHandler

This delegate is used to perform various actions during signing ceremony.

Constructors

Link copied to clipboard
fun DSSigningDelegate()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun addDisposableToCompositeDisposable(disposable: Disposable)
Link copied to clipboard
fun cacheStartSigningCeremony(context: Context, envelopeId: String, error: String?, startTime: Long? = null, launchDuration: Long? = null, docsSize: Double? = null)

Cache Start Signing Ceremony Telemetry event

Link copied to clipboard
open override fun clearAllDisposables()
Link copied to clipboard
fun createEnvelopeAndLaunchOnlineSigning(context: Context, localEnvelopeId: String, listener: DSOnlineSigningListener)

This method performs the Online signing ceremony based on locally created envelope from composeAndSendEnvelope

Link copied to clipboard
fun drawInitials(context: Context, drawListener: DSDrawListener)

Starts the draw initials flow

Link copied to clipboard
fun drawSignature(context: Context, drawListener: DSDrawListener)

Starts the draw signature flow

Link copied to clipboard
fun getCaptiveSigningListener(): DSCaptiveSigningListener?

This method gets the Captive Signing listener

Link copied to clipboard
fun getDrawListener(): DSDrawListener?

Returns the draw listener

Link copied to clipboard
fun getOfflineSigningListener(): DSOfflineSigningListener?

This method gets the Offline signing listener

Link copied to clipboard

This method gets the Envelope Offline signing listener for Envelope Offline Signing with Photo flow

Link copied to clipboard
fun getOnlineSigningListener(): DSOnlineSigningListener?

This method gets the Online signing listener

Link copied to clipboard
fun launchCaptiveSigning(context: Context, envelopeId: String, recipientClientUserId: String, listener: DSCaptiveSigningListener)

Start captive signing a remote envelope with the given envelopeId.

fun launchCaptiveSigning(context: Context, signingURL: String, envelopeId: String?, recipientId: String?, listener: DSCaptiveSigningListener)

Start captive signing a remote envelope with the given signingURL and envelopeId

Link copied to clipboard
open override fun removeDisposableFromCompositeDisposable(disposable: Disposable): Boolean
Link copied to clipboard
fun setCaptiveSigningListener(captiveSigningListener: DSCaptiveSigningListener?)
Link copied to clipboard
fun setOfflineSigningListener(listener: DSOfflineSigningListener?)

This method sets the signing listener for offline template send flow

Link copied to clipboard

This method sets the signing listener for offline signing with photo flow

Link copied to clipboard
fun setOnlineSigningListener(listener: DSOnlineSigningListener?)
Link copied to clipboard
fun signOffline(context: Context, envelopeId: String, listener: DSOfflineSigningListener)

This method performs the Offline signing ceremony

Link copied to clipboard
fun signOfflineWithPhoto(context: Context, envelopeId: String, listener: DSOfflineSigningWithPhotoListener)

Use this method to start offline signing for an envelope that exists on the server and when the SignWithPhoto Capture implementation is performed by the client. Start Offline signing for an envelope that exists on the server

Link copied to clipboard
fun signOnline(context: Context, serverEnvelopeId: String, listener: DSOnlineSigningListener)

This method performs the online signing ceremony