MediaCapture.CapturePhotoToStreamAsync 메서드

정의

임의 액세스 스트림에 사진을 캡처합니다.

public:
 virtual IAsyncAction ^ CapturePhotoToStreamAsync(ImageEncodingProperties ^ type, IRandomAccessStream ^ stream) = CapturePhotoToStreamAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction CapturePhotoToStreamAsync(ImageEncodingProperties const& type, IRandomAccessStream const& stream);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction CapturePhotoToStreamAsync(ImageEncodingProperties type, IRandomAccessStream stream);
function capturePhotoToStreamAsync(type, stream)
Public Function CapturePhotoToStreamAsync (type As ImageEncodingProperties, stream As IRandomAccessStream) As IAsyncAction

매개 변수

type
ImageEncodingProperties

출력 이미지의 인코딩 속성입니다.

stream
IRandomAccessStream

이미지 데이터가 기록되는 스트림입니다.

반환

비동기 작업을 제어하는 데 사용되는 IAsyncAction 개체를 반환합니다.

특성

Windows 요구 사항

앱 기능
backgroundMediaRecording microphone webcam

적용 대상