ONVIF:...setTour(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ONVIF::PTZ::Types::PresetTour β€” bestie, this is the Perl data type class situation, and the manual page you're reading lives under the name ONVIF:...setTour(3pm) πŸ’…


✨ DESCRIPTION ✨

Okay so. This is a Perl data type class for the XML Schema defined complexType PresetTour, and it comes straight out of the namespace http://www.onvif.org/ver10/schema. That's it, that's the whole vibe. It's giving "I exist purely to be a data structure for SOAP stuff" and honestly? Respect. 🫢

πŸŽ€ PROPERTIES πŸŽ€

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods. Yes, that's the whole system, and yes, it slays:

  • Name
  • Status
  • AutoStart
  • StartingCondition
  • TourSpot
  • Extension

πŸ”₯ METHODS πŸ”₯

🌸 new 🌸

Constructor, babes. The following data structure may be passed to new():

{ # ONVIF::PTZ::Types::PresetTour
  Name => $some_value, # Name
  Status =>  { # ONVIF::PTZ::Types::PTZPresetTourStatus
    State => $some_value, # PTZPresetTourState
    CurrentTourSpot =>  { # ONVIF::PTZ::Types::PTZPresetTourSpot
      PresetDetail =>        { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail
        # One of the following elements.
        # No occurrence checks yet, so be sure to pass just one...
        PresetToken => $some_value, # ReferenceToken
        Home =>  $some_value, # boolean
        PTZPosition =>  { # ONVIF::PTZ::Types::PTZVector
          PanTilt => ,
          Zoom => ,
        },
        TypeExtension =>  { # ONVIF::PTZ::Types::PTZPresetTourTypeExtension
        },
      },
      Speed =>  { # ONVIF::PTZ::Types::PTZSpeed
        PanTilt => ,
        Zoom => ,
      },
      StayTime =>  $some_value, # duration
      Extension =>  { # ONVIF::PTZ::Types::PTZPresetTourSpotExtension
      },
    },
    Extension =>  { # ONVIF::PTZ::Types::PTZPresetTourStatusExtension
    },
  },
  AutoStart =>  $some_value, # boolean
  StartingCondition =>  { # ONVIF::PTZ::Types::PTZPresetTourStartingCondition
    RecurringTime =>  $some_value, # int
    RecurringDuration =>  $some_value, # duration
    Direction => $some_value, # PTZPresetTourDirection
    Extension =>  { # ONVIF::PTZ::Types::PTZPresetTourStartingConditionExtension
    },
  },
  TourSpot =>  { # ONVIF::PTZ::Types::PTZPresetTourSpot
    PresetDetail =>      { # ONVIF::PTZ::Types::PTZPresetTourPresetDetail
      # One of the following elements.
      # No occurrence checks yet, so be sure to pass just one...
      PresetToken => $some_value, # ReferenceToken
      Home =>  $some_value, # boolean
      PTZPosition =>  { # ONVIF::PTZ::Types::PTZVector
        PanTilt => ,
        Zoom => ,
      },
      TypeExtension =>  { # ONVIF::PTZ::Types::PTZPresetTourTypeExtension
      },
    },
    Speed =>  { # ONVIF::PTZ::Types::PTZSpeed
      PanTilt => ,
      Zoom => ,
    },
    StayTime =>  $some_value, # duration
    Extension =>  { # ONVIF::PTZ::Types::PTZPresetTourSpotExtension
    },
  },
  Extension =>  { # ONVIF::PTZ::Types::PresetTourExtension
  },
},
Not me pointing out that little comment in there: "No occurrence checks yet, so be sure to pass just one..." β€” fr fr, that's in the source. So like, when you're filling in PresetDetail, you only get to pick ONE of PresetToken, Home, PTZPosition, or TypeExtension. Nobody's gonna stop you from passing more, but... don't. πŸ™ˆ

πŸ’œ attr πŸ’œ

NOTE: Attribute documentation is experimental, and may be inaccurate. See the correspondent WSDL/XML Schema if in question. β€” that's a direct heads-up, bestie, not me being dramatic. 😭

This class has additional attributes, accessibly via the attr() method.

attr() returns an object of the class ONVIF::PTZ::Types::PresetTour::_PresetTour::XmlAttr.

The following attributes can be accessed on this object via the corresponding get_/set_ methods:

  • token

Unique identifier of this preset tour. πŸ‘‘

This attribute is of type ONVIF::PTZ::Types::ReferenceToken.


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL. That's the whole author section, no cap. πŸ’€


And that's a wrap on the ONVIF:...setTour(3pm) page, my love πŸ¦‹ β€” this little beauty shipped as part of perl v5.40.1, dated 2026-02-01, and it's filed under the same name you started with: ONVIF:...setTour(3pm). Go forth and build your preset tours, you absolute icon. βœ¨πŸ’–

πŸ“¦ where this page comes from