Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_TRIGGER_PTZ

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    typedef struct _dd_trigger_ptz_
    {
        unsigned char toPTZType;
        unsigned char toIndex;
        unsigned char backIndex;
        unsigned char recv;
    } DD_TRIGGER_PTZ;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_TRIGGER_PTZ
    {
        public byte toPTZType;
        public byte toIndex;
        public byte backIndex;
        public byte recv;
    }

### Function Description

Trigger the gimbal structure.

### Member Description

Member | Type | Remark
--- | --- | ---
toPTZType | unsigned char | Linkage type (preset point, cruise line, track) DD_PTZ_TYPE.
toIndex | unsigned char | The number of the linked (preset point, cruise line, track).
backIndex | unsigned char | Linked return (preset point, cruise line, track) number.
recv | unsigned char | Reserved bytes.

Error Code