nsIDOMMozWakeLockListener

Methods

callback(aTopic, aState)

The callback will be called when a lock topic changes its lock
state.

Possible states are:

Parameters

aTopic The resource name related to the wake lock.
aState The wake lock state