コード例 #1
0
 /// <summary>
 /// Check if the retrieve last known location is still consider fresh and but ignore the accurate.
 /// </summary>
 private bool IsLastKnownLocationFresh()
 {
     return(LastKnownLocation != null &&
            LastKnownLocation.IsFresh(TargetFreshness));
 }
コード例 #2
0
 /// <summary>
 /// Check if the retrieve last known location is still consider fresh and accurate.
 /// </summary>
 private bool IsLastKnownLocationFreshAndAccurate()
 {
     return(LastKnownLocation != null &&
            LastKnownLocation.IsFresh(TargetFreshness) &&
            LastKnownLocation.IsAccurate(TargetAccuracy));
 }