共用方式為


Intent.ActionLaunchCaptureContentActivityForNote Field

Definition

Activity Action: Use with startActivityForResult to start a system activity that captures content on the screen to take a screenshot and present it to the user for editing.

[Android.Runtime.Register("ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE", ApiSince=34)]
[Android.Runtime.RequiresPermission("android.permission.LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE")]
public const string ActionLaunchCaptureContentActivityForNote;
[<Android.Runtime.Register("ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE", ApiSince=34)>]
[<Android.Runtime.RequiresPermission("android.permission.LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE")>]
val mutable ActionLaunchCaptureContentActivityForNote : string

Field Value

Implements

Attributes

Remarks

Activity Action: Use with startActivityForResult to start a system activity that captures content on the screen to take a screenshot and present it to the user for editing. The edited screenshot is saved on device and returned to the calling activity as a Uri through #getData(). User interaction is required to return the edited screenshot to the calling activity.

This intent action requires the permission android.Manifest.permission#LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE.

Callers should query StatusBarManager#canLaunchCaptureContentActivityForNote(Activity) before showing a UI element that allows users to trigger this flow.

Java documentation for android.content.Intent.ACTION_LAUNCH_CAPTURE_CONTENT_ACTIVITY_FOR_NOTE.

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