ViewAPI.getIdNumber

 

int getIdNumber()

This method returns a unique integer assigned to the view.  This integer remains with the view for the entire SDM server session, i.e. it does not change as views are opened and closed, and no other view can be assigned the same number.  Thus, this number can be used to uniquely identify the view.