ChannelCapture

ChannelCapture detects a knock when the application is foregrounded 6 times in 30 seconds. When a knock is detected, it writes the channel ID to the clipboard as ua:.

Inherited properties

Link copied to clipboard
protected val context: Context
Link copied to clipboard
Link copied to clipboard
protected val defaultExecutor: Executor
Default job executor.

Functions

Link copied to clipboard
open fun isEnabled(): Boolean
Returns true if channel capture is enabled, channelCaptureEnabled is set to true, otherwise false.
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Sets channel capture enabled