Created
September 15, 2021 09:43
-
-
Save Priyansh-Kedia/7803e3d6aa7ace15462fc4ac26177b1d to your computer and use it in GitHub Desktop.
Class for UploadFileStatus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sealed class UploadFileStatus{ | |
data class FileStatus(val status: Int): UploadFileStatus() | |
data class Error(val exception: Throwable): UploadFileStatus() | |
data class Complete(val s3Url: String): UploadFileStatus() | |
data class Start(val start: Boolean): UploadFileStatus() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment