capacitor-plugin-scanbot-barcode-scanner-sdk
    Preparing search index...

    Class LicenseInfo

    Information about the SDK license.

    Index

    Constructors

    • Parameters

      • Optionalsource: DeepPartial<LicenseInfo>

      Returns LicenseInfo

    Properties

    deviceDeregistationErrors: DeviceDeregistrationError[]

    List of errors that occurred during device deregistration. If for some device deregistration completed successfully, it will not be listed here. For each device at most one entry will be present.

    devices: number | null

    Number of devices the license is valid for, if the license is floating.

    errorMessage: string

    Additional error message in case of a license error.

    expirationDateString: string

    Expiration date of the license or trial period in ISO 8601 date-time format.

    expirationTimestamp: number

    Expiration timestamp of the license or trial period in seconds since the UNIX epoch.

    isValid: boolean

    True if the license status corresponds to a valid license.

    license: string

    The currently active license. May be different from the license used to initialize the SDK if the online license check has completed and the server has sent an updated license.

    licenseStatusMessage: string

    Message describing the license status.

    nextOnlineLicenseCheckInMs: number

    Time in milliseconds until the next online license check will be performed. -1 if no online license check is scheduled.

    onlineLicenseCheckInProgress: boolean

    True if an online license check is in progress.

    License status.

    Methods

    • Parameters

      Returns {
          deviceDeregistationErrors?: {
              deviceId?: number;
              errorMessage?: string;
              serialize?: (
                  config?: ToJsonConfiguration,
              ) => { readonly deviceId?: number | undefined; readonly errorMessage?: string | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
          }[];
          devices?: number
          | null;
          errorMessage?: string;
          expirationDateString?: string;
          expirationTimestamp?: number;
          isValid?: boolean;
          license?: string;
          licenseStatusMessage?: string;
          nextOnlineLicenseCheckInMs?: number;
          onlineLicenseCheckInProgress?: boolean;
          serialize?: (
              config?: ToJsonConfiguration,
          ) => { readonly status?: LicenseStatus | undefined; readonly isValid?: boolean | undefined; readonly licenseStatusMessage?: string | undefined; readonly expirationTimestamp?: number | undefined; ... 7 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
          status?: LicenseStatus;
      }

      • Optional ReadonlydeviceDeregistationErrors?: {
            deviceId?: number;
            errorMessage?: string;
            serialize?: (
                config?: ToJsonConfiguration,
            ) => { readonly deviceId?: number | undefined; readonly errorMessage?: string | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
        }[]

        List of errors that occurred during device deregistration. If for some device deregistration completed successfully, it will not be listed here. For each device at most one entry will be present.

      • Optional Readonlydevices?: number | null

        Number of devices the license is valid for, if the license is floating.

      • Optional ReadonlyerrorMessage?: string

        Additional error message in case of a license error.

      • Optional ReadonlyexpirationDateString?: string

        Expiration date of the license or trial period in ISO 8601 date-time format.

      • Optional ReadonlyexpirationTimestamp?: number

        Expiration timestamp of the license or trial period in seconds since the UNIX epoch.

      • Optional ReadonlyisValid?: boolean

        True if the license status corresponds to a valid license.

      • Optional Readonlylicense?: string

        The currently active license. May be different from the license used to initialize the SDK if the online license check has completed and the server has sent an updated license.

      • Optional ReadonlylicenseStatusMessage?: string

        Message describing the license status.

      • Optional ReadonlynextOnlineLicenseCheckInMs?: number

        Time in milliseconds until the next online license check will be performed. -1 if no online license check is scheduled.

      • Optional ReadonlyonlineLicenseCheckInProgress?: boolean

        True if an online license check is in progress.

      • Optionalserialize?: (
            config?: ToJsonConfiguration,
        ) => { readonly status?: LicenseStatus | undefined; readonly isValid?: boolean | undefined; readonly licenseStatusMessage?: string | undefined; readonly expirationTimestamp?: number | undefined; ... 7 more ...; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }
      • Optional Readonlystatus?: LicenseStatus

        License status.