Hybrid integration

If you are integrating LevelPlay through MAX adapter:

  • Include Unity.LevelPlay assembly definition for NeftaCustomAdapter assembly definition:

  • Add NEFTA_LEVELPLAY define symbol for the platforms in use:

With this you will have new methods available in NeftaAdapterEvents:

private void OnAdLoadFailed(LevelPlayAdError error)
{
    NeftaAdapterEvents.OnLevelPlayRequestFailed(NeftaAdapterEvents.AdType.Interstitial, _bidFloor, _calculatedBidFloor, error);
}

private void OnAdLoaded(LevelPlayAdInfo info)
{
    NeftaAdapterEvents.OnLevelPlayRequestLoaded(NeftaAdapterEvents.AdType.Interstitial, _bidFloor, _calculatedBidFloor, info);
}

IronSourceEvents.onImpressionDataReadyEvent += impression =>
{
    NeftaAdapterEvents.OnLevelPlayImpression(impression);
}