All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.malinskiy.marathon.execution.device.DeviceEvent.kt Maven / Gradle / Ivy

There is a newer version: 0.9.1
Show newest version
package com.malinskiy.marathon.execution.device

import com.malinskiy.marathon.test.TestBatch
import kotlinx.coroutines.CompletableDeferred

sealed class DeviceEvent {
    data class Execute(val batch: TestBatch) : DeviceEvent()
    object Complete : DeviceEvent()
    object Initialize : DeviceEvent()
    object Terminate : DeviceEvent()
    object WakeUp : DeviceEvent()
    data class GetDeviceState(val deferred: CompletableDeferred) : DeviceEvent()

    override fun toString(): String = "DeviceEvent.${this::class.java.simpleName}"
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy