- All Implemented Interfaces:
Function2<com.brightcove.iabparser.vmap.AdBreak,Long,AdBreak>
Maps an com.brightcove.iabparser.vmap.AdBreak to an
AdBreak
.
-
Constructor Summary
Constructors
-
Method Summary
apply(com.brightcove.iabparser.vmap.AdBreak vastAdBreak,
Long adsOffset)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AdBreakMapper
public AdBreakMapper(long contentLength,
long payloadLength)
-
Method Details
-
apply
@NonNull
public AdBreak apply(@NonNull
com.brightcove.iabparser.vmap.AdBreak vastAdBreak,
@NonNull
Long adsOffset)
throws Exception
Converts I1, I2
to O
.
- Specified by:
apply
in interface Function2<com.brightcove.iabparser.vmap.AdBreak,Long,AdBreak>
- Parameters:
vastAdBreak
- First input
adsOffset
- Second input
- Returns:
- output of type O
- Throws:
Exception