Class CachedPositionProvider

All Implemented Interfaces:
InfoProvider, IPositionProvider

public class CachedPositionProvider extends PositionProvider
A PositionPositionProvider which may be providing a cached position from a sensor.

The provider contains info on whether or not the position being provided was cached, so that the receiver knows whether or not any checks previously performed for the position are likely to still be valid or not. Created on 14/01/2019

  • Constructor Details

    • CachedPositionProvider

      public CachedPositionProvider()
  • Method Details

    • setIsFromCache

      public void setIsFromCache(boolean status)
    • isFromCache

      public boolean isFromCache()