# fromValue static method

BiometricDataType fromValue(

1. int value

)

Creates an enumeration value from int. param value The int value. return The created BiometricDataType.

## Implementation

    static BiometricDataType fromValue(int value) {
        	switch (value) {
          	case 0:
            	return BiometricDataType.undefined;
          	case 1:
            	return BiometricDataType.noInformationGiven;
          	case 2:
            	return BiometricDataType.multipleBiometricsUsed;
          	case 3:
            	return BiometricDataType.facialFeatures;
          	case 4:
            	return BiometricDataType.voice;
          	case 5:
            	return BiometricDataType.fingerprint;
          	case 6:
            	return BiometricDataType.iris;
          	case 7:
            	return BiometricDataType.retina;
          	case 8:
            	return BiometricDataType.handGeometry;
          	case 9:
            	return BiometricDataType.signatureDynamics;
          	case 10:
            	return BiometricDataType.keystrokeDynamics;
          	case 11:
            	return BiometricDataType.lipMovement;
          	case 12:
            	return BiometricDataType.thermalFaceImage;
          	case 13:
            	return BiometricDataType.thermalHandImage;
          	case 14:
            	return BiometricDataType.gait;
          	case 15:
            	return BiometricDataType.bodyOdor;
          	case 16:
            	return BiometricDataType.dna;
          	case 17:
            	return BiometricDataType.earShape;
          	case 18:
            	return BiometricDataType.fingerGeometry;
          	case 19:
            	return BiometricDataType.palmPrint;
          	case 20:
            	return BiometricDataType.veinPattern;
          	case 21:
            	return BiometricDataType.footPrint;
        default:
            	throw Exception("Unable to find the specified enum value for $value");
        	}
      	}