//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
*
* @brief <i> [Deprecated] </i>
* @deprecated This variable is provided only for backward compatibility and will be deleted in the near future.
-* Instead of this variable, use the literal, L"tizen.calendar" or L"tizen.events".
+* Instead of this variable, use the literal, L"tizen.calendar".
* @since 2.0
* @endif
*/
* @deprecated This variable is provided only for backward compatibility and will be deleted in the near future.
* Instead of this variable, use the literal, L"tizen.phone" with operation L"http://tizen.org/appcontrol/operation/call".
* @since 2.0
+* @privlevel public
* @privilege %http://tizen.org/privilege/systeminfo
*
* @remarks Privilege is required to use this application control.
* @deprecated This variable is provided only for backward compatibility and will be deleted in the near future.
* Instead of this variable, use the literal, L"tizen.internet".
* @since 2.0
+* @privlevel public
* @privilege %http://tizen.org/privilege/web.service
* @endif
*/
*
* @brief <i> [Deprecated] </i>
* @deprecated This variable is provided only for backward compatibility and will be deleted in the near future.
-* Instead of this variable, use the literal, L"tizen.calendar" or L"tizen.events".
+* Instead of this variable, use the literal, L"tizen.calendar".
* @since 2.0
* @endif
*/
* @deprecated This variable is provided only for backward compatibility and will be deleted in the near future.
* Instead of this variable, use the literal, L"tizen.phone".
* @since 2.0
+* @privlevel public
* @privilege %http://tizen.org/privilege/systeminfo
*
* @remarks Privilege is required to use this application control.
* @deprecated This variable is provided only for backward compatibility and will be deleted in the near future.
* Instead of this variable, use the literal, L"tizen.internet".
* @since 2.0
+* @privlevel public
* @privilege %http://tizen.org/privilege/web.service
*
* @remarks Privilege is required to use this application control.
*
*
* @code
-*
-* using namespace Tizen::Base::Collection;
* using namespace Tizen::App;
*
* void
-* MyAppClass::AppControlCallSample(void)
+* MyAppClass::AppControlDialSample(void)
* {
-* HashMap extraData;
-* String telKey = L"tel";
-* String telVal = L"1234567890";
-* String typeKey = L"type";
-* String typeVal = L"voice";
-*
-* extraData.Construct();
-* extraData.Add(&telKey, &telVal);
-* extraData.Add(&typeKey, &typeVal);
-*
-* AppControl* pAc = AppManager::FindAppControlN(L"tizen.phone", L"http://tizen.org/appcontrol/operation/call");
-* if(pAc)
+*
+* String telUri = L"tel:12345678900";
+*
+* AppControl* pAc = AppManager::FindAppControlN(L"tizen.phone", L"http://tizen.org/appcontrol/operation/dial");
+* if(pAc)
* {
-* pAc->Start(null, null, &extraData, null);
+* pAc->Start(&telUri, null, null, null);
* delete pAc;
* }
* }
* IAppControlResponseListener due to lack of argument capability. @n
* Instead of using this method, use Start().
* @since 2.0
+ * @privlevel public
* @privilege %http://tizen.org/privilege/application.launch
*
* @return An error code
* application is displayed.
*
* @since 2.0
+ * @privlevel public
* @privilege %http://tizen.org/privilege/application.launch
*
* @return An error code
* When the found application control is started, the URI pattern, MIME type, and extra data is delivered using IAppControlProviderEventListener.
*
* @since 2.0
+ * @privlevel public
* @privilege %http://tizen.org/privilege/application.launch
*
* @return An error code
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
* @exception E_SYSTEM The method cannot proceed due to a severe system error.
* @exception E_ILLEGAL_ACCESS The application is not signed with the same certificate of target application. @b Since: @b 2.1
- * @see IAppControlResponseListener
*/
static result FindAndStart(const Tizen::Base::String& operationId, const Tizen::Base::String* pUriPattern, const Tizen::Base::String* pDataType, const Tizen::Base::String* pCategory, const Tizen::Base::Collection::IMap* pExtraData, IAppControlResponseListener* pListener);