YospaceUiHandler

A UI handler for the Yospace connector.

This handler is called whenever a linear clickthrough or non-linear ad needs to be shown to the user.

All methods are always called from the main thread.

Inheritors

Functions

Link copied to clipboard
abstract fun destroy()

Called when the player is destroyed, to clean up any created resources.

Link copied to clipboard
abstract fun hideLinearClickThrough()

Called when the click-through button for the current linear creative should be removed.

Link copied to clipboard
abstract fun hideNonLinear(nonLinearCreative: NonLinearCreative)

Called when the given non-linear creative should be removed.

Link copied to clipboard
abstract fun showLinearClickThrough(linearCreative: LinearCreative, callback: YospaceClickThroughCallback)

Called when a click-through button for the given linear creative should be shown.

Link copied to clipboard
abstract fun showNonLinear(nonLinearCreative: NonLinearCreative, callback: YospaceClickThroughCallback)

Called when the given non-linear creative should be shown.