Interface PresentationListener
-
- All Implemented Interfaces:
public interface PresentationListenerA listener for observing the lifecycle of presentations managed by the SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPresentationListener.PresentationContentDefines the types of content that can be loaded into a Presentable.
-
Method Summary
Modifier and Type Method Description abstract UnitonShow(Presentable<?> presentable)Invoked when a the presentable is shown. abstract UnitonHide(Presentable<?> presentable)Invoked when a presentable is hidden. abstract UnitonDismiss(Presentable<?> presentable)Invoked when a presentable is dismissed. abstract UnitonContentLoaded(Presentable<?> presentable, PresentationListener.PresentationContent presentationContent)Invoked when the content in the presentable is loaded. -
-
Method Detail
-
onShow
abstract Unit onShow(Presentable<?> presentable)
Invoked when a the presentable is shown.
- Parameters:
presentable- the Presentable that was shown
-
onHide
abstract Unit onHide(Presentable<?> presentable)
Invoked when a presentable is hidden.
- Parameters:
presentable- the Presentable that was hidden
-
onDismiss
abstract Unit onDismiss(Presentable<?> presentable)
Invoked when a presentable is dismissed.
- Parameters:
presentable- the Presentable that was dismissed
-
onContentLoaded
abstract Unit onContentLoaded(Presentable<?> presentable, PresentationListener.PresentationContent presentationContent)
Invoked when the content in the presentable is loaded.
- Parameters:
presentable- the Presentable into which that was loadedpresentationContent- optional PresentationContent that was loaded into the presentable
-
-
-
-