Partager via


RingtoneManager.SetType(RingtoneType) Method

Definition

Sets which type(s) of ringtones will be listed by this.

[Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")]
public virtual void SetType (Android.Media.RingtoneType type);
[<Android.Runtime.Register("setType", "(I)V", "GetSetType_IHandler")>]
abstract member SetType : Android.Media.RingtoneType -> unit
override this.SetType : Android.Media.RingtoneType -> unit

Parameters

type
RingtoneType

The type(s), one or more of #TYPE_RINGTONE, #TYPE_NOTIFICATION, #TYPE_ALARM, #TYPE_ALL.

Attributes

Remarks

Sets which type(s) of ringtones will be listed by this.

Java documentation for android.media.RingtoneManager.setType(int).

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