package Ġcz . covid 1 9 cz . erous ka . ui . permissions Ċ Ċ import Ġandroid . content . Context Ċ import Ġcz . covid 1 9 cz . erous ka . ext . is Bt Enabled Ċ import Ġcz . covid 1 9 cz . erous ka . ui . base . Base VM Ċ import Ġcz . covid 1 9 cz . erous ka . ui . permissions . on boarding . event . Permissions On boarding Ċ import Ġcz . covid 1 9 cz . erous ka . utils . Device Utils Ċ Ċ abstract Ġclass ĠBase Permissions VM ( ĊĠĠĠ Ġprotected Ġval Ġdevice Utils : ĠDevice Utils Ċ ) Ġ: ĠBase VM () Ġ{ ĊĊĠĠĠ Ġfun Ġon Bluetooth Enabled () Ġ{ ĊĠĠĠĠĠĠĠ Ġon Location Permission Granted () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġon Location Permission Granted () Ġ{ ĊĠĠĠĠĠĠĠ Ġgo To Next Screen () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġenable Bluetooth () Ġ{ ĊĠĠĠĠĠĠĠ Ġpublish ( Permissions On boarding ( Permissions On boarding . Command . ENABLE _ BT )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġenable Exposure Notification () Ġ{ ĊĠĠĠĠĠĠĠ Ġpublish ( Permissions On boarding ( Permissions On boarding . Command . ENABLE _ EX POS URE _ NOTIFICATION )) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġcheck State () Ġ{ ĊĠĠĠĠĠĠĠ Ġif Ġ( device Utils . is Bt Enabled () Ġ&& Ġcheck Exposure Notification State ()) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġgo To Next Screen () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġcheck Exposure Notification State (): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfalse ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġabstract Ġfun Ġgo To Next Screen () Ċ }