|
1 |
| ---- |
2 |
| -title: Microsoft Copilot hardware key providers |
3 |
| -description: Learn how to register as an app that can be selected as the launch app for the Microsoft Copilot hardware key. |
4 |
| -ms.topic: article |
5 |
| -ms.date: 10/25/2024 |
6 |
| -ms.localizationpriority: medium |
7 |
| ---- |
8 |
| - |
9 |
| - |
10 |
| - |
11 |
| -# Microsoft Copilot hardware key providers |
12 |
| - |
13 |
| -Starting with Windows Build 22621, apps can register to be included in the picker UI that allows users to select the app that is launched when the Microsoft Copilot hardware key or the Windows key + C is pressed. |
14 |
| - |
15 |
| -> [!NOTE] |
16 |
| -> It is recommended that apps that register to be a Microsoft Copilot hardware key provider be implemented as single-window apps. |
17 |
| -
|
18 |
| -## Microsoft Copilot hardware key app extension |
19 |
| - |
20 |
| -An app must be packaged in order to register as a Microsoft Copilot hardware key provider. For information on app packaging, see [An overview of Package Identity in Windows app](/windows/apps/desktop/modernize/package-identity-overview). The app package manifest file, `Package.appxmanifest`, supports many different extensions and features for Windows apps. The app package manifest format is defined by a set of schemas that are documented in the [Package manifest schema reference](/uwp/schemas/appxpackage/uapmanifestschema/schema-root). Microsoft Copilot hardware key providers declare their registration information within the [uap3:AppExtension](/uwp/schemas/appxpackage/uapmanifestschema/element-uap3-appextension-manual). The **Name** attribute of the extension must be set to "com.microsoft.windows.copilotkeyprovider". |
21 |
| - |
22 |
| - |
23 |
| -```xml |
24 |
| -<Package |
25 |
| -... |
26 |
| - |
27 |
| - xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" |
28 |
| -...> |
29 |
| - <Applications> |
30 |
| - <Application...> |
31 |
| - ... |
32 |
| - <Extensions> |
33 |
| - <uap3:Extension Category="windows.appExtension"> |
34 |
| - <uap3:AppExtension Name="com.microsoft.windows.copilotkeyprovider" |
35 |
| - Id="MyAppId" |
36 |
| - DisplayName="App display name" |
37 |
| - Description="App description" |
38 |
| - PublicFolder="Public" /> |
39 |
| - </uap3:Extension> |
40 |
| - </Extensions> |
41 |
| - ... |
42 |
| - </Application> |
43 |
| - </Applications> |
44 |
| - ... |
45 |
| -</Package> |
46 |
| -``` |
47 |
| - |
48 |
| -The following table *uap3:AppExtension* describes the attributes of the **uap3:AppExtension** element. |
49 |
| - |
50 |
| -| Attribute | Description | Required | |
51 |
| -|-----------|-------------|----------| |
52 |
| -| Id | The app-defined identifier for the app. | Yes | |
53 |
| -| DisplayName | The app name displayed in the Windows Copilot hardware button picker UI. | Yes | |
54 |
| -| Description | The app description displayed in the Windows Copilot hardware button picker UI. | Yes | |
55 |
| -| PublicFolder| The folder that the instance declares as the location where a host can have read access to files through a broker. | Yes | |
56 |
| - |
57 |
| - |
58 |
| -## Sign your Windows Copilot hardware key provider |
59 |
| - |
60 |
| -Provider apps must be signed in order to be enabled as a target of the Microsoft Copilot hardware key. For information on packaging and signing your app, see [Package a desktop or UWP app in Visual Studio](/windows/msix/package/packaging-uwp-apps). |
| 1 | +--- |
| 2 | +title: Microsoft Copilot hardware key providers |
| 3 | +description: Learn how to register as an app that can be selected as the launch app for the Microsoft Copilot hardware key. |
| 4 | +ms.topic: article |
| 5 | +ms.date: 10/25/2024 |
| 6 | +ms.localizationpriority: medium |
| 7 | +--- |
| 8 | + |
| 9 | +# Microsoft Copilot hardware key providers |
| 10 | + |
| 11 | +Starting with Windows Build 22621, apps can register to be included in the picker UI that allows users to select the app that is launched when the Microsoft Copilot hardware key or the Windows key + C is pressed. |
| 12 | + |
| 13 | +> [!NOTE] |
| 14 | +> It is recommended that apps that register to be a Microsoft Copilot hardware key provider be implemented as single-window apps. |
| 15 | +
|
| 16 | +## Microsoft Copilot hardware key app extension |
| 17 | + |
| 18 | +An app must be packaged in order to register as a Microsoft Copilot hardware key provider. For information on app packaging, see [An overview of Package Identity in Windows app](/windows/apps/desktop/modernize/package-identity-overview). The app package manifest file, `Package.appxmanifest`, supports many different extensions and features for Windows apps. The app package manifest format is defined by a set of schemas that are documented in the [Package manifest schema reference](/uwp/schemas/appxpackage/uapmanifestschema/schema-root). Microsoft Copilot hardware key providers declare their registration information within the [uap3:AppExtension](/uwp/schemas/appxpackage/uapmanifestschema/element-uap3-appextension-manual). The **Name** attribute of the extension must be set to "com.microsoft.windows.copilotkeyprovider". |
| 19 | + |
| 20 | +```xml |
| 21 | +<Package |
| 22 | +... |
| 23 | + |
| 24 | + xmlns:uap3="http://schemas.microsoft.com/appx/manifest/uap/windows10/3" |
| 25 | +...> |
| 26 | + <Applications> |
| 27 | + <Application...> |
| 28 | + ... |
| 29 | + <Extensions> |
| 30 | + <uap3:Extension Category="windows.appExtension"> |
| 31 | + <uap3:AppExtension Name="com.microsoft.windows.copilotkeyprovider" |
| 32 | + Id="MyAppId" |
| 33 | + DisplayName="App display name" |
| 34 | + Description="App description" |
| 35 | + PublicFolder="Public" /> |
| 36 | + </uap3:Extension> |
| 37 | + </Extensions> |
| 38 | + ... |
| 39 | + </Application> |
| 40 | + </Applications> |
| 41 | + ... |
| 42 | +</Package> |
| 43 | +``` |
| 44 | + |
| 45 | +The following table *uap3:AppExtension* describes the attributes of the **uap3:AppExtension** element. |
| 46 | + |
| 47 | +| Attribute | Description | Required | |
| 48 | +|-----------|-------------|----------| |
| 49 | +| Id | The app-defined identifier for the app. | Yes | |
| 50 | +| DisplayName | The app name displayed in the Windows Copilot hardware button picker UI. | Yes | |
| 51 | +| Description | The app description displayed in the Windows Copilot hardware button picker UI. | Yes | |
| 52 | +| PublicFolder| The folder that the instance declares as the location where a host can have read access to files through a broker. | Yes | |
| 53 | + |
| 54 | +## Sign your Windows Copilot hardware key provider |
| 55 | + |
| 56 | +Provider apps must be signed in order to be enabled as a target of the Microsoft Copilot hardware key. For information on packaging and signing your app, see [Package a desktop or UWP app in Visual Studio](/windows/msix/package/packaging-uwp-apps). |
0 commit comments