Język

CaptureContentForNoteResult Enum

Definition

Defines result codes for requests to capture content for a note.

public enum CaptureContentForNoteResult
type CaptureContentForNoteResult = 
Inheritance
CaptureContentForNoteResult

Fields

Name Value Description
Success 0

A response code used with Intent.ExtraCaptureContentForNoteStatusCode to indicate that the request was a success. This code will only be returned after the user has interacted with the system screenshot activity to consent to sharing the data with the note. The captured screenshot is returned as a Uri through Intent.Data . Constant Value: 0 (0x00000000)

Failed 1

A response code used with Intent.ExtraCaptureContentForNoteStatusCode to indicate that something went wrong.

UserCanceled 2

A response code used with Intent.ExtraCaptureContentForNoteStatusCode to indicate that user canceled the content capture flow.

WindowModeUnsupported 3

A response code used with Intent.ExtraCaptureContentForNoteStatusCode to indicate that the intent action Intent.ActionLaunchCaptureContentActivityForNote was started by an activity that is running in a non-supported window mode.

BlockedByAdmin 4

A response code used with Intent.ExtraCaptureContentForNoteStatusCode to indicate that screenshot is blocked by IT admin.

Remarks

Defines result codes for requests to capture content for a note.

Java documentation for android.content.Intent.

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