Dela via


AppCaptureSettings.IsHistoricalCaptureOnBatteryAllowed Property

Definition

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

Applies to

See also