SLWakeLock

class SLWakeLock(androidContext: Context)

Service for managing wakelocks held by the SDK.

Parameters

androidContext

the android context (activity or service) the SDK is running within.

Constructors

Link copied to clipboard
constructor(androidContext: Context)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Acquires the wakelock. Does nothing if the lock already is acquired.

Link copied to clipboard

Release the currently held wakelock. Does nothing if the lock is already acquired.