示例#1
0
 public override void CreateBanner(RevMob.Position position, int x, int y, int w, int h)
 {
     if (!IsDevice())
     {
         return;
     }
     this.session.Call("createBanner", CurrentActivity(), CreateRevMobListener(this.gameObjectName, "Banner"), (int)position, x, y, w, h);
 }
示例#2
0
 public RevMobBanner CreateBanner(RevMob.Position position)
 {
     return(this.CreateBanner(position, 0, 0, 0, 0));
 }
示例#3
0
 public void ShowBanner(RevMob.Position position)
 {
     this.ShowBanner(position, 0, 0, 0, 0);
 }
示例#4
0
 public abstract RevMobBanner CreateBanner(RevMob.Position position, int x, int y, int w, int h);
示例#5
0
 public abstract void ShowBanner(RevMob.Position position, int x, int y, int w, int h);
示例#6
0
 public override RevMobBanner CreateBanner(RevMob.Position position, int x, int y, int w, int h)
 {
     return((IsDevice()) ? new RevMobAndroidBanner(CurrentActivity(), CreateRevMobListener(this.gameObjectName, "Banner"), position, x, y, w, h, session) : null);
 }
 public RevMobAndroidBanner(AndroidJavaObject activity, AndroidJavaObject listener, RevMob.Position position, int x, int y, int w, int h, AndroidJavaObject session)
 {
     this.javaObject = session;
     this.javaObject.Call("createBanner", activity, listener, (int)position, x, y, w, h);
 }
 public RevMobAndroidBanner(AndroidJavaObject activity, AndroidJavaObject listener, RevMob.Position position, int x, int y, int w, int h, AndroidJavaObject session)
 {
     this.javaObject = session;
     if (x != 0 || y != 0 || w != 0 || h != 0)
     {
         this.customBanner = true;
     }
     else
     {
         this.customBanner = false;
     }
     this.javaObject.Call("createBanner", activity, listener, (int)position, x, y, w, h);
 }
示例#9
0
 public void CreateBanner(RevMob.Position position)
 {
     this.CreateBanner(position, 0, 0, 0, 0);
 }
示例#10
0
 public abstract RevMobBanner CreateBanner(RevMob.Position position, int leftMargin, int topMargin, int w, int h);