Język

DownloadManager.Request.SetTitle Method

Definition

Overloads

Name Description
SetTitle(ICharSequence)

Set the title of this download, to be displayed in notifications (if enabled).

SetTitle(String)

Set the title of this download, to be displayed in notifications (if enabled).

SetTitle(ICharSequence)

Set the title of this download, to be displayed in notifications (if enabled).

[Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/app/DownloadManager$Request;", "GetSetTitle_Ljava_lang_CharSequence_Handler")]
public virtual Android.App.DownloadManager.Request? SetTitle(Java.Lang.ICharSequence? title);
[<Android.Runtime.Register("setTitle", "(Ljava/lang/CharSequence;)Landroid/app/DownloadManager$Request;", "GetSetTitle_Ljava_lang_CharSequence_Handler")>]
abstract member SetTitle : Java.Lang.ICharSequence -> Android.App.DownloadManager.Request
override this.SetTitle : Java.Lang.ICharSequence -> Android.App.DownloadManager.Request

Parameters

title
ICharSequence

CharSequence

Returns

this object

Attributes

Remarks

Set the title of this download, to be displayed in notifications (if enabled). If no title is given, a default one will be assigned based on the download filename, once the download starts.

Android reference for android.app.DownloadManager.Request.setTitle.

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

SetTitle(String)

Set the title of this download, to be displayed in notifications (if enabled).

public Android.App.DownloadManager.Request? SetTitle(string? title);
member this.SetTitle : string -> Android.App.DownloadManager.Request

Parameters

title
String

CharSequence

Returns

this object

Remarks

Set the title of this download, to be displayed in notifications (if enabled). If no title is given, a default one will be assigned based on the download filename, once the download starts.

Android reference for android.app.DownloadManager.Request.setTitle.

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