package Ġcom . mapbox . navigation . core . telemetry Ċ Ċ import Ġandroid . location . Location Ċ import Ġcom . mapbox . navigation . core . trip . session . Location Observer Ċ Ċ internal Ġinterface ĠLoc ations Collector Ġ: ĠLocation Observer Ġ{ ĊĠĠĠ Ġval Ġlast Location : ĠLocation ? ĊĊĠĠĠ Ġfun Ġflush Buffers () ĊĠĠĠ Ġfun Ġflush Buffer For ( locations Collector Listener : ĠLoc ations Collector Listener ) ĊĠĠĠ Ġfun Ġcollect Locations ( locations Collector Listener : ĠLoc ations Collector Listener ) ĊĊĠĠĠ Ġfun Ġinterface ĠLoc ations Collector Listener Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġon Buffer Full ( pre Event Locations : ĠList < Location >, Ġpost Event Locations : ĠList < Location >) ĊĠĠĠ Ġ} Ċ } Ċ