package Ġorg . rad arc ns . emp atic a ; Ċ Ċ import Ġcom . emp atic a . emp al ink . Emp atic a Device Ċ import Ġcom . emp atic a . emp al ink . config . Emp a Sensor Type Ċ import Ġcom . emp atic a . emp al ink . config . Emp a Session Event Ċ import Ġcom . emp atic a . emp al ink . config . Emp a Status Ċ import Ġcom . emp atic a . emp al ink . delegate . Emp a Data Delegate Ċ import Ġcom . emp atic a . emp al ink . delegate . Emp a Session Manager Delegate Ċ import Ġcom . emp atic a . emp al ink . delegate . Emp a Status Delegate Ċ Ċ class ĠE 4 Delegate ( private Ġval Ġe 4 Service : ĠE 4 Service ) Ġ: ĠEmp a Data Delegate , ĠEmp a Status Delegate , ĠEmp a Session Manager Delegate Ġ{ ĊĠĠĠ Ġprivate Ġval Ġdevice Manager : ĠE 4 Device Manager ? ĊĠĠĠĠĠĠĠĠĠĠĠ Ġget () Ġ= Ġe 4 Service . device Manager ĊĊĠĠĠ Ġoverride Ġfun Ġdid Receive G SR ( gs r : ĠFloat , Ġtimestamp : ĠDouble ): ĠUnit Ġ= Ġdevice Manager ?. did Receive G SR ( gs r , Ġtimestamp ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Receive B VP ( b vp : ĠFloat , Ġtimestamp : ĠDouble ) Ġ= Ġdevice Manager ?. did Receive B VP ( b vp , Ġtimestamp ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Receive IB I ( ib i : ĠFloat , Ġtimestamp : ĠDouble ) Ġ= Ġdevice Manager ?. did Receive IB I ( ib i , Ġtimestamp ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Receive Temperature ( t : ĠFloat , Ġtimestamp : ĠDouble ) Ġ= Ġdevice Manager ?. did Receive Temperature ( t , Ġtimestamp ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Receive Acceleration ( x : ĠInt , Ġy : ĠInt , Ġz : ĠInt , Ġtimestamp : ĠDouble ) Ġ= Ġdevice Manager ?. did Receive Acceleration ( x , Ġy , Ġz , Ġtimestamp ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Receive Battery Level ( level : ĠFloat , Ġtimestamp : ĠDouble ) Ġ= Ġdevice Manager ?. did Receive Battery Level ( level , Ġtimestamp ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Receive Tag ( timestamp : ĠDouble ) Ġ= Ġdevice Manager ?. did Receive Tag ( timestamp ) Ġ?: ĠUnit ĊĊĠĠĠ Ġoverride Ġfun Ġdid Update Status ( status : ĠEmp a Status ) Ġ= Ġdevice Manager ?. did Update Status ( status ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Est ablish Connection () Ġ= Ġdevice Manager ?. did Est ablish Connection () Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Update Sensor Status ( status : ĠInt , Ġtype : ĠEmp a Sensor Type ) Ġ= Ġdevice Manager ?. did Update Sensor Status ( status , Ġtype ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Discover Device ( device : ĠEmp atic a Device , Ġdevice Label : ĠString , Ġr ssi : ĠInt , Ġallowed : ĠBoolean ) Ġ= Ġdevice Manager ?. did Discover Device ( device , Ġdevice Label , Ġr ssi , Ġallowed ) Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Request Enable Bluetooth () Ġ= Ġdevice Manager ?. did Request Enable Bluetooth () Ġ?: ĠUnit ĊĠĠĠ Ġoverride Ġfun Ġdid Update On W rist Status ( status : ĠInt ) Ġ= Ġdevice Manager ?. did Update On W rist Status ( status ) Ġ?: ĠUnit ĊĊĠĠĠ Ġoverride Ġfun Ġdid Update Session Status ( event : ĠEmp a Session Event ?, Ġprogress : ĠFloat ) Ġ= Ġdevice Manager ?. did Update Session Status ( event , Ġprogress ) Ġ?: ĠUnit Ċ } Ċ