RingtoneManager.SetActualDefaultRingtoneUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the Uri
of the default sound for a given sound type.
[Android.Runtime.Register("setActualDefaultRingtoneUri", "(Landroid/content/Context;ILandroid/net/Uri;)V", "")]
public static void SetActualDefaultRingtoneUri (Android.Content.Context? context, Android.Media.RingtoneType type, Android.Net.Uri? ringtoneUri);
[<Android.Runtime.Register("setActualDefaultRingtoneUri", "(Landroid/content/Context;ILandroid/net/Uri;)V", "")>]
static member SetActualDefaultRingtoneUri : Android.Content.Context * Android.Media.RingtoneType * Android.Net.Uri -> unit
Parameters
- context
- Context
A context used for querying.
- type
- RingtoneType
The type whose default sound should be set. One of
#TYPE_RINGTONE
, #TYPE_NOTIFICATION
, or
#TYPE_ALARM
.
- ringtoneUri
- Uri
A Uri
pointing to the default sound to set.
- Attributes
Remarks
Sets the Uri
of the default sound for a given sound type.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
See also
- <xref:Android.Media.RingtoneManager.GetActualDefaultRingtoneUri(Android.Content.Context%2c+Android.Media.RingtoneType)>