Great!  There they are - hanging off *CLLocation*

Seems I need to have a better strategy for searching for partial names
within the *Assembly Browser*.  Very pleased that they are accounted for as
structured values in MonoTouch, and I don't have to poke over into the
Obj-C constants.

Thanks *Nic *and *Rolf*




On Thu, Jun 28, 2012 at 7:11 AM, Rolf Bjarne Kvinge [via MonoTouch] <
[email protected]> wrote:

> Hi,
>
> On Wed, Jun 27, 2012 at 4:03 PM, philcockfield <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4655637&i=0>
> > 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=4655637&i=1>
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://monotouch.2284126.n4.nabble.com/CLLocationAccuracy-Contant-Values-tp4655605p4655637.html
>  To unsubscribe from CLLocationAccuracy - Contant Values?, click 
> here<http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4655605&code=cGhpbEBjb2NrZmllbGQubmV0fDQ2NTU2MDV8MTAyMTA4OTYxMg==>
> .
> NAML<http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
*Phil *Cockfield


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/CLLocationAccuracy-Contant-Values-tp4655605p4655648.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to