Udostępnij za pośrednictwem


MediaCapture.ThermalStatus Property

Definition

Gets a value that indicates the current thermal status of the capture device.

public:
 property MediaCaptureThermalStatus ThermalStatus { MediaCaptureThermalStatus get(); };
MediaCaptureThermalStatus ThermalStatus();
public MediaCaptureThermalStatus ThermalStatus { get; }
var mediaCaptureThermalStatus = mediaCapture.thermalStatus;
Public ReadOnly Property ThermalStatus As MediaCaptureThermalStatus

Property Value

A value that indicates the current thermal status of the capture device.

Windows requirements

App capabilities
backgroundMediaRecording

Remarks

Media capture scenarios that are extremely processor-intensive, such as high-resolution, high-frame rate, and real-time image processing can cause the capture hardware to overheat. On devices where the camera driver supports reporting of thermal status, you can check the ThermalStatus property to get the current thermal status of the capture device. You can also subscribe to the ThermalStatusChanged event to receive a notification when the thermal status changes. If the thermal status is Overheated , you should stop the current capture session and save any captured media. Once the thermal status has returned to normal, you can begin capturing again.

Applies to