Skip to content

Instantly share code, notes, and snippets.

@migueldeicaza
Created October 15, 2009 17:23
Show Gist options
  • Save migueldeicaza/211118 to your computer and use it in GitHub Desktop.
Save migueldeicaza/211118 to your computer and use it in GitHub Desktop.
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Drawing;
namespace AdMobLib {
[BaseType (typeof (UIView))]
interface AdMobView {
[Export ("initWithFrameRect:")]
IntPtr Constructor (RectangleF rect);
[Export ("requestFreshAd")]
void RequestFreshAd ();
[Static, Export ("requestAdWithDelegate:")]
AdMobView RequestAtWithDelegate (AdMobDelegate del);
}
[BaseType (typeof (NSObject))]
interface AdMobDelegate {
// fill in the blanks
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment