}
}
+ if (swigCPtr.Handle == global::System.IntPtr.Zero || disposed)
+ {
+ NUILog.Error("[ERR] already disposed! can not get this done! just return here! please make sure that the handle gets free when using explicit Dispose()! For example, timer.Dispose(); timer = null; this must be done!");
+ return;
+ }
+
played = true;
Interop.Timer.Timer_Start(swigCPtr);
}
}
+ if (swigCPtr.Handle == global::System.IntPtr.Zero || disposed)
+ {
+ NUILog.Error("[ERR] already disposed! can not get this done! just return here! please make sure that the handle gets free when using explicit Dispose()! For example, timer.Dispose(); timer = null; this must be done!");
+ return;
+ }
+
played = false;
Interop.Timer.Timer_Stop(swigCPtr);
}
}
+ if (swigCPtr.Handle == global::System.IntPtr.Zero || disposed)
+ {
+ NUILog.Error("[ERR] already disposed! can not get this done! just return here! please make sure that the handle gets free when using explicit Dispose()! For example, timer.Dispose(); timer = null; this must be done!");
+ return false;
+ }
+
bool ret = Interop.Timer.Timer_IsRunning(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
{
NUILog.Debug($"(0x{swigCPtr.Handle:X})SetInterval({milliSec})");
+ if (swigCPtr.Handle == global::System.IntPtr.Zero || disposed)
+ {
+ NUILog.Error("[ERR] already disposed! can not get this done! just return here! please make sure that the handle gets free when using explicit Dispose()! For example, timer.Dispose(); timer = null; this must be done!");
+ return;
+ }
+
played = true;
Interop.Timer.Timer_SetInterval(swigCPtr, milliSec);
internal uint GetInterval()
{
+ if(swigCPtr.Handle == global::System.IntPtr.Zero || disposed)
+ {
+ NUILog.Error("[ERR] already disposed! can not get this done! just return here! please make sure that the handle gets free when using explicit Dispose()! For example, timer.Dispose(); timer = null; this must be done!");
+ return 0;
+ }
+
uint ret = Interop.Timer.Timer_GetInterval(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;