Unit CastleActivityRecognition

Description

Activity recognition (detects user stationary, walking, running and so on) (TActivityRecognition).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TActivityRecognition Activity recognition (detects user stationary, walking, running and so on) (TActivityRecognition).

Functions and Procedures

function ActivityToStr(const Value: TUserActivity): String;
function StrToActivity(const Value: String): TUserActivity;
function ActivityConfidenceToStr(const Value: TUserActivityConfidence): String;
function StrToActivityConfidence(const Value: String): TUserActivityConfidence;
function PossibleActivitiesToStr(const Value: TUserActivities; const Delimiter: String): String;

Types

TUserActivity = (...);
TUserActivities = set of TUserActivity;
TUserActivityConfidence = (...);

Description

Functions and Procedures

function ActivityToStr(const Value: TUserActivity): String;

Convert between lowercase activity name and TUserActivity type.

function StrToActivity(const Value: String): TUserActivity;

Convert between lowercase activity name and TUserActivity type.

Exceptions raised
Exception
In case of invalid String.
function ActivityConfidenceToStr(const Value: TUserActivityConfidence): String;

Convert between lowercase activity confidence name and TUserActivityConfidence type.

function StrToActivityConfidence(const Value: String): TUserActivityConfidence;

Convert between lowercase activity confidence name and TUserActivityConfidence type.

Exceptions raised
Exception
In case of invalid String.
function PossibleActivitiesToStr(const Value: TUserActivities; const Delimiter: String): String;

Convert TUserActivities to a String, using Delimiter to separate items.

Types

TUserActivity = (...);

Current user activity, used by TActivityRecognition.Activity. See https://developer.apple.com/documentation/coremotion/cmmotionactivity for the underlying iOS docs.

Values
  • uaStationary
  • uaWalking
  • uaRunning
  • uaAutomotive
  • uaCycling
  • uaUnknown
TUserActivities = set of TUserActivity;
 
TUserActivityConfidence = (...);

Current user activity, used by TActivityRecognition.ActivityConfidence. See https://developer.apple.com/documentation/coremotion/cmmotionactivity for the underlying iOS docs.

Values
  • uacLow
  • uacMedium
  • uacHigh

Generated by PasDoc 0.16.0.