Language

DownloadVisibility Enum

Definition

Enumerates values returned by several types and taken as a parameter of the F:Android.App.DownloadManager+Request.SetNotificationVisibility member.

public enum DownloadVisibility
type DownloadVisibility = 
Inheritance
DownloadVisibility

Fields

Name Value Description
Visible 0

The system shows a notification while this download is in progress.

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

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.

VisibleNotifyCompleted 1

The system shows a notification while this download is in progress and after it completes.

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

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.

Hidden 2

The system does not show a notification for this download. This value does not determine whether the download appears in the Downloads UI.

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

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.

VisibleNotifyOnlyCompletion 3

The system shows a notification only after this download completes. AddCompletedDownload(String, String, Boolean, String, String, Int64, Boolean) uses this value when its showNotification argument is true.

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

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.

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