Universal Volume Control - Volume and BackgroundAudioPlayer.Instance.Volume
By : Edward
Date : March 29 2020, 07:55 AM
wish of those help You can't affect the volume as displayed in the UVC. The phone's volume is up to the user to control. The volume you can set for the BAP (and for MediaElement) is the relative volume within the app. In theory, setting the UVC volume to 30 and the BAP volume to 0.5 should be equivalent to setting the UVC volume to 15 and the BAP volume to 1.0. Unless you want/need the volume of what you're playing via the BPA (or MediaElement) to be quieter relative to the other sounds on the phone always set the BAP volume to 1.0.
How to show Android system volume control programmatically