Interface ICoreBackend

Definition

Namespace:
Tizen.Applications.CoreBackend
Assembly:
Tizen.Applications.Common.dll
API Level:
3

An interface that represents the backend lifecycles.

C#
Copy
public interface ICoreBackend : IDisposable

Methods

View Source

AddEventHandler(EventType, Action)

Adds an event handler.

Declaration
C#
Copy
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 Source

AddEventHandler<TEventArgs>(EventType, Action<TEventArgs>)

Adds an event handler.

Declaration
C#
Copy
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 Source

Exit()

Exits the mainloop of the backend.

Declaration
C#
Copy
void Exit()
API Level: 3
View Source

Run(String[])

Runs the mainloop of the backend.

Declaration
C#
Copy
void Run(string[] args)
Parameters
Type Name Description
String[] args
API Level: 3