Interface DownloadService.DownloadSizeValidation

Enclosing interface:
DownloadService

public static interface DownloadService.DownloadSizeValidation

Represents the result of validating a download.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Answer whether the download is permitted.
    boolean
    Answer whether the passed paths represent a single asset download.
  • Method Details

    • canDownload

      boolean canDownload()
      Answer whether the download is permitted.
      Returns:
      Whether the download is within acceptable size limits.
    • isSingleAssetDownload

      boolean isSingleAssetDownload()
      Answer whether the passed paths represent a single asset download.
      Returns:
      Whether the download consists of a single asset.