Class WidgetApplication

Definition

Namespace:
Tizen.Applications
Assembly:
Tizen.Applications.WidgetApplication.dll
API Level:
3

Represents a widget application.

C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public class WidgetApplication : CoreApplication, IDisposable
Inheritance
System.Object
WidgetApplication
Implements
System.IDisposable

Constructors

View Source

WidgetApplication(IDictionary<Type, String>)

Initializes the WidgetApplication class with the type and application ID.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public WidgetApplication(IDictionary<Type, string> typeInfo)
Parameters
Type Name Description
IDictionary<Type, System.String> typeInfo

Map structure for the derived class type and widget ID.

API Level: 3
View Source

WidgetApplication(Type)

Initializes the WidgetApplication class with the type.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public WidgetApplication(Type type)
Parameters
Type Name Description
Type type

Derived class type.

Remarks

Widget ID will be replaced as the application ID.

API Level: 3

Methods

View Source

GetInstances(Type)

Gets all instances of the widget associated with the type.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public IEnumerable<WidgetBase> GetInstances(Type type)
Parameters
Type Name Description
Type type

Class type for the widget.

Returns
Type Description
System.Collections.Generic.IEnumerable<WidgetBase>
API Level: 3
View Source

Run(String[])

Runs the widget application's main loop.

Declaration
C#
Copy
[Obsolete("Deprecated since API10. Will be removed in API12.")] public override void Run(string[] args)
Parameters
Type Name Description
System.String[] args

Arguments from the commandline.

Overrides
API Level: 3

Implements

System.IDisposable