Pvt

class Pvt(numberOfStimulus: Int)

Constructors

Pvt
Link copied to clipboard
fun Pvt(numberOfStimulus: Int)

Types

Action
Link copied to clipboard
sealed class Action
Companion
Link copied to clipboard
object Companion
PvtListener
Link copied to clipboard
interface PvtListener
PvtResult
Link copied to clipboard
data class PvtResult(testNumber: Int, timestamp: Long, interval: Long, reactionDelay: Long)
PvtState
Link copied to clipboard
interface PvtState

Functions

cancel
Link copied to clipboard
fun cancel()
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
handleActionDownTouchEvent
Link copied to clipboard
fun handleActionDownTouchEvent()
hashCode
Link copied to clipboard
open fun hashCode(): Int
restart
Link copied to clipboard
fun restart()
Restarts the PVT, can be called during any test state
setListener
Link copied to clipboard
fun setListener(onStartCountdown: () -> Unit = {}, onCountdownUpdate: (millisElapsed: Long) -> Unit = {}, onFinishCountdown: () -> Unit = {}, onIntervalShowing: () -> Unit = {}, onStimulusShowing: () -> Unit = {}, onInvalidReaction: () -> Unit = {}, onReactionDelayUpdate: (millisElapsed: Long) -> Unit = {}, onStimulusHidden: () -> Unit = {}, onCompleteTest: () -> Unit = {}, onResults: (resultsJson: String) -> Unit = {})
toString
Link copied to clipboard
open fun toString(): String