setIsPlaybackForegrounded

open fun setIsPlaybackForegrounded(foregrounded: Boolean)

Set if the playback is attached to an on-going notification in a foreground service.

Parameters

foregrounded

If the playback is attached to a service.