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

FacebookAdError.java « ads « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9bfcd7cdc7d7bd60ee02ce571333cf2b53225057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.mapswithme.maps.ads;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import com.facebook.ads.AdError;

class FacebookAdError implements NativeAdError
{
  @NonNull
  private final AdError mError;

  FacebookAdError(@NonNull AdError error)
  {
    mError = error;
  }

  @Nullable
  @Override
  public String getMessage()
  {
    return mError.getErrorMessage();
  }

  @Override
  public int getCode()
  {
    return mError.getErrorCode();
  }
}