Class: Toybox.Activity.ProfileInfo

Overview

The ProfileInfo class contains information about the active profile.

This information can be retrieved with the getProfileInfo() method. Fields in this class may return null so should be checked for null values prior to use.

Since:

API Level 3.2.0

Instance Member Summary collapse

Instance Attribute Details

var name as Lang.String

The profile name

Since:

API Level 3.2.0

Returns:

var sport as Activity.Sport

A SPORT_* enum value

Since:

API Level 3.2.0

Returns:

var subSport as Activity.SubSport or Null

A SUB_SPORT_* enum value. Can be null.

Since:

API Level 3.2.0

Returns:

var uniqueIdentifier as Lang.Long

An unique identifer of the profile

Since:

API Level 3.2.0

Returns:


Generated Mar 10, 2026, 11:32:34 AM