toHealthConnect static method
Implementation
static int toHealthConnect(MenstrualFlow value) {
switch (value) {
case MenstrualFlow.unspecified:
return 0;
case MenstrualFlow.light:
return 1;
case MenstrualFlow.medium:
return 2;
case MenstrualFlow.heavy:
return 3;
default:
return -1;
}
}