[Export("getBatteryCapacity:voltage:error:")]
bool GetBatteryCapacity(int capacity, float voltage, out NSError error);thats it Alex El 14/10/2012, a las 22:29, Dean Cleaver <[email protected]> escribió: > And this one? > > - (BOOL) getBatteryCapacity: > (int *) > capacity > voltage: > (float *) > voltage > error: > (NSError **) > error > > The capacity and voltage seem to be out or ref parameters from the way the > method looks to work? > > Dino > > From: [email protected] > [mailto:[email protected]] On Behalf Of Dean Cleaver > Sent: Sunday, October 14, 2012 16:29 > To: [email protected] > Subject: [MonoTouch] Correct Bindings > > What would be the correct binding for this: > > (id) > + DTDevices::sharedDevice > Creates and initializes new class instance or returns already initalized one. > > Cheers, > Dino > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
