value property
int
value
Implementation
int get value {
switch (this) {
case ActivityType.Automotive:
return 1;
case ActivityType.Walking:
return 2;
case ActivityType.Running:
return 4;
case ActivityType.Cycling:
return 8;
case ActivityType.Still:
return 16;
}
}