Package com.castlabs.android.adverts

# Class Adverts

java.lang.Object
com.castlabs.android.adverts.Adverts

public class Adverts extends Object
Provides static access to Ad providers.

Since:
  3.2.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `addProvider(AdProvider provider)`
  Register a new Ad provider.
  `static List<AdProvider>`
  `getProviders()`
  `static void`
  `removeProvider(AdProvider provider)`
  Remove registered Ad provider.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### addProvider

    public static void addProvider(@NonNull AdProvider provider)
    Register a new Ad provider.
    Parameters:
      `provider` - The provider

  - ### removeProvider

    public static void removeProvider(@NonNull AdProvider provider)
    Remove registered Ad provider.
    Parameters:
      `provider` - The provider

  - ### getProviders

    @NonNull public static List<AdProvider> getProviders()
    Returns:
      The list of registered Ad providers.