Share via


MediaCapture.CameraStreamState Property

Definition

Gets the current stream state of the camera stream.

public:
 property CameraStreamState CameraStreamState { CameraStreamState get(); };
CameraStreamState CameraStreamState();
public CameraStreamState CameraStreamState { get; }
var cameraStreamState = mediaCapture.cameraStreamState;
Public ReadOnly Property CameraStreamState As CameraStreamState

Property Value

The current stream state of the camera stream.

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

The state of the camera stream will change when recording is paused or resumed, when the system drops frames for privacy reasons, or when the camera stream is lost. To be notified when the camera stream state changes, handle the CameraStreamStateChanged event.

Applies to

See also