Event
public enum Event : UInt8
extension Event: FitFieldCodeable
FIT Event
-
Timer - Group 0. Start / stop_all
Declaration
Swift
case timer = 0 -
Workout - start / stop
Declaration
Swift
case workout = 3 -
Workout Step - Start at beginning of workout. Stop at end of each step
Declaration
Swift
case workoutStep = 4 -
Power Down - stop_all group 0
Declaration
Swift
case powerDown = 5 -
Power Up - stop_all group 0
Declaration
Swift
case powerUp = 6 -
Off Course - start / stop group 0
Declaration
Swift
case offCourse = 7 -
Session - Stop at end of each session
Declaration
Swift
case session = 8 -
Lap - Stop at end of each lap
Declaration
Swift
case lap = 9 -
Course Point - marker
Declaration
Swift
case coursePoint = 10 -
Battery - marker
Declaration
Swift
case battery = 11 -
Virtual Partner Pace - Group 1. Start at beginning of activity if VP enabled, when VP pace is changed during activity or VP enabled mid activity
Declaration
Swift
case virtualPatnerPace = 12 -
HR Hight Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case hrHighAlert = 13 -
HR Low Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case hrLowAlert = 14 -
Speed High Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case speedHighAlert = 15 -
Speed Low Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case speedLowAlert = 16 -
Cadence High Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case cadenceHighAlert = 17 -
Cadence Low Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case cadenceLowAlert = 18 -
Power High Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case powerHighAlert = 19 -
Power Low Alert - Group 0. Start / stop when in alert condition.
Declaration
Swift
case powerLowAlert = 20 -
Recovery HR - marker
Declaration
Swift
case recoveryHr = 21 -
Battery Low
Declaration
Swift
case batteryLow = 22 -
Time Duration Alert - Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled
Declaration
Swift
case timeDurationAlert = 23 -
Distance Duration Alert - Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled
Declaration
Swift
case distanceDurationAlert = 24 -
Calorie Duration Alert - Group 1. Start if enabled mid activity (not required at start of activity). Stop when duration is reached. stop_disable if disabled
Declaration
Swift
case calorieDurationAlert = 25 -
Activity - Group 1.. Stop at end of activity
Declaration
Swift
case activity = 26 -
Fitness Equipment - marker
Declaration
Swift
case fitnessEquipment = 27 -
Length - Stop at end of each length
Declaration
Swift
case length = 28 -
User Marker - marker
Declaration
Swift
case userMarker = 32 -
Sport Point - marker
Declaration
Swift
case sportPoint = 33 -
Calibration - start/stop/marker
Declaration
Swift
case calibration = 36 -
Front Gear Change - marker
Declaration
Swift
case frontGearChange = 42 -
Rear Gear Change - marker
Declaration
Swift
case rearGearChange = 43 -
Rider Position Change - marker
Declaration
Swift
case riderPositionChange = 44 -
Elevation High Alert - Group 0. Start / stop when in alert condition
Declaration
Swift
case elevationHighAlert = 45 -
Elevation Low Alert - Group 0. Start / stop when in alert condition
Declaration
Swift
case elevationLowAlert = 46 -
Communication Timeout - marker
Declaration
Swift
case communicationTimeout = 47 -
Invalid
Declaration
Swift
case invalid = 255
-
Encode Into Data
Declaration
Swift
public func encode(base: BaseTypeData) -> Data?Parameters
baseBaseTypeData
-
Declaration
Swift
public static func decode<T>(type: T.Type, data: Data, base: BaseTypeData, arch: Endian) -> T?