Hi,
I'd like to support different constellations if they're available. I tried:
try{
Position.enableLocationEvents(
{
:acquisitionType => Position.LOCATION_CONTINUOUS,
:constellations => [ Position.CONSTELLATION_GPS, Position.CONSTELLATION_GLONASS]
},
method(:onPosition)
);
}
catch(ex){
Position.enableLocationEvents(Position.LOCATION_CONTINUOUS, method(:onPosition));
}
but there's no exception, it can't find the symbol on 3.1 devices. How can I determine which version to call?