MediaCapture.CameraStreamState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.