Ametista Validator

object AmetistaValidator : InputsValidator

The InputValidator class is useful to validate the inputs

Author

N7ghtm4r3 - Tecknobit

Properties

Link copied to clipboard
const val APP_DESCRIPTION_MAX_LENGTH: Int = 65535

APP_DESCRIPTION_MAX_LENGTH the max valid length for the application description

Link copied to clipboard
const val APP_NAME_MAX_LENGTH: Int = 30

APP_NAME_MAX_LENGTH the max valid length for the application name

Link copied to clipboard

DEFAULT_VIEWER_PASSWORD the default password of a viewer just inserted

Link copied to clipboard

INVALID_ADMIN_CODE error message used when the admin code inserted is not valid

Link copied to clipboard

WRONG_APP_DESCRIPTION_MESSAGE error message used when the application description inserted is not valid

Link copied to clipboard

WRONG_APP_NAME_MESSAGE error message used when the application name inserted is not valid

Functions

Link copied to clipboard

Method to validate an application description

Link copied to clipboard

Method to validate an application name

Link copied to clipboard

Method to validate a new password