package Ġcom . ere z studio . motion monitor . db Ċ Ċ import Ġandroidx . lifecycle . LiveData Ċ import Ġandroidx . room .* ĊĊ Ċ @ Dao Ċ interface ĠMotion Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġsuspend Ġfun Ġinsert Coordinates ( motion : ĠMotion ): ĠLong ĊĊĠĠĠ Ġ@ Delete ĊĠĠĠ Ġsuspend Ġfun Ġdelete Coordinate ( motion : ĠMotion ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġmotion _ table ") ĊĠĠĠ Ġfun Ġget Saved Coordinates (): ĠLive Data < List < Motion >> ĊĊ Ċ }