Class NUIApplication

    Definition

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

    Represents an application that have a UI screen. The NUIApplication class has a default stage.

    public class NUIApplication : CoreApplication, IDisposable
    Inheritance
    object
    Application
    CoreApplication
    NUIApplication
    Implements
    System.IDisposable

    Constructors

    View Source

    NUIApplication()

    The default constructor.

    Declaration
    public NUIApplication()
    View Source

    NUIApplication(string, WindowMode)

    The constructor with a stylesheet and window mode.

    Declaration
    public NUIApplication(string styleSheet, NUIApplication.WindowMode windowMode)
    Parameters
    Type Name Description
    string styleSheet

    The styleSheet url.

    NUIApplication.WindowMode windowMode

    The windowMode.

    View Source

    NUIApplication(string)

    The constructor with a stylesheet.

    Declaration
    public NUIApplication(string styleSheet)
    Parameters
    Type Name Description
    string styleSheet

    The styleSheet url.

    Properties

    View Source

    MultilingualResourceManager

    ResourceManager to handle multilingual.

    Declaration
    public static Resources.ResourceManager MultilingualResourceManager { get; set; }
    Property Value
    Type Description
    Tizen.System.Resources.ResourceManager

    Methods

    View Source

    AddIdle(Delegate)

    Ensures that the function passed in is called from the main loop when it is idle.

    Declaration
    public bool AddIdle(Delegate func)
    Parameters
    Type Name Description
    Tizen.System.Delegate func

    The function to call

    Returns
    Type Description
    bool

    true if added successfully, false otherwise

    View Source

    Exit()

    Exits the NUIApplication.

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

    OnAppControlReceived(AppControlReceivedEventArgs)

    Overrides this method if you 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 you want to handle behavior.

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

    OnLocaleChanged(LocaleChangedEventArgs)

    Overrides this method if you 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 you 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 you 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 you want to handle behavior.

    Declaration
    protected virtual void OnPause()
    View Source

    OnPreCreate()

    Overrides this method if you want to handle behavior.

    Declaration
    protected virtual void OnPreCreate()
    View Source

    OnRegionFormatChanged(RegionFormatChangedEventArgs)

    Overrides this method if you 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 you want to handle behavior.

    Declaration
    protected virtual void OnResume()
    View Source

    OnTerminate()

    Overrides this method if you want to handle behavior.

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

    Run(string[])

    Runs the NUIApplication.

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

    Arguments from commandline.

    Overrides
    CoreApplication.Run(string[])

    Events

    View Source

    Paused

    Occurs whenever the application is paused.

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

    Resumed

    Occurs whenever the application is resumed.

    Declaration
    public event EventHandler Resumed
    Event Type
    Type Description
    System.EventHandler

    Implements

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