Class NUIWatchApplication

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.Wearable.dll

Represents an application that can make watch-face.

C#
Copy
public class NUIWatchApplication : CoreApplication, IDisposable
Inheritance
System.Object
NUIWatchApplication
Implements
System.IDisposable

Constructors

View Source

NUIWatchApplication()

The default constructor.

Declaration
C#
Copy
public NUIWatchApplication()
View Source

NUIWatchApplication(String)

The constructor with stylesheet.

Declaration
C#
Copy
public NUIWatchApplication(string stylesheet)
Parameters
Type Name Description
System.String stylesheet

Properties

View Source

Window

Get the window instance.

Declaration
C#
Copy
public Window Window { get; }
Property Value
Type Description
Window

Methods

View Source

Exit()

Exit NUIWidgetApplication.

Declaration
C#
Copy
public override void Exit()
Overrides
View Source

OnAmbientChanged(NUIWatchApplication.AmbientChangedEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected virtual void OnAmbientChanged(NUIWatchApplication.AmbientChangedEventArgs e)
Parameters
Type Name Description
NUIWatchApplication.AmbientChangedEventArgs e
View Source

OnAmbientTick(NUIWatchApplication.AmbientTickEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected virtual void OnAmbientTick(NUIWatchApplication.AmbientTickEventArgs e)
Parameters
Type Name Description
NUIWatchApplication.AmbientTickEventArgs e
Privilege Level: public
Privilege: http://tizen.org/privilege/alarm.set
View Source

OnAppControlReceived(AppControlReceivedEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
Parameters
Type Name Description
AppControlReceivedEventArgs e
Overrides
View Source

OnCreate()

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnCreate()
Overrides
View Source

OnLocaleChanged(LocaleChangedEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
Type Name Description
LocaleChangedEventArgs e
Overrides
View Source

OnLowBattery(LowBatteryEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
Type Name Description
LowBatteryEventArgs e
Overrides
View Source

OnLowMemory(LowMemoryEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
Type Name Description
LowMemoryEventArgs e
Overrides
View Source

OnPause()

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected virtual void OnPause()
View Source

OnPreCreate()

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected virtual void OnPreCreate()
View Source

OnRegionFormatChanged(RegionFormatChangedEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type Name Description
RegionFormatChangedEventArgs e
Overrides
View Source

OnResume()

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected virtual void OnResume()
View Source

OnTerminate()

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected override void OnTerminate()
Overrides
View Source

OnTimeTick(NUIWatchApplication.TimeTickEventArgs)

Overrides this method if want to handle behavior.

Declaration
C#
Copy
protected virtual void OnTimeTick(NUIWatchApplication.TimeTickEventArgs e)
Parameters
Type Name Description
NUIWatchApplication.TimeTickEventArgs e
View Source

Run(String[])

Run NUIWidgetApplication.

Declaration
C#
Copy
public override void Run(string[] args)
Parameters
Type Name Description
System.String[] args

Arguments from commandline.

Overrides

Events

View Source

AmbientChanged

Occurs when the device enters or exits ambient mode

Declaration
C#
Copy
public event EventHandler AmbientChanged
Event Type
Type Description
System.EventHandler
View Source

AmbientTick

Occurs at each minute in ambient mode. http://tizen.org/privilege/alarm.set privilege is needed to receive ambient ticks at each minute.

Declaration
C#
Copy
public event EventHandler AmbientTick
Event Type
Type Description
System.EventHandler
View Source

Paused

Occurs whenever the application is paused.

Declaration
C#
Copy
public event EventHandler Paused
Event Type
Type Description
System.EventHandler
View Source

Resumed

Occurs whenever the application is resumed.

Declaration
C#
Copy
public event EventHandler Resumed
Event Type
Type Description
System.EventHandler
View Source

TimeTick

Occurs at every second.

Declaration
C#
Copy
public event EventHandler TimeTick
Event Type
Type Description
System.EventHandler

Implements

System.IDisposable