Class NUIWatchApplication
Definition
- Assembly:
- Tizen.NUI.Wearable.dll
Represents an application that can make watch-face.
public class NUIWatchApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceNUIWatchApplication()
The default constructor.
Declaration
public NUIWatchApplication()
NUIWatchApplication(string)
The constructor with stylesheet.
Declaration
public NUIWatchApplication(string stylesheet)
Parameters
Type | Name | Description |
---|---|---|
string | stylesheet |
Properties
View SourceWindow
Get the window instance.
Declaration
public Window Window { get; }
Property Value
Type | Description |
---|---|
Window |
Methods
View SourceExit()
Exit NUIWidgetApplication.
Declaration
public override void Exit()
Overrides
View SourceOnAmbientChanged(AmbientChangedEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected virtual void OnAmbientChanged(NUIWatchApplication.AmbientChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
NUIWatchApplication.AmbientChangedEventArgs | e |
OnAmbientTick(AmbientTickEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected virtual void OnAmbientTick(NUIWatchApplication.AmbientTickEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
NUIWatchApplication.AmbientTickEventArgs | e |
OnAppControlReceived(AppControlReceivedEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
AppControlReceivedEventArgs | e |
Overrides
View SourceOnCreate()
Overrides this method if want to handle behavior.
Declaration
protected override void OnCreate()
Overrides
View SourceOnLocaleChanged(LocaleChangedEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LocaleChangedEventArgs | e |
Overrides
View SourceOnLowBattery(LowBatteryEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowBatteryEventArgs | e |
Overrides
View SourceOnLowMemory(LowMemoryEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowMemoryEventArgs | e |
Overrides
View SourceOnPause()
Overrides this method if want to handle behavior.
Declaration
protected void OnPause()
OnPreCreate()
Overrides this method if want to handle behavior.
Declaration
protected virtual void OnPreCreate()
OnRegionFormatChanged(RegionFormatChangedEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RegionFormatChangedEventArgs | e |
Overrides
View SourceOnResume()
Overrides this method if want to handle behavior.
Declaration
protected virtual void OnResume()
OnTerminate()
Overrides this method if want to handle behavior.
Declaration
protected override void OnTerminate()
Overrides
View SourceOnTimeTick(TimeTickEventArgs)
Overrides this method if want to handle behavior.
Declaration
protected virtual void OnTimeTick(NUIWatchApplication.TimeTickEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
NUIWatchApplication.TimeTickEventArgs | e |
Run(string[])
Run NUIWidgetApplication.
Declaration
public override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from commandline. |
Overrides
Events
View SourceAmbientChanged
Occurs when the device enters or exits ambient mode
Declaration
public event EventHandler AmbientChanged
Event Type
Type | Description |
---|---|
System.EventHandler |
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
public event EventHandler AmbientTick
Event Type
Type | Description |
---|---|
System.EventHandler |
Paused
Occurs whenever the application is paused.
Declaration
public event EventHandler Paused
Event Type
Type | Description |
---|---|
System.EventHandler |
Resumed
Occurs whenever the application is resumed.
Declaration
public event EventHandler Resumed
Event Type
Type | Description |
---|---|
System.EventHandler |
TimeTick
Occurs at every second.
Declaration
public event EventHandler TimeTick
Event Type
Type | Description |
---|---|
System.EventHandler |