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 or Null

The profile name

Since:

API Level 3.2.0

Returns:

var sport as Activity.Sport or Null

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.ByteArray or Null

An unique identifer of the profile

Since:

API Level 3.2.0

Returns:


Generated Sep 23, 2024, 3:32:47 PM