Volumedeck
class Volumedeck @JvmOverloads constructor(activity: Activity, autoStart: Boolean = true, var locationServicesStatusChange: (Boolean) -> Unit? = null, var onLocationUpdate: (speed: Float, volume: Float) -> Unit? = null, var onStart: () -> Unit? = null, var onStop: () -> Unit? = null, activationKey: String? = null, runInBackground: Boolean = false, showStopButtonInNotification: Boolean = false, notificationTitle: String? = null, notificationSubtitle: String? = null, notificationStopButtonText: String? = null, notificationIcon: Int? = null)
Volumedeck provides automatic volume adjustment based on GPS speed, improving the media-listening experience for users in vehicles and public transport.
Constructors
Link copied to clipboard
constructor(activity: Activity, autoStart: Boolean = true, locationServicesStatusChange: (Boolean) -> Unit? = null, onLocationUpdate: (speed: Float, volume: Float) -> Unit? = null, onStart: () -> Unit? = null, onStop: () -> Unit? = null, activationKey: String? = null, runInBackground: Boolean = false, showStopButtonInNotification: Boolean = false, notificationTitle: String? = null, notificationSubtitle: String? = null, notificationStopButtonText: String? = null, notificationIcon: Int? = null)