[SailfishDevel] How to change global volume

Andrey Kozhevnikov coderusinbox at gmail.com
Mon Jan 12 09:31:57 UTC 2015


If you developing qml app and don't want to publish app to Harbour you 
can use:

import Sailfish.Ambience 1.0

Profile {
     id: profileControl
}

or

import org.nemomobile.systemsettings 1.0

ProfileControl {
     id: profileControl
}

and set profileControl.ringerVolume from 1 to 100

25.12.2014 17:05, qt_junkie пишет:
> Hi,
>
> does anyone know how can I programmatically change the global volume 
> of the phone?
>
> There is Nemo D-Bus interface but it seems not to be used in
> Jolla: https://wiki.merproject.org/wiki/Nemo/Audio/MainVolume
>
> Does anyone know the proper way to do it?
>
> Thanks!
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150112/1df5bdcb/attachment.html>


More information about the Devel mailing list