const char* pCluster = "user,created";
const char* pCategory = "default";
-
- livebox* pLivebox = livebox_add_with_size(pLiveboxId.get(), pContent.get(), pCluster, pCategory, GetLiveboxSizeType(pLiveboxView->GetSize()), 1, OnLiveboxAdded, this);
+ double period = 1.0f;
+ int sizeType = GetLiveboxSizeType(pLiveboxView->GetSize());
+
+ livebox* pLivebox = livebox_add_with_size(pLiveboxId.get(), pContent.get(), pCluster, pCategory, period, sizeType, OnLiveboxAdded, this);
SysTryReturn(NID_UI_CTRL, pLivebox, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
__pViewMap->Add(pLivebox, pLiveboxView);