# Type Alias: OverlayName

[Mobile Document Scanner API Reference](../index.md) / OverlayName

# Type Alias: OverlayName

> **OverlayName** = `"trialNotice"` \| `"licenseError"` \| `"fileError"` \| `"pageError"` \| `"finishError"` \| `"pageLimitNotice"` \| `"discardConfirmation"`

Defined in: [src/ui/overlay.ts:10](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/ui/overlay.ts#L10)

The name of a dialog that the document scanner shows over a screen. A minor
release may add a name, so a switch on the name needs a default branch.
