MediaDeviceControl.TrySetAuto(Boolean) MediaDeviceControl.TrySetAuto(Boolean) MediaDeviceControl.TrySetAuto(Boolean) MediaDeviceControl.TrySetAuto(Boolean) MediaDeviceControl.TrySetAuto(Boolean) Method

Definition

Enables or disables automatic adjustment of the camera setting.

public : Platform::Boolean TrySetAuto(bool value)
bool TrySetAuto(bool value) const;
public bool TrySetAuto(Boolean value)
Public Function TrySetAuto(value As Boolean) As bool
var bool = mediaDeviceControl.trySetAuto(value);

Parameters

value
Boolean Boolean Boolean

True to enable automatic adjustment; or false to disable automatic adjustment. If false, call TrySetValue to adjust the setting.

Returns

bool bool bool

Returns true if the method succeeds, or false otherwise.

Remarks

Depending on the setting and the camera model, the camera might not support automatic adjustment.