VolumedeckBackgroundService

This service runs in the background and listens to the user's location to adjust the volume of the device based on speed. It displays a notification to the user indicating that the service is running. Make sure to add the corresponding service declaration to your AndroidManifest.xml file, in order to run Volumedeck SDK in the background.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Indicates whether the service is started.

Functions

Link copied to clipboard
open override fun onBind(intent: Intent): IBinder?

Called when the service is bound to an intent.

Link copied to clipboard
open override fun onCreate()

Called when the service is created.

Link copied to clipboard
open override fun onDestroy()

Called when the service is destroyed.

Link copied to clipboard
open override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int

Called when the service is started.