Hi,

On Wed, Jun 27, 2012 at 4:03 PM, philcockfield <[email protected]> wrote:

> This is an overtly n00b question - so apologies in advance if this turns
> out
> to be a forehead slapper.
>
> I'm working with the *CLLocationManager*, and I'm changing the
> DesiredAccuracy property.
>
> In the Obj-C documentation these values are declared as a set of constants.
>
>   extern const CLLocationAccuracy kCLLocationAccuracyBestForNavigation;
>   extern const CLLocationAccuracy kCLLocationAccuracyBest;
>   extern const CLLocationAccuracy kCLLocationAccuracyNearestTenMeters;
>   extern const CLLocationAccuracy kCLLocationAccuracyHundredMeters;
>   extern const CLLocationAccuracy kCLLocationAccuracyKilometer;
>   extern const CLLocationAccuracy kCLLocationAccuracyThreeKilometers;
>
> The property itself (on the MT property) is of type double.  Where do I
> look
> to figure out what these constant values are?
>
> Are constants like this represented as enums anywhere in the MT wrappers -
> or is there a place to look within the Obj-C documentation to find out the
> values.
>

You can create a test app and print them out:

Console.WriteLine (CLLocation.AccuracyBest);

Rolf
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to