Class OnvifImagingService
- Namespace
- WINKOnvif.Core.Imaging
- Assembly
- WINKOnvif.Core.dll
public class OnvifImagingService : IImagingService
- Inheritance
-
OnvifImagingService
- Implements
-
- Inherited Members
-
Constructors
OnvifImagingService(HttpClient, OnvifCredentials, string, ILogger<OnvifImagingService>?, IAuthenticator?)
public OnvifImagingService(HttpClient httpClient, OnvifCredentials credentials, string deviceEndpoint, ILogger<OnvifImagingService>? logger = null, IAuthenticator? authenticator = null)
Parameters
httpClient
HttpClient
credentials
OnvifCredentials
deviceEndpoint
string
logger
ILogger<OnvifImagingService>
authenticator
IAuthenticator
Methods
ApplyImagingPreset(string, string)
public Task<bool> ApplyImagingPreset(string videoSourceToken, string presetToken)
Parameters
videoSourceToken
string
presetToken
string
Returns
- Task<bool>
GetDefoggingSettingsAsync(string)
public Task<DefoggingSettings> GetDefoggingSettingsAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<DefoggingSettings>
GetFocusConfigurationAsync(string)
public Task<AdvancedFocusConfiguration> GetFocusConfigurationAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<AdvancedFocusConfiguration>
GetFocusStatusAsync(string)
public Task<FocusStatus> GetFocusStatusAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<FocusStatus>
GetImageStabilizationSettingsAsync(string)
public Task<ImageStabilizationSettings> GetImageStabilizationSettingsAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<ImageStabilizationSettings>
GetImagingOptionsAsync(string)
public Task<ImagingOptions> GetImagingOptionsAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<ImagingOptions>
GetImagingSettingsAsync(string)
public Task<ImagingSettings> GetImagingSettingsAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<ImagingSettings>
GetIrCutFilterConfigurationAsync(string)
public Task<IrCutFilterConfiguration> GetIrCutFilterConfigurationAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<IrCutFilterConfiguration>
GetSupportedImagingPresets(string)
public Task<List<string>> GetSupportedImagingPresets(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<List<string>>
GetWhiteBalanceSettingsAsync(string)
public Task<WhiteBalanceSettings> GetWhiteBalanceSettingsAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<WhiteBalanceSettings>
GetWideDynamicRangeSettingsAsync(string)
public Task<WideDynamicRangeSettings> GetWideDynamicRangeSettingsAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task<WideDynamicRangeSettings>
MoveFocusAsync(string, FocusMove)
public Task MoveFocusAsync(string videoSourceToken, FocusMove focusMove)
Parameters
videoSourceToken
string
focusMove
FocusMove
Returns
- Task
SetDefoggingSettingsAsync(string, DefoggingSettings)
public Task SetDefoggingSettingsAsync(string videoSourceToken, DefoggingSettings settings)
Parameters
videoSourceToken
string
settings
DefoggingSettings
Returns
- Task
SetFocusConfigurationAsync(string, AdvancedFocusConfiguration)
public Task SetFocusConfigurationAsync(string videoSourceToken, AdvancedFocusConfiguration configuration)
Parameters
videoSourceToken
string
configuration
AdvancedFocusConfiguration
Returns
- Task
SetImageStabilizationSettingsAsync(string, ImageStabilizationSettings)
public Task SetImageStabilizationSettingsAsync(string videoSourceToken, ImageStabilizationSettings settings)
Parameters
videoSourceToken
string
settings
ImageStabilizationSettings
Returns
- Task
SetImagingSettingsAsync(string, ImagingSettings)
public Task SetImagingSettingsAsync(string videoSourceToken, ImagingSettings settings)
Parameters
videoSourceToken
string
settings
ImagingSettings
Returns
- Task
SetIrCutFilterConfigurationAsync(string, IrCutFilterConfiguration)
public Task SetIrCutFilterConfigurationAsync(string videoSourceToken, IrCutFilterConfiguration configuration)
Parameters
videoSourceToken
string
configuration
IrCutFilterConfiguration
Returns
- Task
SetWhiteBalanceSettingsAsync(string, WhiteBalanceSettings)
public Task SetWhiteBalanceSettingsAsync(string videoSourceToken, WhiteBalanceSettings settings)
Parameters
videoSourceToken
string
settings
WhiteBalanceSettings
Returns
- Task
SetWideDynamicRangeSettingsAsync(string, WideDynamicRangeSettings)
public Task SetWideDynamicRangeSettingsAsync(string videoSourceToken, WideDynamicRangeSettings settings)
Parameters
videoSourceToken
string
settings
WideDynamicRangeSettings
Returns
- Task
StopFocusAsync(string)
public Task StopFocusAsync(string videoSourceToken)
Parameters
videoSourceToken
string
Returns
- Task