Show / Hide Table of Contents

    Class NUIWatchApplication

    Definition

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

    Represents an application that can make watch-face.

    public class NUIWatchApplication : CoreApplication, IDisposable
    Inheritance
    Object
    Application
    CoreApplication
    NUIWatchApplication
    Implements
    IDisposable

    Constructors

    View Source

    NUIWatchApplication()

    The default constructor.

    Declaration
    public NUIWatchApplication()
    View Source

    NUIWatchApplication(String)

    The constructor with stylesheet.

    Declaration
    public NUIWatchApplication(string stylesheet)
    Parameters
    Type Name Description
    String stylesheet

    Properties

    View Source

    Window

    Get the window instance.

    Declaration
    public Window Window { get; }
    Property Value
    Type Description
    Window

    Methods

    View Source

    Exit()

    Exit NUIWidgetApplication.

    Declaration
    public override void Exit()
    Overrides
    CoreApplication.Exit()
    View Source

    OnAmbientChanged(NUIWatchApplication.AmbientChangedEventArgs)

    Overrides this method if want to handle behavior.

    Declaration
    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
    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
    protected override void OnAppControlReceived(AppControlReceivedEventArgs e)
    Parameters
    Type Name Description
    AppControlReceivedEventArgs e
    Overrides
    CoreApplication.OnAppControlReceived(AppControlReceivedEventArgs)
    View Source

    OnCreate()

    Overrides this method if want to handle behavior.

    Declaration
    protected override void OnCreate()
    Overrides
    CoreApplication.OnCreate()
    View Source

    OnLocaleChanged(LocaleChangedEventArgs)

    Overrides this method if want to handle behavior.

    Declaration
    protected override void OnLocaleChanged(LocaleChangedEventArgs e)
    Parameters
    Type Name Description
    LocaleChangedEventArgs e
    Overrides
    CoreApplication.OnLocaleChanged(LocaleChangedEventArgs)
    View Source

    OnLowBattery(LowBatteryEventArgs)

    Overrides this method if want to handle behavior.

    Declaration
    protected override void OnLowBattery(LowBatteryEventArgs e)
    Parameters
    Type Name Description
    LowBatteryEventArgs e
    Overrides
    CoreApplication.OnLowBattery(LowBatteryEventArgs)
    View Source

    OnLowMemory(LowMemoryEventArgs)

    Overrides this method if want to handle behavior.

    Declaration
    protected override void OnLowMemory(LowMemoryEventArgs e)
    Parameters
    Type Name Description
    LowMemoryEventArgs e
    Overrides
    CoreApplication.OnLowMemory(LowMemoryEventArgs)
    View Source

    OnPause()

    Overrides this method if want to handle behavior.

    Declaration
    protected virtual void OnPause()
    View Source

    OnPreCreate()

    Overrides this method if want to handle behavior.

    Declaration
    protected virtual void OnPreCreate()
    View Source

    OnRegionFormatChanged(RegionFormatChangedEventArgs)

    Overrides this method if want to handle behavior.

    Declaration
    protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
    Parameters
    Type Name Description
    RegionFormatChangedEventArgs e
    Overrides
    CoreApplication.OnRegionFormatChanged(RegionFormatChangedEventArgs)
    View Source

    OnResume()

    Overrides this method if want to handle behavior.

    Declaration
    protected virtual void OnResume()
    View Source

    OnTerminate()

    Overrides this method if want to handle behavior.

    Declaration
    protected override void OnTerminate()
    Overrides
    CoreApplication.OnTerminate()
    View Source

    OnTimeTick(NUIWatchApplication.TimeTickEventArgs)

    Overrides this method if want to handle behavior.

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

    Run(String[])

    Run NUIWidgetApplication.

    Declaration
    public override void Run(string[] args)
    Parameters
    Type Name Description
    String[] args

    Arguments from commandline.

    Overrides
    CoreApplication.Run(String[])

    Events

    View Source

    AmbientChanged

    Occurs when the device enters or exits ambient mode

    Declaration
    public event EventHandler AmbientChanged
    Event Type
    Type Description
    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
    public event EventHandler AmbientTick
    Event Type
    Type Description
    EventHandler
    View Source

    Paused

    Occurs whenever the application is paused.

    Declaration
    public event EventHandler Paused
    Event Type
    Type Description
    EventHandler
    View Source

    Resumed

    Occurs whenever the application is resumed.

    Declaration
    public event EventHandler Resumed
    Event Type
    Type Description
    EventHandler
    View Source

    TimeTick

    Occurs at every second.

    Declaration
    public event EventHandler TimeTick
    Event Type
    Type Description
    EventHandler

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX