I am curious which objects can be set to Tizen::Base::Collection::IMap that is passed as a message when communicating between apps using Tizen::Io::LocalMessagePort and Tizen::Io::RemoteMessagePort.
For example, when I tried to use this code (slightly modified example), my app crashed.
void MyAppClass::GetOnlineFriends(void)
{
HashMap* pMap = new HashMap(SingleObjectDeleter);
pMap->Construct();
pMap->Add(new String(L"RequestType"), new Integer(42));
pRemotePort->SendMessage(pLocalPort, pMap);
delete pMap;
}
Am I doing something wrong, or only Strings are allowed as values when using message ports?