DemoDataSerializer

internal class DemoDataSerializer(source)

Coordinates DemoDataSerializer behavior in the SDAI demo layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Exposes the availableIndexes value used by the SDAI demo layer.

Link copied to clipboard
private val mutex: Mutex

Exposes the mutex value used by the SDAI demo layer.

Link copied to clipboard
private var previousIndex: Int?

Exposes the previousIndex value used by the SDAI demo layer.

Functions

Link copied to clipboard
suspend fun nextDemoAsset(): String

Executes the nextDemoAsset step in the SDAI demo layer.

Link copied to clipboard
fun readDemoAssets(): ERROR CLASS: Unresolved name: images

Loads SDAI data through readDemoAssets.

Link copied to clipboard

Executes the shuffledIndexes step in the SDAI demo layer.