Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralexzatsepin <az@mapswithme.com>2017-04-14 17:30:10 +0300
committeralexzatsepin <az@mapswithme.com>2017-04-17 14:55:13 +0300
commit8a59344de16a4f36d365d94ce0a781af41c854c4 (patch)
tree688f978cb9ace0da7b42edc702bc05e0b6763da2 /android/src/com/mapswithme/maps/ads/MopubAdError.java
parent9592ce9b0532a03c2b0b3f2aa39c7cefcc15eeda (diff)
[android] Added Mopub ad network
Diffstat (limited to 'android/src/com/mapswithme/maps/ads/MopubAdError.java')
-rw-r--r--android/src/com/mapswithme/maps/ads/MopubAdError.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/maps/ads/MopubAdError.java b/android/src/com/mapswithme/maps/ads/MopubAdError.java
new file mode 100644
index 0000000000..9b110c78e0
--- /dev/null
+++ b/android/src/com/mapswithme/maps/ads/MopubAdError.java
@@ -0,0 +1,27 @@
+package com.mapswithme.maps.ads;
+
+import android.support.annotation.Nullable;
+
+class MopubAdError implements NativeAdError
+{
+ @Nullable
+ private final String mMessage;
+
+ MopubAdError(@Nullable String message)
+ {
+ mMessage = message;
+ }
+
+ @Nullable
+ @Override
+ public String getMessage()
+ {
+ return mMessage;
+ }
+
+ @Override
+ public int getCode()
+ {
+ return 0;
+ }
+}