sean.zhou
2022-03-21 17835b967b48f2676cce3bbed081c6580602ee1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.dji.sample.manage.service;
 
import com.dji.sample.manage.model.dto.CapacityVideoDTO;
import com.dji.sample.manage.model.receiver.CapacityVideoReceiver;
 
import java.util.List;
 
/**
 * @author sean.zhou
 * @date 2021/11/19
 * @version 0.1
 */
public interface ICameraVideoService {
 
    /**
     * Queries all lens data contained in the camera based on camera id.
     * @param cameraId
     * @return
     */
    List<CapacityVideoDTO> getCameraVideosByCameraId(Integer cameraId);
 
    /**
     * Deletes all the data of this lens, according to the lens id.
     * @param ids   A collection of lens ids.
     * @return true
     */
    Boolean deleteCameraVideosById(List<Integer> ids);
 
    /**
     * Save the live capability of all lenses of this camera.
     * @param capacityVideoReceivers live capability of lens
     * @param cameraId
     * @return
     */
    Boolean saveCameraVideoDTOList(List<CapacityVideoReceiver> capacityVideoReceivers, Integer cameraId);
 
}