Interface BlobProvider
-
- All Implemented Interfaces:
public interface BlobProviderThis contract enforces to provide functionality to save and provide blob against current markup. While the time of writing this code this contract is consumed by only InterstitialAdUnit and used for Interactive Video only.
-
-
Method Summary
Modifier and Type Method Description abstract UnitsaveBlob(String blob, String impressionId)Call this method to save a blob for a markup. abstract UnitgetBlob(String jsCallbackNamespace, String callback, BlobReceiver receiver, String impressionId)Call this method to get a blob which was saved calling BlobProvider.saveBlob. -
-
Method Detail
-
saveBlob
abstract Unit saveBlob(String blob, String impressionId)
Call this method to save a blob for a markup. While the time of writing this code this method is only called by RenderView in case of Interactive to save vast for a markup. This Vast can be reused if the Ad was not shown in current session. Calling this method many times will override previous stored values.
-
getBlob
abstract Unit getBlob(String jsCallbackNamespace, String callback, BlobReceiver receiver, String impressionId)
Call this method to get a blob which was saved calling BlobProvider.saveBlob. Caller of this method will be notified using {@param receiver}. Calling this method will always give latest value written by BlobProvider.saveBlob.
-
-
-
-