Table of Contents

Interface IPhotography

Namespace
VisioForge.Core.Types.X.Photography
Assembly
VisioForge.Core.dll

Interface IPhotography - used to get and set camera settings.

public interface IPhotography

Methods

GetAperture(out uint)

Gets the aperture.

bool GetAperture(out uint aperture)

Parameters

aperture uint

The aperture.

Returns

bool

true if successful, false otherwise.

GetColorToneMode(out PhotographyColorToneMode)

Gets the color tone mode.

bool GetColorToneMode(out PhotographyColorToneMode mode)

Parameters

mode PhotographyColorToneMode

The mode.

Returns

bool

true if successful, false otherwise.

GetEVCompensation(out float)

Get the ev compensation value.

bool GetEVCompensation(out float ev_comp)

Parameters

ev_comp float

The ev comp.

Returns

bool

true if successful, false otherwise.

GetExposureMode(out PhotographyExposureMode)

Gets the exposure mode.

bool GetExposureMode(out PhotographyExposureMode exposureMode)

Parameters

exposureMode PhotographyExposureMode

The exposure mode.

Returns

bool

true if successful, false otherwise.

GetExposureTime(out uint)

Get the fixed exposure time (in ms).

bool GetExposureTime(out uint exposureTime)

Parameters

exposureTime uint

The exposure.

Returns

bool

true if successful, false otherwise.

GetFlashMode(out PhotographyFlashMode)

Gets the flash mode.

bool GetFlashMode(out PhotographyFlashMode flash_mode)

Parameters

flash_mode PhotographyFlashMode

The flash mode.

Returns

bool

true if successful, false otherwise.

GetFlickerMode(out PhotographyFlickerReductionMode)

Gets the flicker mode.

bool GetFlickerMode(out PhotographyFlickerReductionMode mode)

Parameters

mode PhotographyFlickerReductionMode

The mode.

Returns

bool

true if successful, false otherwise.

GetFocusMode(out PhotographyFocusMode)

Gets the focus mode.

bool GetFocusMode(out PhotographyFocusMode mode)

Parameters

mode PhotographyFocusMode

The mode.

Returns

bool

true if successful, false otherwise.

GetISO(out uint)

Get the ISO value (light sensivity).

bool GetISO(out uint iso_speed)

Parameters

iso_speed uint

The iso speed.

Returns

bool

true if successful, false otherwise.

GetNoiseReduction(out PhotographyNoiseReduction)

Gets the noise reduction.

bool GetNoiseReduction(out PhotographyNoiseReduction noise_reduction)

Parameters

noise_reduction PhotographyNoiseReduction

The noise reduction.

Returns

bool

true if successful, false otherwise.

GetSceneMode(out PhotographySceneMode)

Gets the scene mode.

bool GetSceneMode(out PhotographySceneMode scene_mode)

Parameters

scene_mode PhotographySceneMode

The scene mode.

Returns

bool

true if successful, false otherwise.

GetWhiteBalanceMode(out PhotographyWhiteBalanceMode)

Gets the white balance mode.

bool GetWhiteBalanceMode(out PhotographyWhiteBalanceMode wb_mode)

Parameters

wb_mode PhotographyWhiteBalanceMode

The wb mode.

Returns

bool

true if successful, false otherwise.

GetZoom(out float)

Gets the zoom.

bool GetZoom(out float zoom)

Parameters

zoom float

The zoom.

Returns

bool

true if successful, false otherwise.

PrepareForCapture()

Start preparations for capture. Preparations can take indeterminate amount of time and func callback is called after preparations are done. Image capture will begin after callback returns.

bool PrepareForCapture()

Returns

bool

true if successful, false otherwise.

SetAperture(uint)

Sets the aperture.

bool SetAperture(uint aperture)

Parameters

aperture uint

The aperture.

Returns

bool

true if successful, false otherwise.

SetAutoFocus(bool)

Sets the automatic focus.

void SetAutoFocus(bool on)

Parameters

on bool

if set to true [on].

SetColorToneMode(PhotographyColorToneMode)

Sets the color tone mode.

bool SetColorToneMode(PhotographyColorToneMode tone_mode)

Parameters

tone_mode PhotographyColorToneMode

The tone mode.

Returns

bool

true if successful, false otherwise.

SetEVCompensation(float)

Sets the ev compensation.

bool SetEVCompensation(float ev_comp)

Parameters

ev_comp float

The ev comp.

Returns

bool

true if successful, false otherwise.

SetExposureMode(PhotographyExposureMode)

Sets the exposure mode.

bool SetExposureMode(PhotographyExposureMode value)

Parameters

value PhotographyExposureMode

The value.

Returns

bool

true if successful, false otherwise.

SetExposureTime(uint)

Set the fixed exposure time (in ms).

bool SetExposureTime(uint exposure)

Parameters

exposure uint

The exposure.

Returns

bool

true if successful, false otherwise.

SetFlashMode(PhotographyFlashMode)

Sets the flash mode.

bool SetFlashMode(PhotographyFlashMode flash_mode)

Parameters

flash_mode PhotographyFlashMode

The flash mode.

Returns

bool

true if successful, false otherwise.

SetFlickerMode(PhotographyFlickerReductionMode)

Sets the flicker mode.

bool SetFlickerMode(PhotographyFlickerReductionMode mode)

Parameters

mode PhotographyFlickerReductionMode

The mode.

Returns

bool

true if successful, false otherwise.

SetFocusMode(PhotographyFocusMode)

Sets the focus mode.

bool SetFocusMode(PhotographyFocusMode mode)

Parameters

mode PhotographyFocusMode

The mode.

Returns

bool

true if successful, false otherwise.

SetISO(uint)

Sets the ISO.

bool SetISO(uint iso_speed)

Parameters

iso_speed uint

The iso speed.

Returns

bool

true if successful, false otherwise.

SetNoiseReduction(PhotographyNoiseReduction)

Sets the noise reduction.

bool SetNoiseReduction(PhotographyNoiseReduction noise_reduction)

Parameters

noise_reduction PhotographyNoiseReduction

The noise reduction.

Returns

bool

true if successful, false otherwise.

SetSceneMode(PhotographySceneMode)

Sets the scene mode.

bool SetSceneMode(PhotographySceneMode scene_mode)

Parameters

scene_mode PhotographySceneMode

The scene mode.

Returns

bool

true if successful, false otherwise.

SetWhiteBalanceMode(PhotographyWhiteBalanceMode)

Sets the white balance mode.

bool SetWhiteBalanceMode(PhotographyWhiteBalanceMode wb_mode)

Parameters

wb_mode PhotographyWhiteBalanceMode

The wb mode.

Returns

bool

true if successful, false otherwise.

SetZoom(float)

Sets the zoom.

bool SetZoom(float zoom)

Parameters

zoom float

The zoom.

Returns

bool

true if successful, false otherwise.