LowLagPhotoControl LowLagPhotoControl LowLagPhotoControl LowLagPhotoControl Class

Provides functionality for managing the low shutter lag photo capture mode on the capture device.

Syntax

Declaration

public sealed class LowLagPhotoControlpublic sealed class LowLagPhotoControlPublic NotInheritable Class LowLagPhotoControlpublic sealed class LowLagPhotoControl

Remarks

You can access the LowLagPhotoControl for the capture device through 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 summary

Gets or sets the desired size for thumbnails, which is the largest length of the image, either width or height.

Gets a value that specifies if hardware acceleration is supported for thumbnails.

Gets a value that enables and disables thumbnail support.

Gets or sets the media format for the thumbnails.

Methods summary

Gets the current frame rate at which pictures can be taken.

Gets the highest frame rate supported when video and photos are being captured concurrently.

Properties

  • DesiredThumbnailSize
    DesiredThumbnailSize
    DesiredThumbnailSize
    DesiredThumbnailSize

    Gets or sets the desired size for thumbnails, which is the largest length of the image, either width or height.

    public uint DesiredThumbnailSize { get; set; }public uint DesiredThumbnailSize { get; set; }Public ReadWrite Property DesiredThumbnailSize As uintpublic uint DesiredThumbnailSize { get; set; }

    Property Value

    • uint
      uint
      uint
      uint

      The desired thumbnail size.

    Remarks

    The actual dimension of the thumbnail is not guaranteed to be the value specified by DesiredThumbnailSize, but the system will attempt to create thumbnails as close as possible to this value.

  • HardwareAcceleratedThumbnailSupported
    HardwareAcceleratedThumbnailSupported
    HardwareAcceleratedThumbnailSupported
    HardwareAcceleratedThumbnailSupported

    Gets a value that specifies if hardware acceleration is supported for thumbnails.

    public uint HardwareAcceleratedThumbnailSupported { get; }public uint HardwareAcceleratedThumbnailSupported { get; }Public ReadOnly Property HardwareAcceleratedThumbnailSupported As uintpublic uint HardwareAcceleratedThumbnailSupported { get; }

    Property Value

    • uint
      uint
      uint
      uint

      true if hardware acceleration for thumbnails is supported; otherwise, false.

  • ThumbnailEnabled
    ThumbnailEnabled
    ThumbnailEnabled
    ThumbnailEnabled

    Gets a value that enables and disables thumbnail support.

    public bool ThumbnailEnabled { get; set; }public bool ThumbnailEnabled { get; set; }Public ReadWrite Property ThumbnailEnabled As boolpublic bool ThumbnailEnabled { get; set; }

    Property Value

    • bool
      bool
      bool
      bool

      true if thumbnails are enabled; otherwise, false.

  • ThumbnailFormat
    ThumbnailFormat
    ThumbnailFormat
    ThumbnailFormat

    Gets or sets the media format for the thumbnails.

    public MediaThumbnailFormat ThumbnailFormat { get; set; }public MediaThumbnailFormat ThumbnailFormat { get; set; }Public ReadWrite Property ThumbnailFormat As MediaThumbnailFormatpublic MediaThumbnailFormat ThumbnailFormat { get; set; }

    Property Value

Methods

  • GetCurrentFrameRate()
    GetCurrentFrameRate()
    GetCurrentFrameRate()
    GetCurrentFrameRate()

    Gets the current frame rate at which pictures can be taken.

    public MediaRatio GetCurrentFrameRate()public MediaRatio GetCurrentFrameRate()Public Function GetCurrentFrameRate() As MediaRatiopublic MediaRatio GetCurrentFrameRate()

    Returns

  • GetHighestConcurrentFrameRate(IMediaEncodingProperties)
    GetHighestConcurrentFrameRate(IMediaEncodingProperties)
    GetHighestConcurrentFrameRate(IMediaEncodingProperties)
    GetHighestConcurrentFrameRate(IMediaEncodingProperties)

    Gets the highest frame rate supported when video and photos are being captured concurrently.

    public MediaRatio GetHighestConcurrentFrameRate(IMediaEncodingProperties captureProperties)public MediaRatio GetHighestConcurrentFrameRate(IMediaEncodingProperties captureProperties)Public Function GetHighestConcurrentFrameRate(captureProperties As IMediaEncodingProperties) As MediaRatiopublic MediaRatio GetHighestConcurrentFrameRate(IMediaEncodingProperties captureProperties)

    Parameters

    Returns

    Remarks

    The ConcurrentRecordAndPhotoSupported property on the MediaCapture class specifies if the capture device supports capturing videos and photos at the same time.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Media.Devices.dll