Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
This class has the methods and events of the ApplicationManager.
public static class ApplicationManager
- Inheritance
-
Methods
View Source
GetAllRunningApplicationsAsync()
Gets the information of the running applications including subapp asynchronously.
Declaration
public static Task<IEnumerable<ApplicationRunningContext>> GetAllRunningApplicationsAsync()
Returns
API Level: 3
View Source
GetInstalledApplication(String)
Gets the information of the specified application with the application ID.
Declaration
public static ApplicationInfo GetInstalledApplication(string applicationId)
Parameters
Type |
Name |
Description |
System.String |
applicationId |
Application ID.
|
Returns
API Level: 3
View Source
GetInstalledApplicationsAsync()
Gets the information of the installed applications asynchronously.
Declaration
public static Task<IEnumerable<ApplicationInfo>> GetInstalledApplicationsAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ApplicationInfo>> |
|
API Level: 3
View Source
GetInstalledApplicationsAsync(ApplicationInfoFilter)
Gets the information of the installed applications with the ApplicationInfoFilter asynchronously.
Declaration
public static Task<IEnumerable<ApplicationInfo>> GetInstalledApplicationsAsync(ApplicationInfoFilter filter)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ApplicationInfo>> |
|
API Level: 3
View Source
Gets the information of the installed applications with the ApplicationInfoMetadataFilter asynchronously.
Declaration
public static Task<IEnumerable<ApplicationInfo>> GetInstalledApplicationsAsync(ApplicationInfoMetadataFilter filter)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<ApplicationInfo>> |
|
API Level: 3
View Source
GetRunningApplicationsAsync()
Gets the information of the running applications asynchronously.
Declaration
public static Task<IEnumerable<ApplicationRunningContext>> GetRunningApplicationsAsync()
Returns
API Level: 3
View Source
IsRunning(String)
Returns if the specified application is running or not.
Declaration
public static bool IsRunning(string applicationId)
Parameters
Type |
Name |
Description |
System.String |
applicationId |
The application ID.
|
Returns
Type |
Description |
Boolean |
Returns true if the given application is running, otherwise false.
|
Exceptions
Type |
Condition |
System.ArgumentException |
Thrown when the given parameter is invalid.
|
API Level: 3
Events
View Source
ApplicationDisabled
Occurs whenever the installed application is disabled.
Declaration
public static event EventHandler<ApplicationDisabledEventArgs> ApplicationDisabled
Event Type
API Level: 3
View Source
ApplicationEnabled
Occurs whenever the installed application is enabled.
Declaration
public static event EventHandler<ApplicationEnabledEventArgs> ApplicationEnabled
Event Type
API Level: 3
View Source
ApplicationLaunched
Occurs whenever the installed applications get launched.
Declaration
public static event EventHandler<ApplicationLaunchedEventArgs> ApplicationLaunched
Event Type
API Level: 3
View Source
ApplicationTerminated
Occurs whenever the installed applications get terminated.
Declaration
public static event EventHandler<ApplicationTerminatedEventArgs> ApplicationTerminated
Event Type
API Level: 3