value property
int
value
Implementation
int get value {
switch (this) {
case AutoActivityDetect.none:
return 0;
case AutoActivityDetect.running:
return 1;
case AutoActivityDetect.cycling:
return 2;
case AutoActivityDetect.swimming:
return 4;
case AutoActivityDetect.walking:
return 8;
case AutoActivityDetect.elliptical:
return 32;
case AutoActivityDetect.sedentary:
return 1024;
}
}