Udostępnij za pośrednictwem


Ringtone.GetTitle(Context) Method

Definition

Returns a human-presentable title for ringtone.

[Android.Runtime.Register("getTitle", "(Landroid/content/Context;)Ljava/lang/String;", "GetGetTitle_Landroid_content_Context_Handler")]
public virtual string? GetTitle (Android.Content.Context? context);
[<Android.Runtime.Register("getTitle", "(Landroid/content/Context;)Ljava/lang/String;", "GetGetTitle_Landroid_content_Context_Handler")>]
abstract member GetTitle : Android.Content.Context -> string
override this.GetTitle : Android.Content.Context -> string

Parameters

context
Context

A context used for querying.

Returns

Attributes

Remarks

Returns a human-presentable title for ringtone. Looks in media content provider. If not in either, uses the filename

Java documentation for android.media.Ringtone.getTitle(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