Android.Media.RingtoneManager.SetActualDefaultRingtoneUri Method
Sets the Android.Net.Uri of the default sound for a given sound type.

Syntax

[Android.Runtime.Register("setActualDefaultRingtoneUri", "(Landroid/content/Context;ILandroid/net/Uri;)V", "")]
public static void SetActualDefaultRingtoneUri (Android.Content.Context context, [Android.Runtime.GeneratedEnum] RingtoneType type, Android.Net.Uri ringtoneUri)

See Also

RingtoneManager.GetActualDefaultRingtoneUri(Android.Content.Context, Android.Media.RingtoneType)

Parameters

context
A context used for querying.
type
The type whose default sound should be set. One of RingtoneManager.TYPE_RINGTONE, RingtoneManager.TYPE_NOTIFICATION, or RingtoneManager.TYPE_ALARM.
ringtoneUri
A Android.Net.Uri pointing to the default sound to set.

Remarks

Sets the Android.Net.Uri of the default sound for a given sound type.

[Android Documentation]

Requirements

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