MediaCapture.ThermalStatus MediaCapture.ThermalStatus MediaCapture.ThermalStatus MediaCapture.ThermalStatus MediaCapture.ThermalStatus Property

Definition

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

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

Property Value

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

Additional features and requirements

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.