Package com.theoplayer.android.api.ads
Interface ClientSideAdIntegrationHandler
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.ads.CustomAdIntegrationHandler
@ApiStatus.Experimental() public interface ClientSideAdIntegrationHandler implements CustomAdIntegrationHandler
Receives custom ad descriptions and controls client-side ad playback.
-
-
Method Summary
Modifier and Type Method Description abstract Unitschedule(CustomAdDescription adDescription)Schedules an ad description routed to this integration. Unitplay()Handles the first play request for a source after its schedules have completed. -
-
Method Detail
-
schedule
abstract Unit schedule(CustomAdDescription adDescription)
Schedules an ad description routed to this integration.
- Parameters:
adDescription- the custom ad description from the source or Ads.schedule
-
-
-
-