Class Application
The class that represents a Tizen application.
Implements
Inherited Members
Namespace: Tizen.Applications
Assembly: Tizen.Applications.Common.dll
Syntax
public abstract class Application : IDisposable
Properties
ApplicationInfo
Gets the class representing information of the current application.
Declaration
public ApplicationInfo ApplicationInfo { get; }
Property Value
Type | Description |
---|---|
ApplicationInfo |
API Version
3Current
Gets the instance of the current application.
Declaration
public static Application Current { get; }
Property Value
Type | Description |
---|---|
Application |
API Version
3DirectoryInfo
Gets the class representing directory information of the current application.
Declaration
public DirectoryInfo DirectoryInfo { get; }
Property Value
Type | Description |
---|---|
DirectoryInfo |
API Version
3Name
Gets the name of current application.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
API Version
6Version
Gets the version of current application.
Declaration
public string Version { get; }
Property Value
Type | Description |
---|---|
String |
API Version
6Methods
Dispose()
Releases all resources used by the application class.
Declaration
public void Dispose()
API Version
3Dispose(Boolean)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
API Version
3Exit()
Exits the main loop of the application.
Declaration
public abstract void Exit()
API Version
3Finalize()
Finalizer of the application class.
Declaration
protected void Finalize()
Run(String[])
Runs the application's main loop.
Declaration
public virtual void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
String[] | args | Arguments from commandline. |