Class: Toybox.UserProfile.UserActivity

Overview

A class for storing user activity information.

Since:

API Level 3.3.0

Instance Member Summary collapse

Instance Attribute Details

var distance as Lang.Number or Null

Distance covered by the activity in meters

Since:

API Level 3.3.0

Returns:

var duration as Time.Duration or Null

Duration of the activity

Since:

API Level 3.3.0

Returns:

var startTime as Time.Moment or Null

Start time of the activity

Since:

API Level 3.3.0

Returns:

var type as Activity.Sport or Null

Sport type of the activity.

Since:

API Level 3.3.0

Returns:


Generated Jun 6, 2024 10:31:54 AM