Windows.Media.Capture Windows.Media.Capture Windows.Media.Capture Windows.Media.Capture Namespace

Provides classes for the capture of photos, audio recordings, and videos.

Introduction

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.

Classes

Represents a photo captured using system-provided computational photography techniques provided by the AdvancedPhotoCapture class.

Provides methods for capturing photos using system-provided computational photography techniques.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. Provides data for the 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.

Prerelease. 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.

Prerelease. Provides data for the 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.

Prerelease. 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.

Prerelease. Provides data for the MicrophoneCaptureStateChanged event.

Prerelease. 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.

Prerelease. 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.

Prerelease. Provides data for the 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.

Prerelease. 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.

Prerelease. Provides data for the PreviewStateChanged event.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. Provides data for the 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. Provides data for the StreamStateChanged event.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. Provides data for the ViewerCountChanged event.

Provides information about the app capture feature.

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.

Prerelease. Provides data for the DurationGenerated event.

Prerelease. Provides data for the FileGenerated event.

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.

Prerelease. Provides data for the MicrophoneCaptureStateChanged event.

Prerelease. Provides data for the 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.

Prerelease. 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.

Prerelease. 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.

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.

Prerelease. Represents the state of app capture.

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.

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).

Provides settings for capturing videos. The settings include format, maximum resolution, maximum duration, and whether or not to allow trimming.

Provides a method for displaying a UI, by which the UI contains options for the capture of photos, audio recordings and videos.

Represents a captured video frame.

Provides information about the capture device settings that were used for a frame in a variable photo sequence.

Represents a photo taken from a capture device such as a webcam attached.

Prerelease. Manages the state of the Game Bar.

Prerelease. Provides data for the CommandReceived event.

Prerelease. Manages the Game Bar services.

Prerelease. Provides data for the GameBarServicesCreated event.

Prerelease. Provides metadata about a Game Bar services target.

Provides methods for taking a low lag media recording.

Provides methods for taking a low shutter lag photo.

Provides methods for taking a rapid sequence of low shutter lag photos.

Provides functionality for capturing photos, audio, and videos from a capture device, such as a webcam.

Prerelease. Provides data for the CaptureDeviceExclusiveControlStatusChanged event.

Provides data for the Failed event.

Provides data for the FocusChanged event.

Contains initialization settings for the MediaCapture object which are passed to the InitializeAsync() method.

Provides the last frame captured and the recorded duration of a media capture operation that has been paused.

Contains read-only configuration settings for the MediaCapture object.

Provides the last frame captured and the recorded duration of a media capture operation that has been stopped.

Represents a video profile that indicates a configuration supported by the video capture device.

Represents a description of media that is supported by a video profile.

Provides data for the OptionalReferencePhotoCapturedEventArgs event.

Provides data for the photo sequence PhotoCaptured event.

Provides data for the PhotoConfirmationCaptured event.

Enables an app to capture audio and video of the contents being displayed on the device.

Provides information about a SourceSuspensionChanged event which is triggered when the capture of audio or video is suspended or resumed.

Represents a set of input and output VideoEncodingProperties for a video stream

Structs

Represents the red, green, and blue values of a white balance gain setting.

Enums

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. 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.

Prerelease. Specifies the mode for setting the bitrate for broadcast video encoding.

Prerelease. Specifies the mode for setting the resolution for broadcast video encoding.

Specifies the units of the app capture historical buffer.

Prerelease. Specifies the state of microphone capture for app capture.

Prerelease. 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.

Specifies the app capture video encoding bitrate mode.

Specifies the video encoding frame rate mode.

Specifies the app capture video encoding resolution mode.

Determines the highest resolution the user can select for capturing photos.

Determines the highest resolution the user can select for capturing video.

Determines whether the user interface for capturing from the attached camera allows capture of photos, videos, or both photos and videos.

Determines the format for photos captured with CameraCaptureUI.

Determines the format for saving captured videos.

Prerelease. Specifies the reason that an app broadcast plugin was activated in the foreground.

Prerelease. Specifies the set of Game Bar commands.

Prerelease. Specifies the origin of a Game Bar command.

Prerelease. Specifies the display mode for the Game Bar.

Prerelease.

Specifies the names of video recording profiles that are known by the system.

Prerelease. 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.

Specifies the preferred memory location for captured video frames.

Specifies the media frame source sharing mode for a MediaCapture object.

Specifies the thermal status of a media capture device.

Defines values for types of media categories.

Specifies a type of stream on a media capture device.

Specifies which stream on a video camera is used to capture photos.

Specifies the local power line frequency.

Specifies the streaming mode for a media capture device.

Indicates which video streams are independent of each other.

Specifies the rotation of the video stream.

Delegates

Represents the method that will handle the Failed event.

Represents the method that will handle RecordLimitationExceeded and related events.