Class: Toybox.Activity.ProfileInfo

Overview

The Activity.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

An Activity.SPORT_* enum value

Since:

API Level 3.2.0

Returns:

var subSport as Activity.SubSport or Null

An Activity.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 Apr 17, 2024 9:40:36 AM