TelemetryService
Index
Properties
publicstaticreadonlyServerUrl
Accessors
consentRequired
Returns boolean
decodedUserId
Returns string
effectiveTelemetryMode
Returns TelemetryMode
staticInstance
Returns TelemetryService
Methods
addFileCloseEntry
Parameters
id: number
Returns Promise<void>
addFileOpenEntry
Parameters
id: number
type: FileType
width: number
height: number
depth: number
stokes: number
generated: boolean
Returns Promise<void>
addSpectralProfileEntry
Parameters
profileLength: number
regionType: RegionType
regionId: number
width: number
height: number
depth: number
Returns void
addTelemetryEntry
Parameters
action: TelemetryAction
optionaldetails: object
optionalid: string
Returns Promise<void>
checkAndGenerateId
Parameters
flush: boolean = false
forceNewId: boolean = false
Returns Generator<any, boolean, unknown>
clearTelemetry
Returns Promise<void>
flushTelemetry
Parameters
includeEndSession: boolean = false
Returns Promise<void>
getDb
Returns Promise<IDBPDatabase<TelemetryDb>>
optIn
Parameters
mode: TelemetryMode
Returns Promise<void>
optOut
Returns Promise<void>