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>
}
}
+/// 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;