class VoiceInstructionMilestone extends Milestone {

  @Override
  public Instruction getInstruction() {
    return new Instruction() {
      @Override
      public String buildInstruction(RouteProgress routeProgress) {
        if (instructions == null) {
          return routeProgress.currentLegProgress().currentStep().name();
        }
        return instructions.announcement();
      }
    };
  }

    VoiceInstructionMilestone(Builder builder);

}