Język

DocumentSyncStateFlags Enum

Definition

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum DocumentSyncStateFlags
[<System.Flags>]
type DocumentSyncStateFlags = 
Inheritance
DocumentSyncStateFlags
Attributes

Fields

Name Value Description
AvailableLocally 1

Flag indicating that the document's contents are available locally. When the device does not have internet connection, certain document operations may be disabled, see Root.FLAG_LIMITED_FUNCTIONALITY_WHEN_OFFLINE for more details.

Android reference for android.provider.DocumentsContract.Document.SYNC_STATE_FLAG_AVAILABLE_LOCALLY.

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.

LocalChanges 2

Flag indicating that the local version of the document has changes that require an upload. This flag is only meaningful if SYNC_STATE_FLAG_AVAILABLE_LOCALLY is also set.

Android reference for android.provider.DocumentsContract.Document.SYNC_STATE_FLAG_LOCAL_CHANGES.

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.

UploadProgress 4

Flag indicating that an upload of local changes is currently in progress. This flag typically implies SYNC_STATE_FLAG_AVAILABLE_LOCALLY and SYNC_STATE_FLAG_LOCAL_CHANGES are also set.

Android reference for android.provider.DocumentsContract.Document.SYNC_STATE_FLAG_UPLOAD_PROGRESS.

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.

DownloadProgress 8

Flag indicating that a download of remote changes is currently in progress.

Android reference for android.provider.DocumentsContract.Document.SYNC_STATE_FLAG_DOWNLOAD_PROGRESS.

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.

UploadError 16

Flag indicating that the last upload attempt resulted in an error. This flag typically implies SYNC_STATE_FLAG_AVAILABLE_LOCALLY and SYNC_STATE_FLAG_LOCAL_CHANGES are also set.

Android reference for android.provider.DocumentsContract.Document.SYNC_STATE_FLAG_UPLOAD_ERROR.

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.

DownloadError 32

Flag indicating that the last download attempt resulted in an error.

Android reference for android.provider.DocumentsContract.Document.SYNC_STATE_FLAG_DOWNLOAD_ERROR.

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