3 using Tizen.Applications.ComponentBased.Common;
8 /// Window information class for ComponentApplication
10 internal class NUIWindowInfo : IWindowInfo
12 private const string LogTag = "Tizen.NUI";
15 private bool _disposed = false;
18 /// Initializes the NUI Window class.
20 /// <param name="win">The window object of component.</param>
21 /// <since_tizen> 6 </since_tizen>
22 internal NUIWindowInfo(Window win)
28 /// Gets the resource ID of window
30 /// <returns>The native handle of window</returns>
37 _resId = _win.ResourceID;
39 Log.Info(LogTag, "Fail to get resource ID");
47 /// Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
49 /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
50 protected virtual void Dispose(bool disposing)
64 /// Dispose the window resources
66 /// <returns></returns>
67 /// <since_tizen> 6 </since_tizen>
71 GC.SuppressFinalize(this);