ScanJob

class ScanJob(val jobUri: String, val esclClient: ESCLRequestClient, val scanSettings: ScanSettings)

Constructors

Link copied to clipboard
constructor(jobUri: String, esclClient: ESCLRequestClient, scanSettings: ScanSettings)
constructor(jobUrl: Url, esclClient: ESCLRequestClient, scanSettings: ScanSettings)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Tries to cancle the scan job

Link copied to clipboard
suspend fun getJobStatus(): JobInfo?

Executes a ScannerStatus request to the scanner, finds the job in the ScannerStatus and returns the current job status as JobInfo

Link copied to clipboard

Gets the ScanImageInfo for the last retrieved page

Link copied to clipboard

Executes a NextPage request to the scanner to retrieve the next page of the scan job

Link copied to clipboard
open override fun toString(): String