com.appnexus.oas.mobilesdk.admanager.XAdManager.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appnexusoasmobileadsdk-test Show documentation
Show all versions of appnexusoasmobileadsdk-test Show documentation
AppNexus OpenAdStream Android Advertising Libraries
???? 2? /com/appnexus/oas/mobilesdk/admanager/XAdManager java/lang/Object =com/appnexus/oas/mobilesdk/listeners/IHttpTransactionListener :com/appnexus/oas/mobilesdk/listeners/IFileDownloadListener EMPTY_GIF_REGEX Ljava/lang/String;
ConstantValue
L^.*?href(.*?\/default\/empty\.gif.*?).*?img(.*?\/default\/empty\.gif.*?).*?$
adListener 'Lcom/appnexus/oas/mobilesdk/IReceiveAd; adClickListener -Lcom/appnexus/oas/mobilesdk/IAdClickListener; context Landroid/content/Context;
containerView $Lcom/appnexus/oas/mobilesdk/XAdView; handler Landroid/os/Handler;
placementType YLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$PLACEMENT_TYPES; adJsonModel .Lcom/appnexus/oas/mobilesdk/model/AdJsonModel; bannerAdEventsListener &Lcom/appnexus/oas/mobilesdk/IBannerAd; xAdSlotConfiguration ?Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration; adClickToActionListener 1Lcom/appnexus/oas/mobilesdk/IHandleClickToAction; interstitialContext (Landroid/content/Context;Lcom/appnexus/oas/mobilesdk/IReceiveAd;Lcom/appnexus/oas/mobilesdk/XAdView;Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$PLACEMENT_TYPES;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;Landroid/content/Context;)V Code
' # ( ()V * , " . 0 2 4 6 android/os/Handler
5 ' 9 LineNumberTable LocalVariableTable this 1Lcom/appnexus/oas/mobilesdk/admanager/XAdManager; setAdClickListener 0(Lcom/appnexus/oas/mobilesdk/IAdClickListener;)V A setBannerAdEventsListener )(Lcom/appnexus/oas/mobilesdk/IBannerAd;)V E setAdClickToActionListener 4(Lcom/appnexus/oas/mobilesdk/IHandleClickToAction;)V I !
setAdListener *(Lcom/appnexus/oas/mobilesdk/IReceiveAd;)V
sendAdRequest ^(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
O Q P java/lang/String R S trim ()Ljava/lang/String;
O U V W length ()I Y [ Domain name is not set.
] _ ^ -com/appnexus/oas/mobilesdk/utilities/XLogUtil ` a e '(Ljava/lang/String;Ljava/lang/String;)V
c d e handleErrorCallbacks (Ljava/lang/String;)V g java/lang/StringBuilder i sendAdRequest isCoppaEnabled -
f k # e
m o n =com/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration p q getCOPPA ()Z
f s t u append (Z)Ljava/lang/StringBuilder;
f w x S toString
] z { a i
} ~ getClass ()Ljava/lang/Class;
? ? ? java/lang/Class ? S getName ? sendAdRequest queryParams
f ? t ? -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? removeGeoOverrideFromQueryParams &(Ljava/lang/String;)Ljava/lang/String; ? 4com/appnexus/oas/mobilesdk/communicator/XTransaction ? GET
? ? ? -com/appnexus/oas/mobilesdk/utilities/XUtility ? ? getUserAgent -(Landroid/content/Context;)Ljava/lang/String;
? ? # ? ?(ILjava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;II[Ljava/lang/String;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/listeners/IHttpTransactionListener;Ljava/lang/String;Ljava/lang/String;)V ? >com/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager
? ? # ? (Landroid/content/Context;)V
? ? ? ? sendRequest x(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V
domainName pageName position queryParams
keywordParams requestType I urlParams [Ljava/lang/String; trans 6Lcom/appnexus/oas/mobilesdk/communicator/XTransaction; httpManager @Lcom/appnexus/oas/mobilesdk/communicator/XHttpConnectionManager;
StackMapTable ? getAdJsonModel 0()Lcom/appnexus/oas/mobilesdk/model/AdJsonModel; ? ? _OAS_GEO_OVERRIDE_
O ? ? ? contains (Ljava/lang/CharSequence;)Z ? &
O ? ? ? split '(Ljava/lang/String;)[Ljava/lang/String; ? ? 8removeGeoOverrideFromQueryParams queryParams arr.length
f ? t ? (I)Ljava/lang/StringBuilder;
] ? ? a d
O ? ? ? substring (II)Ljava/lang/String;
O ? ? ?
replaceAll 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
? ? ? ?
isNullOrEmpty (Ljava/lang/String;)Z
O ? ? ? charAt (I)C
geoOverrideKV arr C(Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/model/AdJsonModel;)V ? URL is null or blank.
? ? # ? ?(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/ArrayList;II[Ljava/lang/String;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/listeners/IHttpTransactionListener;Lcom/appnexus/oas/mobilesdk/model/AdJsonModel;)V url extras sendStandardBannerRequest
? ? ? ? getBitmapFromURL Q(Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/listeners/IFileDownloadListener;)V imageUrl gotResponse 9(Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;)V ? 1com/appnexus/oas/mobilesdk/admanager/XAdManager$1
? ? # ? j(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;Lcom/appnexus/oas/mobilesdk/communicator/XTransaction;)V
5 ? ? ? post (Ljava/lang/Runnable;)Z transaction ? 4com/appnexus/oas/mobilesdk/errorhandler/XAdException
? k ? ? ? %com/appnexus/oas/mobilesdk/IReceiveAd ? xAdFailed L(Landroid/view/View;Lcom/appnexus/oas/mobilesdk/errorhandler/XAdException;)V errorMessage adException 6Lcom/appnexus/oas/mobilesdk/errorhandler/XAdException; onDownloadSucceeded (Landroid/graphics/Bitmap;)V 1com/appnexus/oas/mobilesdk/admanager/XAdManager$2
#
M(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;Landroid/graphics/Bitmap;)V bitMap Landroid/graphics/Bitmap; onDownloadFailed 9(Lcom/appnexus/oas/mobilesdk/errorhandler/XAdException;)V
? S getLocalizedMessage exception handleVastResponse Wcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$PLACEMENT_TYPES INTERSTITIAL /com/appnexus/oas/mobilesdk/ui/adview/XVideoView
? ? xAdLoaded (Landroid/view/View;)V !" PREROLL handleTrackingRequest
%'& ,com/appnexus/oas/mobilesdk/model/AdJsonModel( S getImpUrl* -com/appnexus/oas/mobilesdk/tracker/XAdTracker
), #- B(Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;)V
)/01 trackURL .(Ljava/lang/String;Landroid/content/Context;)V3
XAdManager5 Impression URL:
]78 a v adTracker /Lcom/appnexus/oas/mobilesdk/tracker/XAdTracker; handleMRAIDResponse
=> ? isEmptyGifImagePresent@ !empty.gif file response received.B 5com/appnexus/oas/mobilesdk/ui/adview/XBannerMraidView
AD #E?(Landroid/content/Context;Landroid/content/Context;Lcom/appnexus/oas/mobilesdk/XAdView;Ljava/lang/String;Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$PLACEMENT_TYPES;Lcom/appnexus/oas/mobilesdk/IBannerAd;Lcom/appnexus/oas/mobilesdk/IAdClickListener;Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration;Lcom/appnexus/oas/mobilesdk/IReceiveAd;Lcom/appnexus/oas/mobilesdk/IHandleClickToAction;Ljava/lang/String;)V
GIH java/lang/ExceptionJ ( printStackTraceL Exception:
GNO S
getMessageQ handleMRAIDResponse: Exception: htmlContent Ljava/lang/Exception;
UWV java/util/regex/PatternXY compile .(Ljava/lang/String;I)Ljava/util/regex/Pattern;
U[\] matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
_a` java/util/regex/Matcherb q matches
htmlString re p Ljava/util/regex/Pattern; m Ljava/util/regex/Matcher; access$0 Z(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/IReceiveAd; access$1 F(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;Ljava/lang/String;)V access$2 b(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;Lcom/appnexus/oas/mobilesdk/model/AdJsonModel;)V access$3 a(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/model/AdJsonModel; access$4 4(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)V
t ( access$5 X(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;Ljava/lang/String;Ljava/lang/String;)V
x; a access$6
{ ? e access$7 L(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Landroid/content/Context; access$8 r(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/configuration/XAdSlotConfiguration; access$9 W(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/XAdView; access$10 `(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/IAdClickListener; access$11 Y(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/IBannerAd; access$12 d(Lcom/appnexus/oas/mobilesdk/admanager/XAdManager;)Lcom/appnexus/oas/mobilesdk/IHandleClickToAction;
SourceFile XAdManager.java InnerClasses? Gcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration PLACEMENT_TYPES !
! " # $ % ? 1*? &*+? )*? +*,? -*-? /*? 1*? 3*? 5Y? 7? 8? : &