MediaStore.ActionMotionPhotoCapture Field

Definition

Standard Intent action that can be sent to have the camera application capture a motion photo and return it.

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

Field Value

Attributes

Remarks

Standard Intent action that can be sent to have the camera application capture a motion photo and return it.

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.

Note: If your app declares as using the android.Manifest.permission#CAMERA permission which is not granted, then attempting to use this action will result in a java.lang.SecurityException.

Java documentation for android.provider.MediaStore.ACTION_MOTION_PHOTO_CAPTURE.

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