The save ringtone task is used to launch the built-in Ringtones app, which enables the user to save an audio file to the system ringtones list and to optionally set it as the active ringtone on the device.
The ringtones list can be viewed by selecting the Ringtones + Sounds item on the phone’s system settings page.
After the audio file is added to the list, the user can set it as the ringtone for individual contacts in the Contacts application.
When the user finishes saving the contact, cancels out of the task, or an error occurs, the task’s
Completed event is raised.
SaveRingtoneTask should be defined as a field in your class, like so:
readonly SaveRingtoneTask saveRingtoneTask ...