Class NUIComponentApplication

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

The class for supporting multi-components application model.

C#
Copy
public class NUIComponentApplication : CoreApplication
Inheritance
NUIComponentApplication

Constructors

View Source

NUIComponentApplication(IDictionary<Type, String>)

Initializes the ComponentApplication class.

Declaration
C#
Copy
public NUIComponentApplication(IDictionary<Type, string> typeInfo)
Parameters
Type Name Description
IDictionary<Type, String> typeInfo

The component type information. The key should be a class type of FrameComponent or SubComponent subclass. The value should be a component id which is declared in tizen-manifest.xml.

Methods

View Source

Exit()

Exits the main loop of the application.

Declaration
C#
Copy
public override void Exit()
Overrides
View Source

OnCreate()

This method will be called before running main-loop

Declaration
C#
Copy
protected override void OnCreate()
Overrides
View Source

OnTerminate()

This method will be called after exiting main-loop

Declaration
C#
Copy
protected override void OnTerminate()
Overrides
View Source

RegisterComponent(Type, String)

Registers a component.

Declaration
C#
Copy
public void RegisterComponent(Type compType, string compId)
Parameters
Type Name Description
Type compType

Class type

String compId

Component ID

View Source

Run(String[])

Runs the application's main loop.

Declaration
C#
Copy
public override void Run(string[] args)
Parameters
Type Name Description
String[] args

Arguments from commandline.

Overrides

Extension Methods