/// 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";
/// 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)
{
}
/// </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);
/// 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();
/// 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();
/// 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();
/// 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";
/// </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;
/// </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
/// </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)
/// </summary>
/// <returns></returns>
/// <since_tizen> 6 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
public void Dispose()
{
Dispose(true);
/// 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>
/// </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>
/// </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
/// </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
/// </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
/// </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
/// <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());
/// <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());
/// <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));
/// <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));
/// <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)
/// 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;
/// <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)
/// <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)
{
/// <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)
/// 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>
/// 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>
/// 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>
/// 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>
/// 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>
/// 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())
{
}
/// </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)
{
}
/// 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>
/// </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);
/// 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();
/// 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);
/// 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);
/// </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);
/// <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);
/// </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);
/// </code>
/// </example>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
protected WatchTime GetCurrentTime()
{
SafeWatchTimeHandle handle;
/// </code>
/// </example>
/// <since_tizen> 4 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
protected AmbientTickType GetAmbientTickType()
{
AmbientTickType ambientTickType;
/// </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);
/// </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);
/// </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);
/// 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;
/// <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
/// <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
/// <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
/// <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
/// <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
/// <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
/// <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
/// <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
/// <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
/// <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
/// <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
/// Represents a widget application.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
public class WidgetApplication : CoreApplication
{
/// <summary>
/// </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;
/// <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;
/// </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;
/// </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);
/// 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;
/// 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>
/// Constructor.
/// </summary>
/// <since_tizen> 3 </since_tizen>
+ [Obsolete("Deprecated since API10. Will be removed in API12.")]
public WidgetBase()
{
}
/// 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>
/// <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);
/// <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);
/// <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);
/// <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;
/// <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)
{
}
/// 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()
{
}
/// 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()
{
}
/// <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)
{
}
/// <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)
{
}