Android.Media.RingtoneManager Members

The members of Android.Media.RingtoneManager are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Constructs a RingtoneManager.
Constructs a RingtoneManager.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionRingtonePickerstring. Activity Action: Shows a ringtone picker.
const
ExtraRingtoneDefaultUristring. Given to the ringtone picker as a Android.Net.Uri.
const
ExtraRingtoneExistingUristring. Given to the ringtone picker as a Android.Net.Uri.
const
ExtraRingtoneIncludeDrmstring. Given to the ringtone picker as a boolean.
const
ExtraRingtonePickedUristring. Returned from the ringtone picker as a Android.Net.Uri.
const
ExtraRingtoneShowDefaultstring. Given to the ringtone picker as a boolean.
const
ExtraRingtoneShowSilentstring. Given to the ringtone picker as a boolean.
const
ExtraRingtoneTitlestring. Given to the ringtone picker as a Java.Lang.ICharSequence.
const
ExtraRingtoneTypestring. Given to the ringtone picker as an int.

Public Properties

[read-only]
CursorAndroid.Database.ICursor. Returns a Android.Database.ICursor of all the ringtones available.
IncludeDrmbool. Returns whether DRM ringtones will be included.
StopPreviousRingtonebool.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
GetActualDefaultRingtoneUri(Android.Content.Context, RingtoneType) : Android.Net.Uri
Gets the current default sound's Android.Net.Uri.
static
GetDefaultType(Android.Net.Uri) : RingtoneType
Returns the type of a default Android.Net.Uri.
static
GetDefaultUri(RingtoneType) : Android.Net.Uri
Returns the Android.Net.Uri for the default ringtone of a particular type.
GetRingtone(int) : Ringtone
Gets a Android.Media.Ringtone for the ringtone at the given position in the Android.Database.ICursor.
static
GetRingtone(Android.Content.Context, Android.Net.Uri) : Ringtone
Returns a Android.Media.Ringtone for a given sound URI.
GetRingtonePosition(Android.Net.Uri) : int
Gets the position of a Android.Net.Uri within this Android.Media.RingtoneManager.
GetRingtoneUri(int) : Android.Net.Uri
Gets a Android.Net.Uri for the ringtone at the given position in the Android.Database.ICursor.
static
GetValidRingtoneUri(Android.Content.Context) : Android.Net.Uri
Returns a valid ringtone URI.
InferStreamType() : Stream
Infers the playback stream type based on what type of ringtones this manager is returning.
InvokeStopPreviousRingtone()
Stops playing the last Android.Media.Ringtone retrieved from this.
static
IsDefault(Android.Net.Uri) : bool
Returns whether the given Android.Net.Uri is one of the default ringtones.
static
SetActualDefaultRingtoneUri(Android.Content.Context, RingtoneType, Android.Net.Uri)
Sets the Android.Net.Uri of the default sound for a given sound type.
SetType(RingtoneType)
Sets which type(s) of ringtones will be listed by this.