LowLagPhotoControl Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides functionality for managing the low shutter lag photo capture mode on the capture device.
public ref class LowLagPhotoControl sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class LowLagPhotoControl final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class LowLagPhotoControl
Public NotInheritable Class LowLagPhotoControl
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
You can access the LowLagPhotoControl for the capture device through MediaCapture.VideoDeviceController.
Thumbnails are supported for a low shutter lag single photos and photo sequences.
To enable thumbnails, set ThumbnailEnabled to true.
You can set the desired thumbnail size through DesiredThumbnailSize and set the thumbnail format through ThumbnailFormat.
Properties
DesiredThumbnailSize |
Gets or sets the desired size for thumbnails, which is the largest length of the image, either width or height. |
HardwareAcceleratedThumbnailSupported |
Gets a value that specifies if hardware acceleration is supported for thumbnails. |
ThumbnailEnabled |
Gets a value that enables and disables thumbnail support. |
ThumbnailFormat |
Gets or sets the media format for the thumbnails. |
Methods
GetCurrentFrameRate() |
Gets the current frame rate at which pictures can be taken. |
GetHighestConcurrentFrameRate(IMediaEncodingProperties) |
Gets the highest frame rate supported when video and photos are being captured concurrently. |