minor imporvement to sound-manager tutorial
authorinhyeok <i_bc.kim@samsung.com>
Tue, 27 Oct 2015 09:12:30 +0000 (18:12 +0900)
committerInhyeok kim <i_bc.kim@samsung.com>
Tue, 27 Oct 2015 09:15:50 +0000 (18:15 +0900)
Change-Id: Iac74788ba537cd0cc9865f8b020bdeceeb9e6fbf
Signed-off-by: inhyeok <i_bc.kim@samsung.com>
org.tizen.tutorials/html/native/multimedia/sound_manager_tutorial_n.htm

index 11807bc..8f8a3c9 100644 (file)
@@ -95,6 +95,10 @@ error_code = sound_manager_set_session_type(SOUND_SESSION_TYPE_MEDIA);
 
 <li><p>To register the callback function, call <span style="font-family: Courier New,Courier,monospace">sound_manager_set_session_interrupted_cb()</span> with a callback and the data which passes the user data:</p>
 <pre class="prettyprint">error_code = sound_manager_set_session_interrupted_cb(_sound_session_interrupted_cb, NULL);
+</pre></li>
+
+<li><p>Remember to deregister the callback function when it's no longer needed.</p>
+<pre class="prettyprint">error_code = sound_manager_unset_session_interrupted_cb();
 </pre></li></ol>
 
  <h2 id="manage" name="manage">Managing Volume Control</h2>