Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add mediation jars, fix AppBrainBanner listener API.

  • Loading branch information...
commit 7fdeee80323b1c8a62cf1db06df190a3ce053a55 1 parent 1c0509f
@mathijs81 mathijs81 authored
View
BIN  appbrain-sdk-android.jar
Binary file not shown
View
BIN  applift-admob-mediation.jar
Binary file not shown
View
BIN  applift-adwhirl.jar
Binary file not shown
View
BIN  example/libs/appbrain-sdk-android.jar
Binary file not shown
View
2  example/res/layout/main.xml
@@ -24,6 +24,6 @@
<View android:layout_height="0dp" android:layout_width="10dp" android:layout_weight="1"/>
<com.appbrain.AppBrainBanner xmlns:appbrain="http://schemas.android.com/apk/lib/com.appbrain"
- appbrain:colors="12" appbrain:looks="0" appbrain:title="0" appbrain:button="0"
+ appbrain:colors="12" appbrain:design="0" appbrain:title="0" appbrain:button="0"
android:layout_width="fill_parent" android:layout_height="wrap_content"/>
</LinearLayout>
View
61 javadoc/reference/com/appbrain/AppBrainBanner.Listener.html
@@ -309,6 +309,24 @@
void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
+ <span class="sympad"><a href="../../com/appbrain/AppBrainBanner.Listener.html#onAdRequestDone(boolean)">onAdRequestDone</a></span>(boolean adAvailable)</nobr>
+
+ <div class="jd-descrdiv">Gets called after a call to requestAd().</div>
+
+ </td></tr>
+
+
+
+ <tr class=" api apilevel-" >
+ <td class="jd-typecol"><nobr>
+ abstract
+
+
+
+
+ void</nobr>
+ </td>
+ <td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../com/appbrain/AppBrainBanner.Listener.html#onClick()">onClick</a></span>()</nobr>
<div class="jd-descrdiv">Gets called when a banner receives a click from the user.</div>
@@ -364,6 +382,48 @@
+<A NAME="onAdRequestDone(boolean)"></A>
+
+<div class="jd-details api apilevel-">
+ <h4 class="jd-details-title">
+ <span class="normal">
+ public
+
+
+ abstract
+
+ void
+ </span>
+ <span class="sympad">onAdRequestDone</span>
+ <span class="normal">(boolean adAvailable)</span>
+ </h4>
+ <div class="api-level">
+ <div>
+
+</div>
+
+
+
+ </div>
+ <div class="jd-details-descr">
+
+ <div class="jd-tagdata jd-tagdescr"><p>Gets called after a call to requestAd().
+ The thread on which this method gets called is unspecified (it may be the UI thread or it may not be). </p></div>
+ <div class="jd-tagdata">
+ <h5 class="jd-tagtitle">Parameters</h5>
+ <table class="jd-tagtable">
+ <tr>
+ <th>adAvailable</td>
+ <td>Whether there's an ad available to serve or not.
+</td>
+ </tr>
+ </table>
+ </div>
+
+ </div>
+</div>
+
+
<A NAME="onClick()"></A>
<div class="jd-details api apilevel-">
@@ -390,6 +450,7 @@ <h4 class="jd-details-title">
<div class="jd-details-descr">
<div class="jd-tagdata jd-tagdescr"><p>Gets called when a banner receives a click from the user.
+ This method gets called on the UI thread.
</p></div>
</div>
View
12 javadoc/reference/com/appbrain/AppBrainBanner.html
@@ -1144,7 +1144,7 @@
- boolean</nobr>
+ void</nobr>
</td>
<td class="jd-linkcol" width="100%"><nobr>
<span class="sympad"><a href="../../com/appbrain/AppBrainBanner.html#requestAd()">requestAd</a></span>()</nobr>
@@ -9035,7 +9035,7 @@ <h4 class="jd-details-title">
synchronized
- boolean
+ void
</span>
<span class="sympad">requestAd</span>
<span class="normal">()</span>
@@ -9050,12 +9050,8 @@ <h4 class="jd-details-title">
</div>
<div class="jd-details-descr">
- <div class="jd-tagdata jd-tagdescr"><p>Request an ad to be fetched.</p></div>
- <div class="jd-tagdata">
- <h5 class="jd-tagtitle">Returns</h5>
- <ul class="nolist"><li>Whether an ad is available at the moment or not.
-</li></ul>
- </div>
+ <div class="jd-tagdata jd-tagdescr"><p>Request an ad to be fetched. If a listener was set on this banner, that listener will be notified of the result.
+</p></div>
</div>
</div>
View
15 javadoc/reference/current.xml
@@ -184,7 +184,7 @@
</parameter>
</constructor>
<method name="requestAd"
- return="boolean"
+ return="void"
abstract="false"
native="false"
synchronized="true"
@@ -267,6 +267,19 @@
deprecated="not deprecated"
visibility="public"
>
+<method name="onAdRequestDone"
+ return="void"
+ abstract="true"
+ native="false"
+ synchronized="false"
+ static="false"
+ final="false"
+ deprecated="not deprecated"
+ visibility="public"
+>
+<parameter name="adAvailable" type="boolean">
+</parameter>
+</method>
<method name="onClick"
return="void"
abstract="true"
Please sign in to comment.
Something went wrong with that request. Please try again.