/** * <summary> * Returns the number of elapsed milliseconds between the module power on and the last observed * detection (the input contact transitioned from present to absent). * <para> * </para> * <para> * </para> * </summary> * <returns> * an integer corresponding to the number of elapsed milliseconds between the module power on and the last observed * detection (the input contact transitioned from present to absent) * </returns> * <para> * On failure, throws an exception or returns <c>YProximity.LASTTIMEREMOVED_INVALID</c>. * </para> */ public long get_lastTimeRemoved() { if (_func == null) { throw new YoctoApiProxyException("No Proximity connected"); } return(_func.get_lastTimeRemoved()); }