예제 #1
0
        public void OnProgressChange(Location p0, RouteProgress p1)
        {
            bool isCurrentStepArrival = p1.CurrentLegProgress().CurrentStep().Maneuver().Type()
                                        .Contains(NavigationConstants.StepManeuverTypeArrive);

            if (isCurrentStepArrival && !paellaPickedUp)
            {
                UpdateUiDelivering();
            }
            else if (isCurrentStepArrival && paellaPickedUp)
            {
                UpdateUiDelivered();
            }
        }
예제 #2
0
 public override string BuildInstruction(RouteProgress routeProgress)
 {
     return(routeProgress.CurrentLegProgress().UpComingStep().Maneuver().Instruction());
 }