[Mono-bugs] [Bug 644004] New: Add method overloads for SensorType where it expects an int

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 5 23:36:55 EDT 2010



           Summary: Add method overloads for SensorType where it expects
                    an int
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: gshackles at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.24 Safari/534.7

There are some methods I've come across that expect an int for a sensor type,
but since there is a SensorType enumeration, it would be helpful to have
overloads for these methods that use the enumeration.

Here are some I ran into, but I'm sure there are others:

SensorManager.GetDefaultSensor(int type);
SensorManager.RegisterListener(ISensorListener listener, int sensors,
SensorDelay rate);

Reproducible: Always

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list