You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The arguments `adSize` & `adRequest` are optional\
@@ -73,22 +73,26 @@ fun loadAdView(
73
73
---
74
74
**All other methods:**
75
75
76
-
*`isLoading(): Boolean`: Returns `true` if the Ad is currently loading, `false` otherwise.
76
+
*`@Nullable getAdView()`: Returns the underlying `AdView`, can be `@null` if called before `loadAdView()`.
77
77
78
-
*`isAdLoaded(): Boolean`: Returns `true` if the Ad is loaded, `false` otherwise.
78
+
*`isLoading(): Boolean`: Returns `true` if the Ad is currently loading, `false` otherwise.
79
79
80
-
*`isVisible(): Boolean`: Returns `true` if the Ad is loaded, not null & visible, `false` otherwise.
80
+
*`isAdLoaded(): Boolean`: Returns `true` if the Ad is loaded, `false` otherwise.
81
81
82
-
*`getAdSize()`: Returns current `adSize`.
82
+
*`isVisible(): Boolean`: Returns `true` if the Ad is loaded, not null & visible, `false` otherwise.
83
83
84
-
*`getAdUnitId()`: Returns current `adUnitId`.
84
+
*`getAdSize()`: Returns current `adSize`.
85
85
86
-
*`setAdListener(listener: AdListener)`: Use the AdView's [`AdListener`](https://developers.google.com/android/reference/com/google/android/gms/ads/AdListener).
86
+
*`getAdUnitId()`: Returns current `adUnitId`.
87
87
88
-
*`removeAd()`: Removes the AdView. Make sure to call `loadAdView()` to re-add `AdView`.
88
+
*`setAdListener(listener: AdListener)`: Use the AdView's [`AdListener`](https://developers.google.com/android/reference/com/google/android/gms/ads/AdListener).
0 commit comments