1 package expo.modules.updates.statemachine 2 3 /** 4 All the possible types of events that can be sent to the machine. Each event 5 will cause the machine to transition to a new state. 6 */ 7 enum class UpdatesStateEventType(val type: String) { 8 Check("check"), 9 CheckCompleteUnavailable("checkCompleteUnavailable"), 10 CheckCompleteAvailable("checkCompleteAvailable"), 11 CheckError("checkError"), 12 Download("download"), 13 DownloadComplete("downloadComplete"), 14 DownloadError("downloadError"), 15 Restart("restart") 16 } 17