Class CoreUIApplication
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.UI.dll
Represents an application that has an UI screen. The events for resuming and pausing are provided.
C#Copypublic class CoreUIApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic CoreUIApplication()
Remarks
The default backend for the UI application will be used.
Declaration
C#Copypublic CoreUIApplication(ICoreBackend backend)
Parameters
Type | Name | Description |
---|---|---|
ICoreBackend | backend | The backend instance implementing the ICoreBacked interface. |
Remarks
If you want to change the backend, use this constructor.
Properties
Declaration
C#Copypublic DeviceOrientation CurrentDeviceOrientation { get; }
Property Value
Type | Description |
---|---|
DeviceOrientation |
Methods
View Source
OnPause()
Overrides this method if you want to handle the behavior when the application is paused. If base.OnPause() is not called, the event 'Paused' will not be emitted.
Declaration
C#Copyprotected virtual void OnPause()
View Source
OnPreCreate()
Overrides this method if you want to handle the behavior before calling OnCreate().
Declaration
C#Copyprotected virtual void OnPreCreate()
View Source
OnResume()
Overrides this method if you want to handle the behavior when the application is resumed. If base.OnResume() is not called, the event 'Resumed' will not be emitted.
Declaration
C#Copyprotected virtual void OnResume()
Declaration
C#Copypublic override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from the commandline. |
Overrides
Events
Declaration
C#Copypublic event EventHandler Paused
Event Type
Type | Description |
---|---|
System.EventHandler |
Declaration
C#Copypublic event EventHandler Resumed
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.IDisposable