CameraStreamState Enum
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.
Defines the state of a camera stream.
public enum class CameraStreamState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CameraStreamState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CameraStreamState
var value = Windows.Media.Devices.CameraStreamState.notStreaming
Public Enum CameraStreamState
- Inheritance
-
CameraStreamState
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
NotStreaming | 0 | The camera stream is not currently streaming. |
Streaming | 1 | The camera stream is currently streaming. |
BlockedForPrivacy | 2 | Frames in the stream are being dropped for privacy reasons. |
Shutdown | 3 | The camera stream has been shut down. |