# fromValue static method

FaceTemplateFormat fromValue(

1. int value

)

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

## Implementation

    static FaceTemplateFormat fromValue(int value) {
        	switch (value) {
          	case 0x0000:
            	return FaceTemplateFormat.undefined;
          	case 0x218A:
            	return FaceTemplateFormat.v8A;
          	case 0x218B:
            	return FaceTemplateFormat.v8B;
          	case 0x219A:
            	return FaceTemplateFormat.v9A;
          	case 0x219B:
            	return FaceTemplateFormat.v9B;
          	case 0x219C:
            	return FaceTemplateFormat.v9C;
          	case 0x222A:
            	return FaceTemplateFormat.periocularV2A;
          	case 0x222B:
            	return FaceTemplateFormat.periocularV2B;
        default:
            	throw Exception("Unable to find the specified enum value for $value");
        	}
      	}