MediaStore.ActionMotionPhotoCaptureSecure Field

Definition

Intent action that can be sent to have the camera application capture a motion photo and return it when the device is secured (e.

[Android.Runtime.Register("ACTION_MOTION_PHOTO_CAPTURE_SECURE", ApiSince=36)]
public const string ActionMotionPhotoCaptureSecure;
[<Android.Runtime.Register("ACTION_MOTION_PHOTO_CAPTURE_SECURE", ApiSince=36)>]
val mutable ActionMotionPhotoCaptureSecure : string

Field Value

Attributes

Remarks

Intent action that can be sent to have the camera application capture a motion photo and return it when the device is secured (e.g. with a pin, password, pattern, or face unlock). Applications responding to this intent must not expose any personal content like existing photos or videos on the device. The applications should be careful not to share any photo or video with other applications or Internet. The activity should use Activity#setShowWhenLocked to display on top of the lock screen while secured. There is no activity stack when this flag is used, so launching more than one activity is strongly discouraged.

The caller must either pass an extra EXTRA_OUTPUT to control where the image will be written, or a uri through android.content.Intent#setClipData(ClipData). If you don't set a ClipData, it will be copied there for you when calling Context#startActivity(Intent).

When an image is captured via this intent, android.hardware.Camera#ACTION_NEW_PICTURE won't be broadcasted.

Java documentation for android.provider.MediaStore.ACTION_MOTION_PHOTO_CAPTURE_SECURE.

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