DownloadManager.Request.SetDescription 方法

定义

重载

SetDescription(ICharSequence)

设置此下载的说明,以显示在通知中(如果已启用)

SetDescription(String)

SetDescription(ICharSequence)

设置此下载的说明,以显示在通知中(如果已启用)

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

参数

description
ICharSequence

返回

属性

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

SetDescription(String)

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

参数

description
String

返回

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于