Skip to content

Commit eb7a892

Browse files
committed
update OpenUrl method summary
1 parent f4d6ef3 commit eb7a892

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,15 @@ public interface IPublicAPI
319319
public void OpenWebUrl(string url, bool? inPrivate = null);
320320

321321
/// <summary>
322-
/// Opens the URL with the given Uri object.
322+
/// Opens the URL with the given Uri object in browser if scheme is Http or Https.
323+
/// If the URL is a local file, it will instead be opened with the default application for that file type.
323324
/// The browser and mode used is based on what's configured in Flow's default browser settings.
324325
/// </summary>
325326
public void OpenUrl(Uri url, bool? inPrivate = null);
326327

327328
/// <summary>
328-
/// Opens the URL with the given string.
329+
/// Opens the URL with the given string in browser if scheme is Http or Https.
330+
/// If the URL is a local file, it will instead be opened with the default application for that file type.
329331
/// The browser and mode used is based on what's configured in Flow's default browser settings.
330332
/// Non-C# plugins should use this method.
331333
/// </summary>

0 commit comments

Comments
 (0)