AppCaptureSettings.IsHistoricalCaptureOnBatteryAllowed Property
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.
Gets or sets a value indicating whether historical capture is allowed while the device is on battery power.
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.
public:
property bool IsHistoricalCaptureOnBatteryAllowed { bool get(); void set(bool value); };
bool IsHistoricalCaptureOnBatteryAllowed();
void IsHistoricalCaptureOnBatteryAllowed(bool value);
public bool IsHistoricalCaptureOnBatteryAllowed { get; set; }
var boolean = appCaptureSettings.isHistoricalCaptureOnBatteryAllowed;
appCaptureSettings.isHistoricalCaptureOnBatteryAllowed = boolean;
Public Property IsHistoricalCaptureOnBatteryAllowed As Boolean
Property Value
Boolean
bool
True if historical capture is allowed while the device is on battery power; otherwise, false.
Windows requirements
App capabilities |
appCaptureSettings
|