Interface ICoreBackend
Definition
- Namespace:
- Tizen.Applications.CoreBackend
- Assembly:
- Tizen.Applications.Common.dll
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. |
System.Action | handler | The handler method without arguments. |
AddEventHandler<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. |
System.Action<T><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. |
Exit()
Exits the mainloop of the backend.
Declaration
void Exit()
Run(string[])
Runs the mainloop of the backend.
Declaration
void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args |