Windows.Media.Capture Namespace
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.
Provides classes for the capture of photos, audio recordings, and videos.
Advanced |
Represents a photo captured using system-provided computational photography techniques provided by the AdvancedPhotoCapture class. |
Advanced |
Provides methods for capturing photos using system-provided computational photography techniques. |
App |
Provides an interface between the broadcasting UWP app and the system-hosted broadcast service. This class provides access to objects that facilitate broadcast service authentication, test the bandwidth capabilities of the device's internet to the broadcasting provider service, and allow your task to acquire captured audio and video frames so that they can be sent to the broadcast provider service. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Represents the sign-in information for the app broadcast background service. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Manages the stream state of the app broadcast background service. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcast.CameraCaptureStateChanged event. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies global broadcasting settings that persist across all broadcasting UWP apps. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastBackgroundService.HeartbeatRequested event which is raised by the system periodically to confirm that the broadcasting background task is currently active. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides access to global broadcast settings for the current device and broadcast provider settings. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastState.MicrophoneCaptureStateChanged event. |
App |
Provides information about the app broadcast plugin. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Manages app broadcast plugins. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastState.PlugInStateChanged event. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides status information and access to the app broadcast preview. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastPreview.PreviewStateChanged event. |
App |
Provides information about and access to the app broadcast preview stream. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Represents a video frame from the app broadcast preview stream. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Represents metadata about an app broadcast preview stream video frame. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides access to the settings of the remote broadcast provider service. These settings can be viewed and changed by the broadcast provider. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Manages the state of app broadcasts. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastBackgroundServiceSignInInfo.SignInStateChanged event. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Represents and manages the state of an app broadcast. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Represents a frame of audio samples in a broadcast stream. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides metadata about a broadcast audio frame. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides methods and events for obtaining audio and video frames from an app broadcast stream. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastState.StreamStateChanged event. |
App |
Represents a video frame in a broadcast stream. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides metadata about a broadcast video frame. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides details associated with a broadcast app background task. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Provides data for the AppBroadcastViewerCountChanged event. |
App |
Provides information about the app capture feature. |
App |
Defines alternate shortcut keys for app capture. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Provides data for the AppCaptureRecordOperation.DurationGenerated event. |
App |
Provides data for the AppCaptureRecordOperation.FileGenerated event. |
App |
Provides access to app capture settings. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Enables an app to store metadata that the system will insert into captured video files or broadcast streams of app content. |
App |
Provides data for the AppCaptureState.MicrophoneCaptureStateChanged event. |
App |
Provides data for the AppCaptureRecordOperation.StateChanged event. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Represents an app capture record operation. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Manages the state of app captures. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Represents app capture settings. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Represents the state of app capture. |
Camera |
Provides a full window UI for capturing audio, video, and photos from a camera. As well as controls for trimming video, time delayed capture, and camera settings. |
Camera |
Provides settings for capturing photos with CameraCaptureUI. The settings include aspect ratio, image size, format, resolution, and whether or not cropping is allowed by the user interface (UI). |
Camera |
Provides settings for capturing videos. The settings include format, maximum resolution, maximum duration, and whether or not to allow trimming. |
Camera |
Provides a method for displaying a UI, by which the UI contains options for the capture of photos, audio recordings and videos. |
Captured |
Represents a captured video frame. |
Captured |
Provides information about the capture device settings that were used for a frame in a variable photo sequence. |
Captured |
Represents a photo taken from a capture device such as a webcam attached. |
Game |
Manages the state of the Game Bar. |
Game |
Provides data for the GameBarServices.CommandReceived event. |
Game |
Manages the Game Bar services. |
Game |
Provides data for the GameBarServicesManager.GameBarServicesCreated event. |
Game |
Provides metadata about a Game Bar services target. |
Low |
Provides methods for taking a low lag media recording. |
Low |
Provides methods for taking a low shutter lag photo. |
Low |
Provides methods for taking a rapid sequence of low shutter lag photos. |
Media |
Provides functionality for capturing photos, audio, and videos from a capture device, such as a webcam. |
Media |
Provides data for the MediaCapture.CaptureDeviceExclusiveControlStatusChanged event. |
Media |
Provides data for the MediaCapture.Failed event. |
Media |
Provides data for the FocusChanged event. |
Media |
Contains initialization settings for the MediaCapture object which are passed to the MediaCapture.InitializeAsync method. |
Media |
Provides the last frame captured and the recorded duration of a media capture operation that has been paused. |
Media |
Monitors the panel associated with a DisplayRegion, so that the app receives notifications when the relative location of the panel changes. |
Media |
Contains read-only configuration settings for the MediaCapture object. |
Media |
Provides the last frame captured and the recorded duration of a media capture operation that has been stopped. |
Media |
Represents a video profile that indicates a configuration supported by the video capture device. |
Media |
Represents a description of media that is supported by a video profile. |
Optional |
Provides data for the AdvancedPhotoCapture.OptionalReferencePhotoCaptured event. |
Photo |
Provides data for the photo sequence PhotoCaptured event. |
Photo |
Provides data for the PhotoConfirmationCaptured event. |
Screen |
Enables an app to capture audio and video of the contents being displayed on the device. |
Source |
Provides information about a SourceSuspensionChanged event which is triggered when the capture of audio or video is suspended or resumed. |
Video |
Represents a set of input and output VideoEncodingProperties for a video stream |
White |
Represents the red, green, and blue values of a white balance gain setting. |
App |
Specifies the state of app broadcast camera capture. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the location of the camera overlay within the broadcast video frame. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the size of the camera overlay within the broadcast video frame. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the type of target being captured for app broadcast. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Gets a value that specifies the reason that broadcast mode was exited. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the state of app broadcast microphone capture. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the current state of the broadcast background task. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the state of the app broadcast preview. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the result of a sign-in operation. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the current sign-in state for a broadcast app. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the state of an app broadcast stream. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the reason that an app broadcast was terminated. Note This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. |
App |
Specifies the mode for setting the bitrate for broadcast video encoding. |
App |
Specifies the mode for setting the resolution for broadcast video encoding. |
App |
Specifies the units of the app capture historical buffer. |
App |
Specifies the relative importance of an app capture metadata item stored using AppCaptureMetadataWriter. When the storage space allotted for accumulated metadata is low, the system will use the priority and age of metadata items to determine the order in which metadata is purged to free storage space. |
App |
Specifies the state of microphone capture for app capture. |
App |
Specifies the state of an app capture recording. Note This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime. |
App |
Specifies the app capture video encoding bitrate mode. |
App |
Specifies the video encoding frame rate mode. |
App |
Specifies the app capture video encoding resolution mode. |
Camera |
Determines the highest resolution the user can select for capturing photos. |
Camera |
Determines the highest resolution the user can select for capturing video. |
Camera |
Determines whether the user interface for capturing from the attached camera allows capture of photos, videos, or both photos and videos. |
Camera |
Determines the format for photos captured with CameraCaptureUI. |
Camera |
Determines the format for saving captured videos. |
Foreground |
Specifies the reason that an app broadcast plugin was activated in the foreground. |
Game |
Specifies the set of Game Bar commands. |
Game |
Specifies the origin of a Game Bar command. |
Game |
Specifies the display mode for the Game Bar. |
Game |
Provides information around the allowable actions for this application. |
Known |
Specifies the names of video recording profiles that are known by the system. |
Media |
Specifies the condition under which exclusive access to the camera is released. |
Media |
Specifies the exclusive control status of the media capture device. Exclusive control is required to modify the settings of the capture device, but is not required to obtain media frames from the device. |
Media |
Specifies the preferred memory location for captured video frames. |
Media |
Specifies the media frame source sharing mode for a MediaCapture object. |
Media |
Specifies the thermal status of a media capture device. |
Media |
Defines values for types of media categories. |
Media |
Specifies a type of stream on a media capture device. |
Photo |
Specifies which stream on a video camera is used to capture photos. |
Powerline |
Specifies the local power line frequency. |
Streaming |
Specifies the streaming mode for a media capture device. |
Video |
Indicates which video streams are independent of each other. |
Video |
Specifies the rotation of the video stream. |
Media |
Represents the method that will handle the MediaCapture.Failed event. |
Record |
Represents the method that will handle RecordLimitationExceeded and related events. |
To get started quickly adding photo, video, or audio capture to your app, see Basic photo, video, and audio capture with MediaCapture. To learn about the different media capture features you can use in your Universal Windows app, including how-to guidance and samples, see Camera.
- Camera
- Basic photo, video, and audio capture with MediaCapture
- OCR sample (Windows 10)
- Real-time communication sample (Windows 10)
- Camera Advanced Capture sample
- Basic camera app sample
- Basic face tracking sample
- Camera face detection sample
- Camera preview frame sample
- Camera profiles sample
- Camera resolution sample
- Video stabilization sample
- Holographic Mixed Reality Capture sample