PresetPTZFSet¶
- Overview
- Create PTZF Preset
Definition
CrError PresetPTZFSet(CrDeviceHandle deviceHandle, CrInt16u presetNum, CrPresetPTZFSettingType settingType, CrPresetPTZFThumbnail thumbnailSetting);
Input Parameters
Type |
Explanation |
|---|---|
CrDeviceHandle |
deviceHandle
The handle of the connected camera is returned in the variable. This must be set 0 before calling Connect().
|
CrInt16u |
presetNum
The index of ptzf preset.
|
CrPresetPTZFSettingType |
settingType
you must set CrPresetPTZFSettingType_current
|
CrPresetPTZFThumbnail |
thumbnailSetting
ptzf preset’s thumbnail on/off
|
Output parameters
Type |
Explanation |
|---|---|
- |
- |
Return values
Type |
Explanation |
|---|---|
CrError |
CrError_None on Success
CrError_Init if the SDK is uninitialized
CrError_Generic_InvalidHandle if the handle is invalid
Other than errors above, see Status code & Error
|
- Related API
- Special note (details)
None in particular