Package com.castlabs.android.hybridads

# Class AdNativeDecoder

java.lang.Object
com.castlabs.android.hybridads.AdNativeDecoder

public class AdNativeDecoder extends Object
Native decoder for ads.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AdNativeDecoder(Context context)`
  Constructor for AdNativeDecoder.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setSurface(Surface mSurface)`
  Sets the surface for the decoder.

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

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

- ## Constructor Details

  - ### AdNativeDecoder

    public AdNativeDecoder(Context context)
    Constructor for AdNativeDecoder.
    Parameters:
      `context` - The context.

- ## Method Details

  - ### setSurface

    public void setSurface(Surface mSurface)
    Sets the surface for the decoder.
    Parameters:
      `mSurface` - The surface.