Class TActivityRecognition
Unit
Declaration
type TActivityRecognition = class(TComponent)
Description
Activity recognition (detects user stationary, walking, running and so on) (TActivityRecognition).
Usage:
Include the necessary integration code in your Android / iOS project.
For iOS, add the "activity_regonition" service inside CastleEngineManifest.xml. See https://castle-engine.io/ios-Services and https://github.com/castle-engine/castle-engine/blob/master/tools/build-tool/data/ios/services/activity_recognition/README.md .
Build your project with the Castle Game Engine build tool: https://castle-engine.io/build_tool .
Create an instance of this class. Only a single instance of this class is allowed.
Call
TActivityRecognition.Start.Read
TActivityRecognition.Activity,TActivityRecognition.PossibleActivitiesat any point. You can assign a callback toTActivityRecognition.OnChangeto be notified about changes.
Source: services/castleactivityrecognition.pas (line 74).
Hierarchy
- TObject
- TPersistent
- TComponent
- TActivityRecognition
Generated by PasDoc 0.17.0.snapshot.