gh-pages / com.nextfaze.devfun.menu.controllers / KeySequence

KeySequence

class KeySequence : MenuController (source)

Allows toggling the Developer Menu using button/key sequences.

Two sequences are added by default:

Types

Name Summary
Definition data class Definition

Constructors

Name Summary
<init> KeySequence(context: Context, activityProvider: ActivityProvider, windowCallbacks: WindowCallbacks = devFun.get())
Allows toggling the Developer Menu using button/key sequences.

Properties

Name Summary
actionDescription val actionDescription: SpannableStringBuilder?
A human-readable description of how this controller is used.
title val title: String
A human-readable description of the name of this controller.

Functions

Name Summary
attach fun attach(developerMenu: DeveloperMenu): Unit
Called when this controller is being attached/initialized to a DeveloperMenu.
detach fun detach(): Unit
Called when this controller is being detached/removed from a DeveloperMenu.
minusAssign operator fun minusAssign(sequenceDefinition: Definition): Unit
onDismissed fun onDismissed(): Unit
Called when DeveloperMenu is dismissed.
onShown fun onShown(): Unit
Called when DeveloperMenu is shown.
plusAssign operator fun plusAssign(sequenceDefinition: Definition): Unit