Udostępnij za pośrednictwem


ExposureControl.SetAutoAsync(Boolean) Method

Definition

Asynchronously enables or disable auto exposure.

public:
 virtual IAsyncAction ^ SetAutoAsync(bool value) = SetAutoAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetAutoAsync(bool const& value);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetAutoAsync(bool value);
function setAutoAsync(value)
Public Function SetAutoAsync (value As Boolean) As IAsyncAction

Parameters

value
Boolean

bool

Specifies whether or not to enable or disable auto exposure.

Returns

The object that is used to control the asynchronous operation.

Attributes

Remarks

Automatic exposure adjustment is only supported while the preview stream is running. Check to make sure that the preview stream is running before turning on automatic exposure mode.

Applies to