gh-pages / com.nextfaze.devfun.overlay

Package com.nextfaze.devfun.overlay

Types

Name Summary
Dock enum class Dock
OverlayManager interface OverlayManager
Handles creation, destruction, and visibility of overlays.
OverlayPermissions interface OverlayPermissions
Handles overlay permissions.
OverlayWindow interface OverlayWindow
Overlay windows are used by DevFun to display the loggers DeveloperLogger and DevMenu cog.
VisibilityScope enum class VisibilityScope
Determines when an overlay can be visible.

Type Aliases

Name Summary
AttachListener typealias AttachListener = (attached: Boolean) -> Unit
ClickListener typealias ClickListener = (OverlayWindow) -> Unit
OverlayPermissionListener typealias OverlayPermissionListener = (havePermission: Boolean) -> Unit
OverlayReason typealias OverlayReason = () -> CharSequence
VisibilityListener typealias VisibilityListener = (visible: Boolean) -> Unit
VisibilityPredicate typealias VisibilityPredicate = (Context) -> Boolean