com.supermap.videomap
Class VideoParameters
- java.lang.Object
-
- com.supermap.videomap.VideoParameters
-
public class VideoParameters extends java.lang.Object
Video parameters
-
-
Constructor Summary
Constructors Constructor and Description VideoParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
add(VideoParameter videoParameter)
add the parametersvoid
clear()
clear the parametersVideoParameter
get()
Gets the first parameter of the parameterVideoParameter
get(double timeStamp)
Gets the most recent parameter before the specified timeVideoParameter
getAT(int index)
Get the video parameters based on the indexint
getCount()
Get the number of parametersVideoParameter
getParameter(double timeStamp)
Gets the argument for the specified timejava.util.ArrayList<VideoParameter>
getVideoParameter()
Get the video parameterboolean
remove(double timeStamp)
Removes the specified time parametervoid
setVideoParameter(java.util.ArrayList<VideoParameter> VideoParameter)
Set the video parameter
-
-
-
Method Detail
-
setVideoParameter
public void setVideoParameter(java.util.ArrayList<VideoParameter> VideoParameter)
Set the video parameter- Parameters:
VideoParameter
-
-
getVideoParameter
public java.util.ArrayList<VideoParameter> getVideoParameter()
Get the video parameter- Returns:
- 参数集合
-
get
public VideoParameter get()
Gets the first parameter of the parameter- Returns:
-
get
public VideoParameter get(double timeStamp)
Gets the most recent parameter before the specified time- Parameters:
timeStamp
- time- Returns:
- Specifies the last parameter before the time
-
getParameter
public VideoParameter getParameter(double timeStamp)
Gets the argument for the specified time- Parameters:
timeStamp
-- Returns:
-
getCount
public int getCount()
Get the number of parameters- Returns:
-
getAT
public VideoParameter getAT(int index)
Get the video parameters based on the index- Parameters:
index
-- Returns:
-
clear
public void clear()
clear the parameters
-
add
public boolean add(VideoParameter videoParameter)
add the parameters- Parameters:
videoParameter
-- Returns:
-
remove
public boolean remove(double timeStamp)
Removes the specified time parameter- Parameters:
timeStamp
-- Returns:
-
-