CoreDataManager

class CoreDataManager(context: Context) : CoroutineScope(source)

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
suspend fun countEventsByNameInPeriod(name: String, startDate: Date, endDate: Date): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun save(triggerRuleOccurrence: TriggerRuleOccurrence, completion: (ManagedTriggerRuleOccurrence) -> Unit? = null)
Link copied to clipboard
fun saveEventData(eventData: EventData, completion: (ManagedEventData) -> Unit? = null)