Interface ICoreBackend
Definition
- Namespace:
- Tizen.Applications.CoreBackend
- Assembly:
- Tizen.Applications.Common.dll
- API Level:
- 3
An interface that represents the backend lifecycles.
public interface ICoreBackend : IDisposable
Methods
View SourceAddEventHandler(EventType, Action)
Adds an event handler.
Declaration
void AddEventHandler(EventType evType, Action handler)
Parameters
Type | Name | Description |
---|---|---|
EventType | evType | The type of event. |
Action | handler | The handler method without arguments. |
API Level: 3
View SourceAddEventHandler<TEventArgs>(EventType, Action<TEventArgs>)
Adds an event handler.
Declaration
void AddEventHandler<TEventArgs>(EventType evType, Action<TEventArgs> handler)
where TEventArgs : EventArgs
Parameters
Type | Name | Description |
---|---|---|
EventType | evType | The type of event. |
Action<TEventArgs> | handler | The handler method with a TEventArgs type argument. |
Type Parameters
Name | Description |
---|---|
TEventArgs | The EventArgs type used in arguments of the handler method. |
API Level: 3
View SourceExit()
Exits the mainloop of the backend.
Declaration
void Exit()
API Level: 3
View SourceRun(String[])
Runs the mainloop of the backend.
Declaration
void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
String[] | args |