Version: 2022.3
LanguageEnglish
  • C#

PlayerSettings.WSA.Declarations.protocolName

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public static string protocolName;

Description

A URI scheme to register the application as a default handler for.

Windows uses URI schemes to launch the application when the user clicks hyperlinks that match the URI scheme.
If you register the application as a URI scheme handler, then it also handles URI activation events.
In the Editor, Unity displays this under File and Protocol Associations in UWP Player Settings. For information on Windows URI activation, see Microsoft's documentation.