本文整理汇总了Java中org.onvif.ver10.schema.VideoSourceConfiguration类的典型用法代码示例。如果您正苦于以下问题:Java VideoSourceConfiguration类的具体用法?Java VideoSourceConfiguration怎么用?Java VideoSourceConfiguration使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
VideoSourceConfiguration类属于org.onvif.ver10.schema包,在下文中一共展示了VideoSourceConfiguration类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getVideoSourceConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
public VideoSourceConfiguration getVideoSourceConfiguration(String configToken) throws Exception{
GetVideoSourceConfiguration request=new GetVideoSourceConfiguration();
request.setConfigurationToken(configToken);
GetVideoSourceConfigurationResponse response= client.processRequest(request, GetVideoSourceConfigurationResponse.class, serviceUrl, true);
if(response==null)return null;
return response.getConfiguration();
}
示例2: testVideosourceConfigs
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
public void testVideosourceConfigs() {
Object val;
try {
List<VideoSourceConfiguration> configs = device.getMediaService().getVideoSourceConfigurations();
for (VideoSourceConfiguration config : configs) {
String token = config.getToken();
System.out.println("vidConfig: " + token + " -----------------");
System.out.println("name: " + config.getName());
System.out.println("size: " + config.getBounds().getWidth() + "x" + config.getBounds().getHeight());
}
} catch (Exception e) {
e.printStackTrace();
fail();
}
}
示例3: getVideoSourceConfigurations
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
public List<VideoSourceConfiguration> getVideoSourceConfigurations() throws Exception{
GetVideoSourceConfigurationsResponse response= client.processRequest(new GetVideoSourceConfigurations(), GetVideoSourceConfigurationsResponse.class, serviceUrl, true);
if(response==null)return null;
return response.getConfigurations();
}
示例4: getConfigurations
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Gets the value of the configurations property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the configurations property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getConfigurations().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link VideoSourceConfiguration }
*
*
*/
public List<VideoSourceConfiguration> getConfigurations() {
if (configurations == null) {
configurations = new ArrayList<VideoSourceConfiguration>();
}
return this.configurations;
}
示例5: getConfigurations
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Gets the value of the configurations property.
*
* <p>
* This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the configurations property.
*
* <p>
* For example, to add a new item, do as follows:
*
* <pre>
* getConfigurations().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list {@link VideoSourceConfiguration }
*
*
*/
public List<VideoSourceConfiguration> getConfigurations() {
if (configurations == null) {
configurations = new ArrayList<VideoSourceConfiguration>();
}
return this.configurations;
}
示例6: getConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Ruft den Wert der configuration-Eigenschaft ab.
*
* @return
* possible object is
* {@link VideoSourceConfiguration }
*
*/
public VideoSourceConfiguration getConfiguration() {
return configuration;
}
示例7: setConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Legt den Wert der configuration-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link VideoSourceConfiguration }
*
*/
public void setConfiguration(VideoSourceConfiguration value) {
this.configuration = value;
}
示例8: getVideoSource
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Ruft den Wert der videoSource-Eigenschaft ab.
*
* @return
* possible object is
* {@link VideoSourceConfiguration }
*
*/
public VideoSourceConfiguration getVideoSource() {
return videoSource;
}
示例9: setVideoSource
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Legt den Wert der videoSource-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link VideoSourceConfiguration }
*
*/
public void setVideoSource(VideoSourceConfiguration value) {
this.videoSource = value;
}
示例10: getConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Ruft den Wert der configuration-Eigenschaft ab.
*
* @return possible object is {@link VideoSourceConfiguration }
*
*/
public VideoSourceConfiguration getConfiguration() {
return configuration;
}
示例11: setConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Legt den Wert der configuration-Eigenschaft fest.
*
* @param value
* allowed object is {@link VideoSourceConfiguration }
*
*/
public void setConfiguration(VideoSourceConfiguration value) {
this.configuration = value;
}
示例12: getConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Recupera il valore della proprietà configuration.
*
* @return
* possible object is
* {@link VideoSourceConfiguration }
*
*/
public VideoSourceConfiguration getConfiguration() {
return configuration;
}
示例13: setConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Imposta il valore della proprietà configuration.
*
* @param value
* allowed object is
* {@link VideoSourceConfiguration }
*
*/
public void setConfiguration(VideoSourceConfiguration value) {
this.configuration = value;
}
示例14: getVideoSourceConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Recupera il valore della proprietà videoSourceConfiguration.
*
* @return
* possible object is
* {@link VideoSourceConfiguration }
*
*/
public VideoSourceConfiguration getVideoSourceConfiguration() {
return videoSourceConfiguration;
}
示例15: setVideoSourceConfiguration
import org.onvif.ver10.schema.VideoSourceConfiguration; //导入依赖的package包/类
/**
* Imposta il valore della proprietà videoSourceConfiguration.
*
* @param value
* allowed object is
* {@link VideoSourceConfiguration }
*
*/
public void setVideoSourceConfiguration(VideoSourceConfiguration value) {
this.videoSourceConfiguration = value;
}