/* Ċ Ġ* ĠCreated Ġby ĠMu ham mad ĠU ts man Ġon Ġ 1 4 / 1 2 / 2 0 Ġ 1 : 0 9 ĠAM Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 2 0 Ġ. ĠAll Ġrights Ġreserved . Ċ Ġ*/ Ċ Ċ package Ġcom . uts man . data . repository . database Ċ Ċ import Ġcom . uts man . data . model . dto . entity . Current Download Entity Ċ import Ġcom . uts man . data . model . dto . worker . Worker Apps Map Ċ import Ġkotlinx . coroutines . Coroutine Scope Ċ import Ġkotlinx . coroutines . Job Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ interface ĠDown loaded Repository Ġ{ ĊĠĠĠ Ġsuspend Ġfun ĠgetCurrent Apps Suspend Flow (): ĠFlow < List < Current Download Entity ? >> ĊĠĠĠ Ġfun ĠgetCurrent Apps Flow (): ĠFlow < List < Current Download Entity ? >> ĊĠĠĠ Ġsuspend Ġfun ĠgetCurrent App ( packageName : ĠString ?): ĠCurrent Download Entity ? ĊĠĠĠ Ġsuspend Ġfun Ġmark Is Run ( packageName : ĠString ?, Ġdownload Id : ĠLong ?) ĊĠĠĠ Ġsuspend Ġfun Ġcheck Is Run ( packageName : ĠString ?): ĠBoolean ĊĠĠĠ Ġsuspend Ġfun Ġmark Is Complete ( packageName : ĠString ?, Ġdownload Id : ĠLong ?) ĊĠĠĠ Ġsuspend Ġfun Ġget Download Id ( packageName : ĠString ?): ĠLong ? ĊĠĠĠ Ġsuspend Ġfun Ġget UUID Work Manager ( packageName : ĠString ?): ĠString ? ĊĠĠĠ Ġsuspend Ġfun Ġsave App ( worker Apps Map : ĠWorker Apps Map ) ĊĠĠĠ Ġsuspend Ġfun Ġremove App ( packageName : ĠString ?) ĊĠĠĠ Ġsuspend Ġfun Ġremove All () Ċ }