當前位置: 首頁>>代碼示例>>Java>>正文


Java VideoSourceConfiguration類代碼示例

本文整理匯總了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();
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:8,代碼來源:MediaService.java

示例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();
	}
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:16,代碼來源:TestHelper.java

示例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();
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:6,代碼來源:MediaService.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:29,代碼來源:GetVideoSourceConfigurationsResponse.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:27,代碼來源:GetVideoSourceConfigurationsResponse.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:12,代碼來源:SetVideoSourceConfiguration.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:12,代碼來源:SetVideoSourceConfiguration.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:12,代碼來源:ConfigurationSet.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:12,代碼來源:ConfigurationSet.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:10,代碼來源:SetVideoSourceConfiguration.java

示例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;
}
 
開發者ID:D2Edev,項目名稱:onvifjava,代碼行數:11,代碼來源:SetVideoSourceConfiguration.java

示例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;
}
 
開發者ID:fpompermaier,項目名稱:onvif,代碼行數:12,代碼來源:SetVideoSourceConfiguration.java

示例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;
}
 
開發者ID:fpompermaier,項目名稱:onvif,代碼行數:12,代碼來源:SetVideoSourceConfiguration.java

示例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;
}
 
開發者ID:fpompermaier,項目名稱:onvif,代碼行數:12,代碼來源:GetVideoSourceConfigurationResponse.java

示例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;
}
 
開發者ID:fpompermaier,項目名稱:onvif,代碼行數:12,代碼來源:GetVideoSourceConfigurationResponse.java


注:本文中的org.onvif.ver10.schema.VideoSourceConfiguration類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。