Australia's indigenous Barngarla people have won a campaign, lasting nearly 20 years, for the law to recognise their right to traditional lands.