An heir apparent was the individual who was next in line for a throne or title.
In 2268, after dismissing the possibility of making James T. Kirk a Human sacrifice, Lord Garth suggested the title of crown prince, which would also make him the heir apparent. Seeing no objections from the captain, Garth declared him thus. (TOS: "Whom Gods Destroy")