Package com.castlabs.android.adverts

# Interface AdClientInterface

public interface AdClientInterface
Implementation of this interface provides Sdk with external Ads metadata enrichment mechanism.

Since:
  3.2.2

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static interface`
  `AdClientInterface.Listener`
  Listener for Ad metadata.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AdClientInterface.Listener`
  `getClientListener()`
  Gets the client listener.
  `void`
  `setClientListener(AdClientInterface.Listener listener)`
  Sets or unsets the given `AdClientInterface.Listener`.

- ## Method Details

  - ### setClientListener

    void setClientListener(@Nullable AdClientInterface.Listener listener)
    Sets or unsets the given `AdClientInterface.Listener`.
    Parameters:
      `listener` - the listener to set otherwise null

  - ### getClientListener

    @Nullable AdClientInterface.Listener getClientListener()
    Gets the client listener.
    Returns:
      Client listener