//scanning/com.pixelnetica.scanning/ScanningSdkLibrary
ScanningSdkLibrary
[androidJvm]
object ScanningSdkLibrary : Tag
Scanning SDK root
Types
Name | Summary |
---|---|
Feature | [androidJvm] enum Feature : Enum<ScanningSdkLibrary.Feature> |
Helper | [androidJvm] class Helper : ScanningSdkLibrary.Instance Make intermediate object to ensure library loading |
Properties
Name | Summary |
---|---|
COLOR_HINT | [androidJvm] const val COLOR_HINT: String ColorHint ordinal value |
DEVICE | [androidJvm] const val DEVICE: String Device code, @see Device |
gitHash | [androidJvm] const val gitHash: <Error class: unknown class> |
ISO | [androidJvm] const val ISO: String Camera ISO value |
SHADOWS | [androidJvm] const val SHADOWS: String Shadows: integer value 0 or 1 |
sharedGitHash | [androidJvm] const val sharedGitHash: <Error class: unknown class> |
Functions
Name | Summary |
---|---|
isLicenceValid | [androidJvm] @JvmStatic @JvmOverloads fun isLicenceValid(flags: EnumSet<ScanningSdkLibrary.Feature> = Feature.NONE): Boolean |
load | [androidJvm] @JvmStatic fun load(application: Application): Boolean Initialize library by Application instance. License key read from assets "pixelnetica/scanning/(file)" (file) must be one of [androidJvm] @JvmStatic fun load(application: Application, @StringResresId: Int) Using resources to read license key [androidJvm] @JvmStatic fun load(application: Application, licenseKey: String) Initialize library by Application instance. |
retrievePicture | [androidJvm] @JvmStatic fun Get picture previously stashed by stashPicture |
stashPicture | [androidJvm] @JvmStatic fun Stash picture to specified file [androidJvm] @JvmStatic fun Common way to store picture with internal data |
unpackLanguageFile | [androidJvm] @JvmStatic fun unpackLanguageFile(languageFile: File, languagesDir: File): String Unpack the specified language file to the output folder. |