Class Application

Definition

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

The class that represents a Tizen application.

C#
Copy
public abstract class Application : IDisposable
Inheritance
System.Object
Application
Derived
Implements
System.IDisposable

Properties

View Source

ApplicationInfo

Gets the class representing information of the current application.

Declaration
C#
Copy
public ApplicationInfo ApplicationInfo { get; }
Property Value
Type Description
ApplicationInfo
API Level: 3
View Source

Current

Gets the instance of the current application.

Declaration
C#
Copy
public static Application Current { get; }
Property Value
Type Description
Application
API Level: 3
View Source

DirectoryInfo

Gets the class representing directory information of the current application.

Declaration
C#
Copy
public DirectoryInfo DirectoryInfo { get; }
Property Value
Type Description
DirectoryInfo
API Level: 3
View Source

Name

Gets the name of current application.

Declaration
C#
Copy
public string Name { get; }
Property Value
Type Description
System.String
API Level: 6
View Source

Version

Gets the version of current application.

Declaration
C#
Copy
public string Version { get; }
Property Value
Type Description
System.String
API Level: 6

Methods

View Source

Dispose()

Releases all resources used by the application class.

Declaration
C#
Copy
public void Dispose()
API Level: 3
View Source

Dispose(Boolean)

Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing

If true, disposes any disposable objects. If false, does not dispose disposable objects.

API Level: 3
View Source

Exit()

Exits the main loop of the application.

Declaration
C#
Copy
public abstract void Exit()
API Level: 3
View Source

Finalize()

Finalizer of the application class.

Declaration
C#
Copy
protected void Finalize()
View Source

Run(String[])

Runs the application's main loop.

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

Arguments from commandline.

API Level: 3

Implements

System.IDisposable