package com.ycl.api.YS.liveview.information; import com.ycl.api.YS.NetDemo; import com.ycl.api.YS.lib.NetDEVSDKLib.NETDEV_IVA_SHOW_RULE_E; import javax.swing.*; /** * * @introduction IVA * @description Support IPC/NVR/VMS */ public class MetaData { /** * * @introduction Set MetaData * @description Calling the interface of NETDEV_SetIVAShowParam * */ public static void setMetaData() { if(null == NetDemo.lpUserID) { JOptionPane.showMessageDialog(null, "Please Login device first. error code"+NetDemo.netdevsdk.NETDEV_GetLastError()); return; } if(NetDemo.ChannelID == 0){ JOptionPane.showMessageDialog(null, "Please select an online channel."); return; } int bEnableIVA=0; if(NetDemo.jCheckBoxVAEnable.isSelected()){ bEnableIVA = 1; }else { JOptionPane.showMessageDialog(null, "Please first set enable"); return; } boolean bRet=NetDemo.netdevsdk.NETDEV_SetIVAEnable(NetDemo.lpPlayHandle,bEnableIVA); if(bRet) { int numRow=NetDemo.VATable.getRowCount(); for(int i=0;i