WakeLockProximityDelegate

Wake Lock Proximity Delegate representing a class capable on operating on the hardware screen

Properties

Link copied to clipboard
abstract val application: Application

Application the application

Link copied to clipboard
abstract val call: CallUI

CallUI the call Ui

Link copied to clipboard

Boolean flag indicating if the screen is currently turned off, true if turned off, false otherwise

Functions

Link copied to clipboard
abstract fun bind()

Enable the WakeLockProximityDelegate

Link copied to clipboard
abstract fun destroy()

Destroy the WakeLockProximityDelegate

Link copied to clipboard
abstract fun restoreScreenOn()

Try to turn the hardware screen on

Link copied to clipboard
abstract fun tryTurnScreenOff()

Try to turn the hardware screen off