CachedDevice

class CachedDevice<T : IDevice<T, R>, R : Region<T, R>>(val device: IDevice<T, R>) : IDevice<CachedDevice<T, R>, CachedRegion<T, R>>

Cached device, this variant of device is just used to wrap the device of a CachedRegion, getting the list of screens will return an empty list.

Constructors

Link copied to clipboard
fun <T : IDevice<T, R>, R : Region<T, R>> CachedDevice(device: IDevice<T, R>)

Properties

Link copied to clipboard
val device: IDevice<T, R>
Link copied to clipboard
open override val input: IInput

The inputs that belong to this screen

Link copied to clipboard
open override val screens: List<CachedRegion<T, R>>

The list of screens that belong to this device, the first screen in the list is the main screen.