com.appnexus.oas.mobilesdk.adcontroller.adgenerator.XMraidJsInterface.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
???? 2E Ecom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidJsInterface java/lang/Object JAVASCRIPT_METHOD_PREFIX Ljava/lang/String;
ConstantValue
XMraidWebView adView $Lcom/appnexus/oas/mobilesdk/XAdView; webView CLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidWebView; orientationProperties Ljava/util/List; Signature 1Ljava/util/List; orientationSyncObject Ljava/lang/Object; expandProperties expandSyncObject resizeProperties resizeSyncObject mraidStateListener :Lcom/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener; j(Lcom/appnexus/oas/mobilesdk/XAdView;Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidWebView;)V Code
()V ! # % ' ) + - /
1
3 8com/appnexus/oas/mobilesdk/listeners/IMRAIDStateListener 5
7 9 8 Acom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidWebView : ; addJavascriptInterface '(Ljava/lang/Object;Ljava/lang/String;)V LineNumberTable LocalVariableTable this GLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidJsInterface; container mraidLoaded RuntimeVisibleAnnotations $Landroid/webkit/JavascriptInterface; E JavascriptInterface A
H J I -com/appnexus/oas/mobilesdk/utilities/XLogUtil K L d '(Ljava/lang/String;Ljava/lang/String;)V
7 N O P setMraidLoaded (Z)V 2 R S onLoaded
StackMapTable V java/lang/Throwable log (Ljava/lang/String;)V Z java/lang/StringBuilder \ log message=
Y ^ X
Y ` a b append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
Y d e f toString ()Ljava/lang/String; message i java/lang/String open j 2 m n X onOpen url storePicture p 2 s t X onStorePicture setOrientationProperties w setOrientationProperties: y java/net/URI { http://orientation.properties?
x ^ ~ UTF-8
? ? ? ,org/apache/http/client/utils/URLEncodedUtils ? ? parse 2(Ljava/net/URI;Ljava/lang/String;)Ljava/util/List;
? ? ? convertOrientationProperties %(Ljava/util/List;)Landroid/os/Bundle; 2 ? ? ? onOrientationChange (Ljava/util/List;)V
? ? ? java/lang/Exception ? printStackTrace encodedProperties
propertiesUri Ljava/net/URI; data Landroid/os/Bundle; ex Ljava/lang/Exception; playVideo ? playVideo: URI: 2 ? ? X onPlayVideo uri setResizeProperties ? setResizeProperties : ? http://resize.properties? ? ? 5Exception setting resize properties from javascript:
? ? ? f getLocalizedMessage resize ? ? ? ? java/util/List ? ? isEmpty ()Z
7 ? ? ? getXMRAIDProperties K()Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration; ? Resize parameters not set
? ? ? Gcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration ? L fireErrorEvent 2 ? ? ? onResize setExpandProperties ? setExpandProperties: ? http://expand.properties? ? expandProperties:
Y ? a ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; 2 ? ? ? onExpandPropertiesSet ? setExpandProperties Exception :
? ? ? f
getMessage F(Ljava/util/List;)Landroid/os/Bundle; ? android/os/Bundle
? ? ? ? ? iterator ()Ljava/util/Iterator; ? ? ? java/util/Iterator ? ? next ()Ljava/lang/Object; ? org/apache/http/NameValuePair ? ? ? f getName ? ? ? f getValue
? ? ? L putString ? ? ? ? hasNext list i Ljava/util/Iterator; nvp Lorg/apache/http/NameValuePair; LocalVariableTypeTable 5Ljava/util/Iterator; close ? 2 ? ? onClose expand ? 2 ? ? ? onExpand createCalendarEntry org/json/JSONObject
^
calendarParameteresToDataBundle *(Lorg/json/JSONObject;)Landroid/os/Bundle; 2
onCalendarOpen (Landroid/os/Bundle;)V .Exception creating calendar event javascript: using:
properties Lorg/json/JSONObject;
dataBundle error acom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$CALENDAR_EVENT_PARAMETERS DESCRIPTION cLcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$CALENDAR_EVENT_PARAMETERS;
? "get_CALENDAR_EVENT_PARAMETERS_name w(Lcom/appnexus/oas/mobilesdk/adcontroller/adgenerator/XMraidConfiguration$CALENDAR_EVENT_PARAMETERS;)Ljava/lang/String;
!" has (Ljava/lang/String;)Z
$%& getString &(Ljava/lang/String;)Ljava/lang/String; () LOCATION +, START ./ END 12 SUMMARY4 summary6 @Exception processing calendar event properties from javascript:
d name value htmlContentAfterLoading< ' htmlContentAfterLoading method called. 2>? X onHTMLPageFinished htmlContent
SourceFile XMraidJsInterface.java InnerClasses CALENDAR_EVENT_PARAMETERS 1
? W*? *? *? "*? Y? ? $*? &*? Y? ? (*? **? Y? ? ,*+? .*,? 0*,? 2? 4*? 0*? 6? <