[NUI.Gadget] Add a new internal API (#4976)
authorhjhun <36876573+hjhun@users.noreply.github.com>
Wed, 8 Mar 2023 04:11:40 +0000 (13:11 +0900)
committerGitHub <noreply@github.com>
Wed, 8 Mar 2023 04:11:40 +0000 (13:11 +0900)
commit895fa109f449fb016b6c77538ad769f3edc6b09c
tree028d4e4e214810fefd5f9540ba1d678dae877441
parentd548e3429d6b6f38dfbec4075e33b48443743b5e
[NUI.Gadget] Add a new internal API (#4976)

* [NUI.Gadget] Add new internal APIs

If the UI gadget developer sets the class name, the application developer
can adds a new NUIGadget instance using the NUIGadgetInfo object.

The following APIs are added:
 + NUIGadgetManager.Add(NUIGadgetInfo gadgetInfo); [method]
 + NUIGadgetManager.GetGadgetInfos(); [method]
 + NUIGadgetInfo.ClassName; [property]

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Change the visibility of the ClasaName property

The visibility of the NUIGadgetInfo.ClassName property is changed to internal.

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Modify description of GetGadgets()

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
* Remove Add() method

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
---------

Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Co-authored-by: Jay Cho <chojoong@gmail.com>
src/Tizen.NUI.Gadget/Tizen.NUI/NUIGadgetManager.cs