CapturedFrame 클래스

정의

캡처된 비디오 프레임을 나타냅니다.

public ref class CapturedFrame sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.GCPressure]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CapturedFrame final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.GCPressure]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CapturedFrame : System.IDisposable
Public NotInheritable Class CapturedFrame
Implements IDisposable
상속
Object Platform::Object IInspectable CapturedFrame
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

AdvancedPhotoCapture, LowLagPhotoCapture,LowLagPhotoSequenceCapture 및VariablePhotoSequenceCapture를 포함하여 MediaCapture 클래스를 사용하여 사진을 캡처하는 여러 가지 기술이 있습니다. 이러한 각 기술에 사용되는 API 집합은 다양하지만 궁극적으로 캡처된 사진을 CapturedFrame 개체 형식으로 반환합니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1803 17134 BitmapProperties
1803 17134 ControlValues

속성

BitmapProperties

CapturedFrame에 대한 비트맵 속성을 포함하는 개체를 가져옵니다. 이러한 속성은 EXIF 데이터와 같은 이미지 메타데이터를 전달합니다.

CanRead

캡처된 프레임을 읽을 수 있는지를 나타내는 값을 가져옵니다.

CanWrite

캡처된 프레임을 쓸 수 있는지를 나타내는 값을 가져옵니다.

ContentType

캡처된 프레임의 콘텐츠 형식을 가져옵니다.

ControlValues

CaptureedFrame에 대한 캡처 컨트롤 메타데이터가 포함된 개체를 가져옵니다. 캡처 컨트롤은 ISO 및 노출과 같은 캡처 설정을 조정합니다.

Height

캡처된 프레임의 높이를 가져옵니다.

Position

캡처된 프레임의 위치를 가져옵니다.

Size

캡처된 프레임의 크기를 바이트 단위로 가져옵니다.

SoftwareBitmap

캡처된 프레임을 나타내는 SoftwareBitmap 개체를 가져옵니다.

Width

캡처된 프레임의 너비를 가져옵니다.

메서드

CloneStream()

스트림의 복사본을 만듭니다.

Close()

캡처된 프레임 개체를 닫습니다.

Dispose()

관리되지 않는 리소스의 확보, 해제 또는 다시 설정과 관련된 애플리케이션 정의 작업을 수행합니다.

FlushAsync()

CapturedFrame의 모든 데이터를 비동기적으로 커밋하고 플러시합니다.

GetInputStreamAt(UInt64)

지정된 위치에 있는 입력 스트림을 가져옵니다.

GetOutputStreamAt(UInt64)

지정된 위치에 있는 출력 스트림을 가져옵니다.

ReadAsync(IBuffer, UInt32, InputStreamOptions)

비동기 바이트 판독기 개체를 반환합니다.

Seek(UInt64)

지정된 위치로 스트림을 찾습니다.

WriteAsync(IBuffer)

지정된 데이터를 스트림에 비동기적으로 씁니다.

적용 대상

추가 정보