package Ġorg . covid watch . android . data . ex posure information Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġorg . covid watch . android . data . Base Dao Ċ import Ġorg . covid watch . android . data . model . Cov id Exposure Information Ċ Ċ @ Dao Ċ interface ĠEx posure Information Dao Ġ: ĠBase Dao < Cov id Exposure Information > Ġ{ ĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġsave Exposure Information ( ex posure Information : ĠList < Cov id Exposure Information >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġexposure _ information ") ĊĠĠĠ Ġfun Ġexposure Information (): ĠLive Data < List < Cov id Exposure Information >> ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġexposure _ information ") ĊĠĠĠ Ġsuspend Ġfun Ġex pos ures (): ĠList < Cov id Exposure Information > ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġexposure _ information ") ĊĠĠĠ Ġsuspend Ġfun Ġreset () ĊĊĠĠĠ Ġ@ Query (" DELETE ĠFROM Ġexposure _ information ĠWHERE Ġdate Ġ< Ġ: date ") ĊĠĠĠ Ġsuspend Ġfun Ġdelete Ol der Than ( date : ĠLong ) Ċ }