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 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 Apr 17, 2024 9:40:38 AM