DownloadManager.Request.SetNotificationVisibility(DownloadVisibility) 方法

定义

控制下载管理器在下载运行时还是完成时,下载管理器发布系统通知。

[Android.Runtime.Register("setNotificationVisibility", "(I)Landroid/app/DownloadManager$Request;", "GetSetNotificationVisibility_IHandler")]
public virtual Android.App.DownloadManager.Request? SetNotificationVisibility (Android.App.DownloadVisibility visibility);
[<Android.Runtime.Register("setNotificationVisibility", "(I)Landroid/app/DownloadManager$Request;", "GetSetNotificationVisibility_IHandler")>]
abstract member SetNotificationVisibility : Android.App.DownloadVisibility -> Android.App.DownloadManager.Request
override this.SetNotificationVisibility : Android.App.DownloadVisibility -> Android.App.DownloadManager.Request

参数

visibility
DownloadVisibility

可见性设置值

返回

属性

注解

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

适用于