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

NativeAdListener.java « ads « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4739132f8f428594473e93ca934cb650f617cb6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.mapswithme.maps.ads;

import android.support.annotation.NonNull;
import android.support.annotation.UiThread;

public interface NativeAdListener
{
  @UiThread
  void onAdLoaded(@NonNull MwmNativeAd ad);

  /**
   * Notifies about a error occurred while loading the ad for the specified banner id from the
   * specified ads provider.
   *
   */
  @UiThread
  void onError(@NonNull String bannerId, @NonNull String provider, @NonNull NativeAdError error);

  @UiThread
  void onClick(@NonNull MwmNativeAd ad);
}