Share via


RingtoneManager Constructors

Definition

Overloads

RingtoneManager(Activity)

Constructs a RingtoneManager.

RingtoneManager(Context)

Constructs a RingtoneManager.

RingtoneManager(IntPtr, JniHandleOwnership)

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

RingtoneManager(Activity)

Constructs a RingtoneManager.

[Android.Runtime.Register(".ctor", "(Landroid/app/Activity;)V", "")]
public RingtoneManager (Android.App.Activity? activity);
[<Android.Runtime.Register(".ctor", "(Landroid/app/Activity;)V", "")>]
new Android.Media.RingtoneManager : Android.App.Activity -> Android.Media.RingtoneManager

Parameters

activity
Activity

The activity used to get a managed cursor.

Attributes

Remarks

Constructs a RingtoneManager. This constructor is recommended as its constructed instance manages cursor(s).

Java documentation for android.media.RingtoneManager.RingtoneManager(android.app.Activity).

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

RingtoneManager(Context)

Constructs a RingtoneManager.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public RingtoneManager (Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Media.RingtoneManager : Android.Content.Context -> Android.Media.RingtoneManager

Parameters

context
Context

The context to used to get a cursor.

Attributes

Remarks

Constructs a RingtoneManager. The instance constructed by this constructor will not manage the cursor(s), so the client should handle this itself.

Java documentation for android.media.RingtoneManager.RingtoneManager(android.content.Context).

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

RingtoneManager(IntPtr, JniHandleOwnership)

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

protected RingtoneManager (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Media.RingtoneManager : nativeint * Android.Runtime.JniHandleOwnership -> Android.Media.RingtoneManager

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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