Flashcard

open class Flashcard: Any

Base class for the flashcards. It manages id and type.

Fields

Name Description
var cardId: Long?

The Id of the flashcard. If null than the database will generate one on insert.

var type: Int

The type of the flashcard. 0 is the only type available at the moment

Constructors

<init>

constructor(cardId: Long?, type: Int)

Base class for the flashcards. It manages id and type.

Parameters

Name Description
cardId: Long?

The Id of the flashcard. If null than the database will generate one on insert.

type: Int

The type of the flashcard. 0 is the only type available at the moment