MediaCapture.GetPreviewRotation Method

Definition

Gets the rotation of the video preview stream.

public:
 virtual VideoRotation GetPreviewRotation() = GetPreviewRotation;
VideoRotation GetPreviewRotation();
public VideoRotation GetPreviewRotation();
function getPreviewRotation()
Public Function GetPreviewRotation () As VideoRotation

Returns

VideoRotation

The amount by which the video preview stream is rotated.

Windows requirements

App capabilities
backgroundMediaRecording microphone webcam

Applies to