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.
LaunchUriAsync
: "Starts the default app associated with the URI scheme name for the specified URI, using the specified options and input data." First step to finding equivalent code: search for "start default app associated with uri scheme delphi"