Class NUIGadgetManager
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.Gadget.dll
- API Level:
- 10
This class has the methods and events of the NUIGadgetManager.
C#Copypublic static class NUIGadgetManager : object
- Inheritance
-
NUIGadgetManager
Methods
Declaration
C#Copypublic static NUIGadget Add(string resourceType, string className)
Parameters
Type | Name | Description |
---|---|---|
String | resourceType | The resource type of the NUIGadget package. |
String | className | The class name of the NUIGadget. |
Returns
Type | Description |
---|---|
NUIGadget | The NUIGadget object. |
API Level: 10
Declaration
C#Copypublic static IEnumerable<NUIGadgetInfo> GetGadgetInfos()
Returns
Type | Description |
---|---|
IEnumerable<NUIGadgetInfo> | The NUIGadgetInfo list. |
Remarks
This method only returns the available gadget informations, not all installed gadget informations. The resource package of the NUIGadget can set the allowed packages using "allowed-package". When executing an application, the platform mounts the resource package into the resource path of the application.
API Level: 10
Declaration
C#Copypublic static IEnumerable<NUIGadget> GetGadgets()
Returns
Type | Description |
---|---|
IEnumerable<NUIGadget> | The NUIGadget list. |
API Level: 10
Declaration
C#Copypublic static void Load(string resourceType)
Parameters
Type | Name | Description |
---|---|---|
String | resourceType | The resource type of the NUIGadget package. |
API Level: 10
Declaration
C#Copypublic static void Pause(NUIGadget gadget)
Parameters
Type | Name | Description |
---|---|---|
NUIGadget | gadget | The NUIGadget object. |
API Level: 10
Declaration
C#Copypublic static void Remove(NUIGadget gadget)
Parameters
Type | Name | Description |
---|---|---|
NUIGadget | gadget | The NUIGadget object. |
API Level: 10
Declaration
C#Copypublic static void RemoveAll()
API Level: 10
Declaration
C#Copypublic static void Resume(NUIGadget gadget)
Parameters
Type | Name | Description |
---|---|---|
NUIGadget | gadget | The NUIGadget object. |
API Level: 10
Declaration
C#Copypublic static void SendAppControl(NUIGadget gadget, AppControl appControl)
Parameters
Type | Name | Description |
---|---|---|
NUIGadget | gadget | The NUIGadget object. |
AppControl | appControl | The appcontrol object. |
API Level: 10
Events
Declaration
C#Copypublic static event EventHandler<NUIGadgetLifecycleChangedEventArgs> NUIGadgetLifecycleChanged
Event Type
Type | Description |
---|---|
EventHandler<NUIGadgetLifecycleChangedEventArgs> |