| 1 |
# activity_recognition |
| 2 |
|
| 3 |
This service enables activity recognition (whether user is walking, running, cycling etc.) in _Castle Game Engine_ applications on iOS. |
| 4 |
|
| 5 |
## Manifest |
| 6 |
|
| 7 |
Request this service in link:https://castle-engine.io/project_manifest[CastleEngineManifest.xml] like this: |
| 8 |
|
| 9 |
[source,xml] |
| 10 |
---- |
| 11 |
<?xml version="1.0" encoding="utf-8"?> |
| 12 |
<project name="..." game_units="..."> |
| 13 |
<ios> |
| 14 |
<services> |
| 15 |
<service name="activity_recognition"> |
| 16 |
<!-- provide here a reason for user *why* do you need this permission --> |
| 17 |
<parameter key="description" value="This application wants to access your motion." /> |
| 18 |
</service> |
| 19 |
</services> |
| 20 |
</ios> |
| 21 |
</project> |
| 22 |
---- |