Edytuj

Udostępnij za pośrednictwem


INWorkoutNameIdentifier Enum

Definition

Enumerates known training types.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum INWorkoutNameIdentifier
type INWorkoutNameIdentifier = 
Inheritance
INWorkoutNameIdentifier
Attributes

Fields

Name Value Description
Run 0

Indicates an outdoor run.

Sit 1

Indicates not much of a workout.

Steps 2

Indicates a step-walking workout.

Stand 3

Indicates a workout that's somewhat better than Sit.

Move 4

Indicates a general movement workout.

Walk 5

Indicates an outdoor walk.

Yoga 6

Indicates a yoga workout.

Dance 7

Indicates a dance workout.

Crosstraining 8

Indicates a cross-training workout.

Elliptical 9

Indicates a elliptical workout.

Rower 10

Indicates a rowing workout.

Cycle 11

Indicates an outdoor cycling workout.

Stairs 12

Indicates a stair-walking workout.

Other 13

Indicates an unknown workout.

Indoorrun 14

Indicates an indoor run.

Indoorcycle 15

Indicates an indoor cycling workout.

Indoorwalk 16

Indicates an indoor walking workout.

Exercise 17

Indicates a workout of general exercise.

Hike 18
HighIntensityIntervalTraining 19
Swim 20

Applies to