Add an accessor for the current activity type and write the simplest possible test.

This commit is contained in:
Charlie Hess 2016-05-03 15:51:31 -07:00
parent 42768bcc2b
commit 12764a66ed
6 changed files with 29 additions and 9 deletions

View file

@ -510,6 +510,10 @@ Currently only string data is supported.
Creates an `NSUserActivity` and sets it as the current activity. The activity
is eligible for [handoff](https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Handoff/HandoffFundamentals/HandoffFundamentals.html) to another device afterward.
### `app.getCurrentActivityType()` _OS X_
Returns the type of the currently running activity.
### `app.setAppUserModelId(id)` _Windows_
* `id` String