[Tizen.Applications] Deprecate some application API (#4547)
authorkilig <inkyun.kil@samsung.com>
Tue, 4 Oct 2022 10:04:19 +0000 (19:04 +0900)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2022 10:04:19 +0000 (19:04 +0900)
- Deprecate Tizen.Applications.ComponentBased.Default
- Deprecate Tizen.Applications.RemoteView
- Deprecate Tizen.Applications.WatchApplication
- Deprecate Tizen.Applications.WidgetApplication

Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Co-authored-by: WonYoung Choi <wy80.choi@samsung.com>
12 files changed:
src/Tizen.Applications.ComponentBased.Default/Tizen.Applications.ComponentBased.Default/EFLComponentBasedApplication.cs
src/Tizen.Applications.ComponentBased.Default/Tizen.Applications.ComponentBased.Default/EFLWindowInfo.cs [changed mode: 0644->0755]
src/Tizen.Applications.RemoteView/Tizen.Applications/RemoteView.cs
src/Tizen.Applications.RemoteView/Tizen.Applications/RemoteViewFactory.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/AmbientEventArgs.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/AmbientTickType.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/TimeEventArgs.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/TimeTickResolution.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchTime.cs [changed mode: 0644->0755]
src/Tizen.Applications.WidgetApplication/Tizen.Applications/WidgetApplication.cs
src/Tizen.Applications.WidgetApplication/Tizen.Applications/WidgetBase.cs [changed mode: 0644->0755]

index 5abfcff..3b4dba6 100755 (executable)
@@ -9,6 +9,7 @@ namespace Tizen.Applications.ComponentBased.Default
     /// The basic EFL component-based application class.
     /// </summary>
     /// <since_tizen> 6 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class EFLComponentBasedApplication : ComponentBasedApplication
     {
         private const string LogTag = "Tizen.Applications";
@@ -21,6 +22,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// The value should be a component id which is declared in tizen-manifest.xml.
         /// </param>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public EFLComponentBasedApplication(IDictionary<Type, string> typeInfo) : base(typeInfo)
         {
         }
@@ -30,6 +32,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// </summary>
         /// <param name="args"></param>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected override void OnInit(string[] args)
         {
             Interop.Elementary.ElmInit(args.Length, args);
@@ -55,6 +58,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// This method will be called after exiting main-loop
         /// </summary>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected override void OnFinished()
         {
             Interop.Elementary.ElmShutdown();
@@ -69,6 +73,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// This method will be called to start main-loop
         /// </summary>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected override void OnRun()
         {
             Interop.Elementary.ElmRun();
@@ -78,6 +83,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// This method will be called to exit main-loop
         /// </summary>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected override void OnExit()
         {
             Interop.Elementary.ElmExit();
old mode 100644 (file)
new mode 100755 (executable)
index e899a0c..5d290c2
@@ -8,6 +8,7 @@ namespace Tizen.Applications.ComponentBased.Default
     /// Window information class for ComponentBasedApplication
     /// </summary>
     /// <since_tizen> 6 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class EFLWindowInfo : IWindowInfo
     {
         private const string LogTag = "Tizen.Applications";
@@ -20,6 +21,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// </summary>
         /// <param name="win">The window object of component.</param>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public EFLWindowInfo(Window win)
         {
             _win = win;
@@ -30,6 +32,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// </summary>
         /// <returns>The native handle of window</returns>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int ResourceId
         {
             get
@@ -50,6 +53,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// </summary>
         /// <since_tizen> 6 </since_tizen>
         /// <param name="disposing">If true, disposes any disposable objects. If false, does not dispose disposable objects.</param>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected virtual void Dispose(bool disposing)
         {
             if (_disposed)
@@ -68,6 +72,7 @@ namespace Tizen.Applications.ComponentBased.Default
         /// </summary>
         /// <returns></returns>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void Dispose()
         {
             Dispose(true);
index af98247..dab7417 100755 (executable)
@@ -24,12 +24,14 @@ namespace Tizen.Applications
     /// Represents the proxy class for the widget application.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class RemoteView
     {
         /// <summary>
         /// The event types to send.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public enum Event
         {
             /// <summary>
@@ -48,6 +50,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public Layout Layout { get; internal set; }
 
         /// <summary>
@@ -55,6 +58,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public string Id
         {
             get
@@ -70,6 +74,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public double Period
         {
             get
@@ -86,6 +91,7 @@ namespace Tizen.Applications
         /// </remarks>
         /// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public string Content
         {
             get
@@ -101,6 +107,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <privilege>http://tizen.org/privilege/widget.viewer</privilege>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public string Title
         {
             get
@@ -147,6 +154,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static void PauseAll()
         {
             CheckException(Interop.WidgetViewerEvas.NotifyPausedStatusOfViewer());
@@ -160,6 +168,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static void ResumeAll()
         {
             CheckException(Interop.WidgetViewerEvas.NotifyResumedStatusOfViewer());
@@ -173,6 +182,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void Pause()
         {
             CheckException(Interop.WidgetViewerEvas.PauseWidget(Layout));
@@ -186,6 +196,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void Resume()
         {
             CheckException(Interop.WidgetViewerEvas.ResumeWidget(Layout));
@@ -198,6 +209,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void SendEvent(Event ev)
         {
             switch (ev)
index 8fd6798..cbf77a4 100755 (executable)
@@ -23,6 +23,7 @@ namespace Tizen.Applications
     /// Represents a factory class for making the RemoteView objects.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public static class RemoteViewFactory
     {
         private static bool _ready;
@@ -38,6 +39,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static void Init(EvasObject win)
         {
             if (_ready)
@@ -62,6 +64,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static RemoteView Create(EvasObject parent, string widgetId, string content, double period,
             bool previewImage = true, bool overlayText = true, bool loadingMessage = true)
         {
@@ -93,6 +96,7 @@ namespace Tizen.Applications
         /// <exception cref="UnauthorizedAccessException">Thrown when this operation is denied.</exception>
         /// <exception cref="NotSupportedException">Thrown when this operation is not supported for this device.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public static void Shutdown()
         {
             if (!_ready)
index 4d14b49..d03bdea 100755 (executable)
@@ -23,6 +23,7 @@ namespace Tizen.Applications
     /// Arguments for the event that are raised when the device enters or exits the ambient mode.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class AmbientEventArgs : EventArgs
     {
         /// <summary>
index 07b71cb..f3392fe 100755 (executable)
@@ -22,6 +22,7 @@ namespace Tizen.Applications
     /// Enumeration for the ambient tick types.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public enum AmbientTickType
     {
         /// <summary>
index d93deeb..f67a337 100755 (executable)
@@ -22,6 +22,7 @@ namespace Tizen.Applications
     /// Arguments for the event that are raised when the time tick comes.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class TimeEventArgs : EventArgs
     {
         /// <summary>
index 72507d2..3755459 100755 (executable)
@@ -22,6 +22,7 @@ namespace Tizen.Applications
     /// Enumeration for the time tick resolution.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public enum TimeTickResolution
     {
         /// <summary>
index ecf49ee..76fb7f8 100755 (executable)
@@ -24,6 +24,7 @@ namespace Tizen.Applications
     /// The class that represents the Tizen watch application.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class WatchApplication : CoreApplication
     {
         /// <summary>
@@ -33,6 +34,7 @@ namespace Tizen.Applications
         /// Default backend for the watch application will be used.
         /// </remarks>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public WatchApplication() : base(new WatchCoreBackend())
         {
         }
@@ -45,6 +47,7 @@ namespace Tizen.Applications
         /// </remarks>
         /// <param name="backend">The backend instance implementing the ICoreBackend interface.</param>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public WatchApplication(ICoreBackend backend) : base(backend)
         {
         }
@@ -53,36 +56,42 @@ namespace Tizen.Applications
         /// Instances for the window.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected Window Window;
 
         /// <summary>
         /// Occurs whenever the application is resumed.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public event EventHandler Resumed;
 
         /// <summary>
         /// Occurs whenever the application is paused.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public event EventHandler Paused;
 
         /// <summary>
         /// Occurs whenever the time tick comes.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public event EventHandler<TimeEventArgs> TimeTick;
 
         /// <summary>
         /// Occurs whenever the time tick comes in the ambient mode.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public event EventHandler<TimeEventArgs> AmbientTick;
 
         /// <summary>
         /// Occurs when the ambient mode is changed.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public event EventHandler<AmbientEventArgs> AmbientChanged;
 
         /// <summary>
@@ -90,6 +99,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="args">Arguments from the commandline.</param>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public override void Run(string[] args)
         {
             Backend.AddEventHandler(EventType.Resumed, OnResume);
@@ -107,6 +117,7 @@ namespace Tizen.Applications
         /// If base.OnCreate() is not called, the event 'Created' will not be emitted.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected override void OnCreate()
         {
             base.OnCreate();
@@ -122,6 +133,7 @@ namespace Tizen.Applications
         /// If base.OnResume() is not called, the event 'Resumed' will not be emitted.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected virtual void OnResume()
         {
             Resumed?.Invoke(this, EventArgs.Empty);
@@ -132,6 +144,7 @@ namespace Tizen.Applications
         /// If base.OnPause() is not called, the event 'Paused' will not be emitted.
         /// </summary>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected virtual void OnPause()
         {
             Paused?.Invoke(this, EventArgs.Empty);
@@ -143,6 +156,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="time">The received TimeEventArgs to get the time information.</param>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected virtual void OnTick(TimeEventArgs time)
         {
             TimeTick?.Invoke(this, time);
@@ -155,6 +169,7 @@ namespace Tizen.Applications
         /// <param name="time">The received TimeEventArgs to get time information.</param>
         /// <privilege>http://tizen.org/privilege/alarm.set</privilege>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected virtual void OnAmbientTick(TimeEventArgs time)
         {
             AmbientTick?.Invoke(this, time);
@@ -166,6 +181,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="mode">The received AmbientEventArgs.</param>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected virtual void OnAmbientChanged(AmbientEventArgs mode)
         {
             AmbientChanged?.Invoke(this, mode);
@@ -199,6 +215,7 @@ namespace Tizen.Applications
         /// </code>
         /// </example>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected WatchTime GetCurrentTime()
         {
             SafeWatchTimeHandle handle;
@@ -243,6 +260,7 @@ namespace Tizen.Applications
         /// </code>
         /// </example>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected AmbientTickType GetAmbientTickType()
         {
             AmbientTickType ambientTickType;
@@ -288,6 +306,7 @@ namespace Tizen.Applications
         /// </code>
         /// </example>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected void SetAmbientTickType(AmbientTickType ambientTickType)
         {
             Interop.Watch.ErrorCode err = Interop.Watch.SetAmbientTickType(ambientTickType);
@@ -330,6 +349,7 @@ namespace Tizen.Applications
         /// </code>
         /// </example>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected void SetTimeTickFrequency(int ticks, TimeTickResolution type)
         {
             Interop.Watch.ErrorCode err = Interop.Watch.SetTimeTickFrequency(ticks, type);
@@ -372,6 +392,7 @@ namespace Tizen.Applications
         /// </code>
         /// </example>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected void GetTimeTickFrequency(out int ticks, out TimeTickResolution type)
         {
             Interop.Watch.ErrorCode err = Interop.Watch.GetTimeTickFrequency(out ticks, out type);
old mode 100644 (file)
new mode 100755 (executable)
index cf5b429..e29df70
@@ -22,6 +22,7 @@ namespace Tizen.Applications
     /// The information of the Watch Time.
     /// </summary>
     /// <since_tizen> 4 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class WatchTime
     {
         private readonly SafeWatchTimeHandle _handle;
@@ -38,6 +39,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Year
         {
             get
@@ -62,6 +64,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Month
         {
             get
@@ -86,6 +89,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Day
         {
             get
@@ -110,6 +114,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int DayOfWeek
         {
             get
@@ -134,6 +139,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Hour
         {
             get
@@ -158,6 +164,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Hour24
         {
             get
@@ -182,6 +189,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Minute
         {
             get
@@ -206,6 +214,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Second
         {
             get
@@ -230,6 +239,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public int Millisecond
         {
             get
@@ -254,6 +264,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public string TimeZone
         {
             get
@@ -278,6 +289,7 @@ namespace Tizen.Applications
         /// <feature>http://tizen.org/feature/watch_app</feature>
         /// <exception cref="NotSupportedException">Thrown when the property is not supported.</exception>
         /// <since_tizen> 4 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public DateTime UtcTimestamp
         {
             get
index 1907a41..6d11cc4 100755 (executable)
@@ -24,6 +24,7 @@ namespace Tizen.Applications
     /// Represents a widget application.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public class WidgetApplication : CoreApplication
     {
         /// <summary>
@@ -31,6 +32,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="typeInfo">Map structure for the derived class type and widget ID.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public WidgetApplication(IDictionary<Type, string> typeInfo) : base(new WidgetCoreBackend())
         {
             WidgetCoreBackend core = Backend as WidgetCoreBackend;
@@ -44,6 +46,7 @@ namespace Tizen.Applications
         /// <remarks>Widget ID will be replaced as the application ID.</remarks>
         /// <param name="type">Derived class type.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public WidgetApplication(Type type) : base(new WidgetCoreBackend())
         {
             WidgetCoreBackend core = Backend as WidgetCoreBackend;
@@ -56,6 +59,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="type">Class type for the widget.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public IEnumerable<WidgetBase> GetInstances(Type type)
         {
             WidgetCoreBackend core = Backend as WidgetCoreBackend;
@@ -79,6 +83,7 @@ namespace Tizen.Applications
         /// </summary>
         /// <param name="args">Arguments from the commandline.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public override void Run(string[] args)
         {
             base.Run(args);
old mode 100644 (file)
new mode 100755 (executable)
index c7f8dbf..d07bca9
@@ -23,6 +23,7 @@ namespace Tizen.Applications
     /// The abstract class for widget instances.
     /// </summary>
     /// <since_tizen> 3 </since_tizen>
+    [Obsolete("Deprecated since API10. Will be removed in API12.")]
     public abstract class WidgetBase
     {
         internal IntPtr Handle;
@@ -33,12 +34,14 @@ namespace Tizen.Applications
         /// It will be created after OnCreate method is invoked.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         protected Window Window;
 
         /// <summary>
         /// Delete type.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public enum WidgetDestroyType
         {
             /// <summary>
@@ -56,6 +59,7 @@ namespace Tizen.Applications
         /// Constructor.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public WidgetBase()
         {
         }
@@ -65,6 +69,7 @@ namespace Tizen.Applications
         /// It will be created after OnCreate method is invoked.
         /// </summary>
         /// <since_tizen> 6 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public string Id { get; private set; }
 
         /// <summary>
@@ -76,6 +81,7 @@ namespace Tizen.Applications
         /// <exception cref="NotSupportedException">Thrown when the API is not supported in this device.</exception>
         /// <exception cref="InvalidOperationException">Thrown in case of an unrecoverable error.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void SetContent(Bundle info)
         {
             Interop.Widget.ErrorCode err = Interop.Widget.SetContent(Handle, info.SafeBundleHandle);
@@ -109,6 +115,7 @@ namespace Tizen.Applications
         /// <exception cref="NotSupportedException">Thrown when the API is not supported in this device.</exception>
         /// <exception cref="InvalidOperationException">Thrown in case of an unrecoverable error.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void SetTitle(string title)
         {
             Interop.Widget.ErrorCode err = Interop.Widget.SetTitle(Handle, title);
@@ -139,6 +146,7 @@ namespace Tizen.Applications
         /// <exception cref="NotSupportedException">Thrown when the API is not supported in this device.</exception>
         /// <exception cref="InvalidOperationException">Thrown in case of an unrecoverable error.</exception>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public void Exit()
         {
             Interop.Widget.ErrorCode err = Interop.Widget.TerminateContext(Handle);
@@ -172,6 +180,7 @@ namespace Tizen.Applications
         /// <param name="w">The pixel value for the widget width.</param>
         /// <param name="h">The pixel value for the widget height.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public virtual void OnCreate(Bundle content, int w, int h)
         {
             IntPtr win;
@@ -188,6 +197,7 @@ namespace Tizen.Applications
         /// <param name="reason">The reason for destruction.</param>
         /// <param name="content">The data set to save.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public virtual void OnDestroy(WidgetDestroyType reason, Bundle content)
         {
         }
@@ -196,6 +206,7 @@ namespace Tizen.Applications
         /// Overrides this method if want to handle the behavior when the widget instance is paused.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public virtual void OnPause()
         {
         }
@@ -204,6 +215,7 @@ namespace Tizen.Applications
         /// Overrides this method if want to handle the behavior when the widget instance is resumed.
         /// </summary>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public virtual void OnResume()
         {
         }
@@ -214,6 +226,7 @@ namespace Tizen.Applications
         /// <param name="w">Widget width.</param>
         /// <param name="h">Widget height.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public virtual void OnResize(int w, int h)
         {
         }
@@ -224,6 +237,7 @@ namespace Tizen.Applications
         /// <param name="content">The data set for updating this widget will be provided by the requester.</param>
         /// <param name="isForce">Although the widget is paused, if it is true, the widget can be updated.</param>
         /// <since_tizen> 3 </since_tizen>
+        [Obsolete("Deprecated since API10. Will be removed in API12.")]
         public virtual void OnUpdate(Bundle content, bool isForce)
         {
         }