setIsPlaybackForegrounded
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.
Set if the playback is attached to an on-going notification in a foreground service.
If the playback is attached to a service.