ChapterListener

interface ChapterListener

Provides an interface for listeners for Chapter change events.

Functions

Link copied to clipboard
abstract fun enter(chapter: Chapter, transition: ChapterTransition)

Invoke the listener to notify entry of a specified chapter with a specified transition.

Link copied to clipboard
abstract fun exit(chapter: Chapter)

Invoke the listener to notify exit of a specified chapter.