API Version Check

Is there a way to determine the API level supported on a device?

I'd like to use the "fitTextToAera" function, but that requires API 3.1.0. One of my device targets is the EDGE 1000, which only supports up to API 2.4.0.

I could create a look-up table based on part numbers to API support... but I'm hoping there is a better way to ask the device.

Thanks!