IsoSpeedControl
IsoSpeedControl
IsoSpeedControl
IsoSpeedControl
Class
Definition
Provides functionality for controlling the ISO film speed settings on a capture device.
public : sealed class IsoSpeedControl : IIsoSpeedControl, IIsoSpeedControl2public sealed class IsoSpeedControl : IIsoSpeedControl, IIsoSpeedControl2Public NotInheritable Class IsoSpeedControl Implements IIsoSpeedControl, IIsoSpeedControl2// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
You can find out if a device supports this control by checking IsoSpeedControl.Supported.
You can access the IsoSpeedControl for the capture device through MediaCapture.VideoDeviceController.
The IsoSpeedControl enables apps to manage the ISO speed settings on a device. For example, in low-light conditions, apps may prefer higher noise level in return for higher overall brightness. The ISO speed control lets apps adjust tradeoffs such as this.
Use SetPresetAsync to set the ISO level to one of the IsoSpeedPreset values.
SupportedPresets lists the preset values that are support on the device.
For how-to guidance for using the FocusControl, see Manual camera controls for photo and video capture.
Properties
Auto Auto Auto Auto
Gets a value indicating whether auto ISO speed is enabled.
public : PlatForm::Boolean Auto { get; }public bool Auto { get; }Public ReadOnly Property Auto As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
A value indicating whether auto ISO speed is enabled.
Max Max Max Max
Gets the maximum ISO speed supported by the capture device.
public : unsigned int Max { get; }public uint Max { get; }Public ReadOnly Property Max As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The maximum ISO speed supported by the capture device.
Min Min Min Min
Gets the minimum ISO speed supported by the capture device.
public : unsigned int Min { get; }public uint Min { get; }Public ReadOnly Property Min As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The minimum ISO speed supported by the capture device.
Preset Preset Preset Preset
Gets the ISO film speed preset.
public : IsoSpeedPreset Preset { get; }public IsoSpeedPreset Preset { get; }Public ReadOnly Property Preset As IsoSpeedPreset// You can use this property in JavaScript.
The ISO speed preset.
Step Step Step Step
Gets the smallest ISO speed increment supported by the capture device.
public : unsigned int Step { get; }public uint Step { get; }Public ReadOnly Property Step As uint// You can use this property in JavaScript.
- Value
- unsigned int uint uint uint
The smallest ISO speed increment supported by the capture device.
Supported Supported Supported Supported
Gets a value the specifies if the capture device supports the ISO speed control.
public : PlatForm::Boolean Supported { get; }public bool Supported { get; }Public ReadOnly Property Supported As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true if the ISO control is supported; otherwise, false.
SupportedPresets SupportedPresets SupportedPresets SupportedPresets
Gets the ISO presets that the capture device supports.
public : IVectorView<IsoSpeedPreset> SupportedPresets { get; }public IReadOnlyList<IsoSpeedPreset> SupportedPresets { get; }Public ReadOnly Property SupportedPresets As IReadOnlyList<IsoSpeedPreset>// You can use this property in JavaScript.
- Value
- IVectorView<IsoSpeedPreset> IReadOnlyList<IsoSpeedPreset> IReadOnlyList<IsoSpeedPreset> IReadOnlyList<IsoSpeedPreset>
The supported ISO presets.
Methods
SetAutoAsync() SetAutoAsync() SetAutoAsync() SetAutoAsync()
Sets the ISO speed to automatic.
public : IAsyncAction SetAutoAsync()public IAsyncAction SetAutoAsync()Public Function SetAutoAsync() As IAsyncAction// You can use this method in JavaScript.
An asynchronous action.
SetPresetAsync(IsoSpeedPreset) SetPresetAsync(IsoSpeedPreset) SetPresetAsync(IsoSpeedPreset) SetPresetAsync(IsoSpeedPreset)
Asynchronously sets the ISO film speed Preset.
public : IAsyncAction SetPresetAsync(IsoSpeedPreset preset)public IAsyncAction SetPresetAsync(IsoSpeedPreset preset)Public Function SetPresetAsync(preset As IsoSpeedPreset) As IAsyncAction// You can use this method in JavaScript.
The ISO preset value to set the Preset property to.
The object that is used to control the asynchronous operation.
SetValueAsync(UInt32) SetValueAsync(UInt32) SetValueAsync(UInt32) SetValueAsync(UInt32)
Sets the ISO speed value.
public : IAsyncAction SetValueAsync(unsigned int isoSpeed)public IAsyncAction SetValueAsync(UInt32 isoSpeed)Public Function SetValueAsync(isoSpeed As UInt32) As IAsyncAction// You can use this method in JavaScript.
- isoSpeed
- unsigned int UInt32 UInt32 UInt32
The ISO speed value.
An asynchronous action.