MediaCapture.GetPreviewRotation MediaCapture.GetPreviewRotation MediaCapture.GetPreviewRotation MediaCapture.GetPreviewRotation MediaCapture.GetPreviewRotation Method

Definition

Gets the rotation of the video preview stream.

public : VideoRotation GetPreviewRotation()
VideoRotation GetPreviewRotation() const;
public VideoRotation GetPreviewRotation()
Public Function GetPreviewRotation() As VideoRotation
var videoRotation = mediaCapture.getPreviewRotation();

Returns

The amount by which the video preview stream is rotated.

Additional features and requirements

Capabilities
webcam backgroundMediaRecording microphone