Language

DataShareError Enum

Definition

Identifies an error reported during a content-capture data-sharing request.

public enum DataShareError
type DataShareError = 
Inheritance
DataShareError

Fields

Name Value Description
Unknown 1

Error happened during the data sharing session.

Android reference for android.view.contentcapture.ContentCaptureManager.DATA_SHARE_ERROR_UNKNOWN.

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.

ConcurrentRequest 2

Request has been rejected, because a concurrent data share sessions is in progress.

Android reference for android.view.contentcapture.ContentCaptureManager.DATA_SHARE_ERROR_CONCURRENT_REQUEST.

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.

TimeoutInterrupted 3

Request has been interrupted because of data share session timeout.

Android reference for android.view.contentcapture.ContentCaptureManager.DATA_SHARE_ERROR_TIMEOUT_INTERRUPTED.

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

The codes distinguish an unspecified failure, a concurrent request, and interruption by a session timeout. Each value is a separate error code, not a combination of flags.

Applies to