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-03-24 14:21:08 +0300
committerVladimir Byko-Ianko <bykoianko@gmail.com>2017-04-12 09:11:27 +0300
commitb7650c297ca90b7c4f395c7d5623d448d7f78e15 (patch)
tree0ded34c8b5cccdc32baf98f89700368798def883 /android/src/com/mapswithme/maps/ads/AdTracker.java
parent2e0077ac2335f563bb86b098c32c308cc5ac2144 (diff)
[android] Added the ad lifecycle tracker
Diffstat (limited to 'android/src/com/mapswithme/maps/ads/AdTracker.java')
-rw-r--r--android/src/com/mapswithme/maps/ads/AdTracker.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/android/src/com/mapswithme/maps/ads/AdTracker.java b/android/src/com/mapswithme/maps/ads/AdTracker.java
index 5f18f85e44..fb02094816 100644
--- a/android/src/com/mapswithme/maps/ads/AdTracker.java
+++ b/android/src/com/mapswithme/maps/ads/AdTracker.java
@@ -2,8 +2,10 @@ package com.mapswithme.maps.ads;
import android.support.annotation.NonNull;
-interface AdTracker
+public interface AdTracker
{
- void start(@NonNull String bannerId);
- void stop(@NonNull String bannerId);
+ void onViewShown(@NonNull String bannerId);
+ void onViewHidden(@NonNull String bannerId);
+ void onContentObtained(@NonNull String bannerId);
+ boolean isImpressionGood(@NonNull String bannerId);
}