Das schaut bei mir so aus:
Delphi-Quellcode:
//https://developer.android.com/reference/com/google/android/gms/ads/AdView.html
[JavaSignature('
com/google/ads/AdView')]
JAdView =
interface(JRelativeLayout)
['
{5AFB60B2-1C85-4443-BEBC-0FB6433F0ED5}']
procedure destroy;
cdecl;
function getAdListener(): JAdListener;
cdecl;
function getAdSize():JAdSize;
cdecl;
function getAdUnitId():JString;
cdecl;
function getInAppPurchaseListener(): JInAppPurchaseListener;
cdecl;
procedure loadAd(adRequest: JAdRequest);
cdecl;
procedure pause();
cdecl;
procedure resume();
cdecl;
procedure setAdListener(adListener: JAdListener);
cdecl;
procedure setAdSize(AdSize: JAdSize);
cdecl;
procedure setAdUnitID(adUnitID: JString);
cdecl;
procedure setInAppPurchaseListener(InAppPurchaseListener: JInAppPurchaseListener);
cdecl;
end;
TJAdView =
class(TJavaGenericImport<JAdViewClass, JAdView>)
end;