'Launch passprnt in Delphi where example code in C#

I develop applications with Delphi and working on a program that is integrating with a Star receipt printer. On page...

https://www.star-m.jp/products/s_print/sdk/passprnt/manual/uwp/en/data_specifications.html#url

there is code

var uri = new Uri(urlScheme);
var options = new LauncherOptions()
{
   TreatAsUntrusted = false
};

// Launch the URI.
bool success = await Launcher.LaunchUriAsync(uri, options, valueSet);
if (success)
{
}
else
{
}

What would be the Delphi equivalent for the above? Any assistance is greatly appreciated.

I am using Delphi 10.4.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source