summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjongmyeongko <jongmyeong.ko@samsung.com>2017-03-27 15:57:37 +0900
committerjongmyeongko <jongmyeong.ko@samsung.com>2017-03-28 15:02:42 +0900
commitbe492cf6cd279971c5927a9d8ee2ca428cda5287 (patch)
treec8d9b65873c7366f04f7edecbe834adcd4fa1286
parenta4683b12575503e686a0742f4f369bc68f4af8f3 (diff)
downloadapplication-be492cf6cd279971c5927a9d8ee2ca428cda5287.tar.gz
application-be492cf6cd279971c5927a9d8ee2ca428cda5287.tar.bz2
application-be492cf6cd279971c5927a9d8ee2ca428cda5287.zip
Add missing API comment to the RequestEventCallback
Change-Id: I5b7aa08d0ec32d48d549caa74eecbc4c827b72cd Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
-rw-r--r--Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs b/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs
index 4eb39d3..ec645cf 100644
--- a/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs
+++ b/Tizen.Applications.PackageManager/Tizen.Applications/PackageManager.cs
@@ -42,7 +42,16 @@ namespace Tizen.Applications
private static Interop.PackageManager.PackageManagerEventCallback s_packageManagerEventCallback;
+ /// <summary>
+ /// Event Callback Method for the request.
+ /// </summary>
+ /// <param name="type">Type of the package which was requested</param>
+ /// <param name="packageId">ID of the package which was requested</param>
+ /// <param name="eventType">Event type of the request</param>
+ /// <param name="eventState">Current event state of the request</param>
+ /// <param name="progress">Progress for the request being processed by the package manager (in percent)</param>
public delegate void RequestEventCallback(string type, string packageId, PackageEventType eventType, PackageEventState eventState, int progress);
+
private static Dictionary<int, RequestEventCallback> RequestCallbacks = new Dictionary<int, RequestEventCallback>();
private static Dictionary<int, SafePackageManagerRequestHandle> RequestHandles = new Dictionary<int, SafePackageManagerRequestHandle>();