[Information] Add comment about monitoring event 31/148431/3
authorKichan Kwon <k_c.kwon@samsung.com>
Fri, 8 Sep 2017 02:27:23 +0000 (11:27 +0900)
committerEditor Lionbridge <TizenEditor.SEL@lionbridge.com>
Fri, 8 Sep 2017 05:49:30 +0000 (08:49 +0300)
PS2: Reviewed
PS3: Fixed the comment style to adhere to the .NET style guide

Change-Id: I727d00e0137ef93329afb61bf77fbf5c60c7f9ca
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
org.tizen.guides/html/dotnet/information.htm

index 6166b2f..64d89a7 100644 (file)
@@ -186,11 +186,13 @@ public static void TurnDownTheVolumeCallback(object sender, RuntimeKeyStatusChan
     }
 }
 
+/// To begin monitoring, register the callback for the AudioJackConnectorChanged event
 public static void init()
 {
     RuntimeInformation.AudioJackConnectorChanged += TurnDownTheVolumeCallback;
 }
 
+/// When monitoring is no longer needed, deregister the callback
 public static void deinit()
 {
     RuntimeInformation.AudioJackConnectorChanged -= TurnDownTheVolumeCallback;