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: 6c02d6ccda05ba73546c9bb7cffdf585e67b484e (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 androidx.annotation.NonNull;
import androidx.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);
}