UNPKG

timeline-state-resolver-types

Version:
79 lines 3.02 kB
/** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run "yarn generate-schema-types" to regenerate this file. */ export interface SetPanTiltSpeedPayload { /** * Pan Speed; Range: [-1.0, 1.0]; -1.0 = fastest LEFT, 0.0 = STOP, 1.0 = fastest RIGHT (each protocol might internally support a different range, which the value will be mapped into) */ panSpeed: number; /** * Tilt Speed; Range: [-1.0, 1.0]; -1.0 = fastest DOWN, 0.0 = STOP, 1.0 = fastest UP (each protocol might internally support a different range, which the value will be mapped into) */ tiltSpeed: number; } export interface GetPanTiltPositionResult { /** * Pan Position; Range: [-1.0, 1.0]; -1.0 = furthest LEFT, 0.0 = CENTER, 1.0 = furthest RIGHT (each protocol might internally support a different range, which the value will be mapped from) */ panPosition: number; /** * Tilt Position; Range: [-1.0, 1.0]; -1.0 = furthest DOWN, 0.0 = CENTER, 1.0 = furthest UP (each protocol might internally support a different range, which the value will be mapped from) */ tiltPosition: number; } export interface SetZoomSpeedPayload { /** * Zoom Speed; Range: [-1.0, 1.0]; -1.0 = fastest WIDE, 0.0 = STOP, 1.0 = fastest TELE (each protocol might internally support a different range, which the value will be mapped into) */ zoomSpeed: number; } export interface GetZoomPositionResult { /** * Zoom Position; Range: [0.0, 1.0]; 0.0 = furthest WIDE, 1.0 = furthest TELE (each protocol might internally support a different range, which the value will be mapped from) */ zoomPosition: number; } export interface StorePresetPayload { /** * Preset number, within the range supported by the camera */ presetNumber: number; } export interface RecallPresetPayload { /** * Preset number, within the range supported by the camera */ presetNumber: number; } export interface ResetPresetPayload { /** * Preset number, within the range supported by the camera */ presetNumber: number; } export interface SetFocusSpeedPayload { /** * Focus Speed; Range: [-1.0, 1.0]; -1.0 = fastest NEAR, 0.0 = STOP, 1.0 = fastest FAR (each protocol might internally support a different range, which the value will be mapped into) */ focusSpeed: number; } export interface SetFocusModePayload { mode: FocusMode; } export declare enum FocusMode { AUTO = "auto", MANUAL = "manual" } export interface GetFocusPositionResult { /** * Zoom Position; Range: [0.0, 1.0]; 0.0 = furthest NEAR, 1.0 = furthest FAR (each protocol might internally support a different range, which the value will be mapped from) */ zoomPosition: number; } export type FocusModeResult = FocusMode; export interface GetFocusModeResult { mode: FocusModeResult; } //# sourceMappingURL=generic-ptz-actions.d.ts.map