Package com.castlabs.android.adverts

# Interface AdProvider

public interface AdProvider
Implementation of this interface allows creating new AdsLoader instances.

Since:
  3.2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AdLoader`
  `createAdLoader(AdRequest adRequest)`
  Create `AdLoader` instance based on provided `AdRequest`
  `String`
  `getName()`
  Return a unique name to identify the session provider.

- ## Method Details

  - ### createAdLoader

    @Nullable AdLoader createAdLoader(@Nullable AdRequest adRequest)
    Create `AdLoader` instance based on provided `AdRequest`
    Parameters:
      `adRequest` - The `AdRequest`
    Returns:
      The `AdLoader` instance or `null`

  - ### getName

    @NonNull String getName()
    Return a unique name to identify the session provider.
    Returns:
      The name of this provider