Android.Preferences.RingtonePreference Class
A Android.Preferences.Preference that allows the user to choose a ringtone from those on the device.

See Also: RingtonePreference Members

Syntax

[Android.Runtime.Register("android/preference/RingtonePreference", DoNotGenerateAcw=true)]
public class RingtonePreference : Preference, PreferenceManager.IOnActivityResultListener, IDisposable

Remarks

A Android.Preferences.Preference that allows the user to choose a ringtone from those on the device. The chosen ringtone's URI will be persisted as a string.

If the user chooses the "Default" item, the saved string will be one of NoType:android/provider/Settings$System;Href=../../../reference/android/provider/Settings.System.html#DEFAULT_RINGTONE_URI, NoType:android/provider/Settings$System;Href=../../../reference/android/provider/Settings.System.html#DEFAULT_NOTIFICATION_URI, or NoType:android/provider/Settings$System;Href=../../../reference/android/provider/Settings.System.html#DEFAULT_ALARM_ALERT_URI. If the user chooses the "Silent" item, the saved string will be an empty string.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1