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 Lang.Number or Null

Duration of the activity in seconds

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 Lang.Number or Null

Sport type of the activity.

Since:

API Level 3.3.0

Returns:

  • Lang.Number

    Toybox::Activity::Sport_* enum or null


Generated Sep 25, 2023 12:31:46 PM