|
1 | 1 | # Web Share API: Native Integration Survey
|
2 | 2 |
|
3 |
| -**Date**: 2016-06-06 |
| 3 | +**Date**: 2016-06-06 (authored), 2017-06-22 (updated) |
4 | 4 |
|
5 | 5 | This document is an informal and incomplete survey of various operating systems'
|
6 | 6 | sharing systems, for exploring how a user agent might automatically map the
|
@@ -36,27 +36,29 @@ APIs. I would appreciate being informed of any errors.
|
36 | 36 | [UIActivityItemSource](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActivityItemSource_protocol/index.html)
|
37 | 37 | protocol.
|
38 | 38 |
|
39 |
| -## Windows (Universal Windows Platform) |
| 39 | +## macOS |
40 | 40 |
|
41 |
| -* [Universal Windows Platform |
42 |
| - (UWP)](https://msdn.microsoft.com/en-us/windows/uwp/get-started/whats-a-uwp) |
43 |
| - is supported on Windows 10 mobile, desktop, Xbox, etc. |
44 |
| - * UWP APIs are not available to normal Win32 .exe applications. This will only |
45 |
| - be available for user agents that are UWP apps (e.g., Microsoft Edge is, |
46 |
| - Google Chrome isn't). |
47 |
| - * Windows 8, 8.1 have similar share APIs but unclear whether compatible with |
48 |
| - the Windows 10 ones. |
49 |
| -* UWP apps can initiate a "Share contract" to share to another UWP app. UX: |
50 |
| - Shows a modal share target picker on the right hand side of the screen (at |
51 |
| - least on desktop Windows 10). |
| 41 | +* [NSSharingService](https://developer.apple.com/documentation/appkit/nssharingservice) |
| 42 | + allows apps to trigger a share dialog, with a similar API to iOS. |
| 43 | +* Available in macOS 10.8 and up. |
| 44 | + |
| 45 | +## Windows |
| 46 | + |
| 47 | +* Apps can initiate a "Share contract" to share to another Windows app. UX: |
| 48 | + Shows a modal share target picker on the right hand side of the screen. |
52 | 49 | * [Share
|
53 | 50 | API](https://msdn.microsoft.com/en-us/windows/uwp/app-to-app/share-data):
|
54 | 51 | Create a DataRequest object and put data into it (multiple data types can be
|
55 | 52 | placed into the request object). Can optionally negotiate with the receiver
|
56 | 53 | about which data to send (Share API implementations would likely ignore this
|
57 | 54 | and just put all the data from the requester into the object).
|
| 55 | +* Available in Windows 10 and up. |
| 56 | +* Available only to [Universal Windows Platform |
| 57 | + (UWP)](https://msdn.microsoft.com/en-us/windows/uwp/get-started/whats-a-uwp) |
| 58 | + apps. This API is **not** available to normal Win32 .exe applications. This |
| 59 | + will only be available to user agents that are UWP apps (e.g., Microsoft Edge |
| 60 | + is, Google Chrome isn't). |
58 | 61 |
|
59 | 62 | ## Others
|
60 | 63 |
|
61 |
| -* No known native share mechanism on Windows (<=7), Mac, Linux (Desktop), Chrome |
62 |
| - OS. |
| 64 | +* No known native share mechanism on Linux (Desktop), Chrome OS. |
0 commit comments