[Player] remove deprecated API
authoryounghwan <younghwan_.an@samsung.com>
Wed, 23 Sep 2015 09:13:24 +0000 (18:13 +0900)
committeryounghwan <younghwan_.an@samsung.com>
Wed, 23 Sep 2015 09:14:14 +0000 (18:14 +0900)
- remove player_is_display_mode_changeable()

Change-Id: I77eaf6639292b06a0c0ddcef21f618535f77eb32
Signed-off-by: younghwan <younghwan_.an@samsung.com>
org.tizen.tutorials/html/native/multimedia/player_tutorial_n.htm

index d8e4ed4..32f2367 100644 (file)
@@ -643,7 +643,7 @@ dlog_print(DLOG_ERROR, LOG_TAG, &quot;player_start = %d&quot;, error_code);</pre
                        <p>After a successful call of this function, the player state is set to <span style="font-family: Courier New,Courier,monospace;">PLAYER_STATE_PLAYING</span>. The playback of the media contents stored in the previously specified file starts. The video file plays until the <span style="font-family: Courier New,Courier,monospace;">player_stop()</span> or <span style="font-family: Courier New,Courier,monospace;">player_pause()</span> function is called.</p></li></ol></li>
 
 <li>Set the display visibility.
-                       <ol type="a"><li><p>Before setting the visibility of the x surface video display, check that it has not already been done by using the <span style="font-family: Courier New,Courier,monospace;">player_is_display_visible()</span> function:</p>
+                       <ol type="a"><li><p>Before setting the visibility of the video display, check that it has not already been done by using the <span style="font-family: Courier New,Courier,monospace;">player_is_display_visible()</span> function:</p>
 <pre class="prettyprint">bool is_visible;
 
 error_code = player_is_display_visible(player, &amp;is_visible);
@@ -660,19 +660,12 @@ dlog_print(DLOG_ERROR, LOG_TAG, &quot;player_is_display_visible = %d&quot;, erro
 </pre></li></ol></li>          
 
 <li>Set the display mode.
-                       <ol type="a"><li><p>Check the possibility of using the video display mode using the <span style="font-family: Courier New,Courier,monospace;">player_is_display_mode_changeable()</span> function:</p>
-
-<pre class="prettyprint">bool is_changeable;
-
-error_code = player_is_display_mode_changeable(player, &amp;is_changeable);
-dlog_print(DLOG_ERROR, LOG_TAG, &quot;player_is_display_mode_changeable = %d&quot;, error_code);
-</pre></li>
+                       <ol type="a">
                        <li><p>If the <span style="font-family: Courier New,Courier,monospace;">is_changeable</span> variable is set to <span style="font-family: Courier New,Courier,monospace;">true</span>, set the display mode using the <span style="font-family: Courier New,Courier,monospace;">player_set_display_mode()</span> function. The <span style="font-family: Courier New,Courier,monospace;">player_display_mode_e</span> enumerator (in <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__MEDIA__PLAYER__DISPLAY__MODULE.html#gaafcf6f7487d8cb376e1851a6e1253f3a">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/group__CAPI__MEDIA__PLAYER__DISPLAY__MODULE.html#gaafcf6f7487d8cb376e1851a6e1253f3a">wearable</a> applications) defines the available display modes.</p>
-<pre class="prettyprint">if (is_changeable)
-{
+<pre class="prettyprint">
 &nbsp;&nbsp;&nbsp;error_code = player_set_display_mode(player, PLAYER_DISPLAY_MODE_FULL_SCREEN);
 &nbsp;&nbsp;&nbsp;dlog_print(DLOG_ERROR, LOG_TAG, &quot;player_set_display_mode = %d&quot;, error_code);
-}</pre></li></ol></li>
+</pre></li></ol></li>
 
 <li>Set the display rotation.
 <p>Set the display rotation using the <span style="font-family: Courier New,Courier,monospace;">player_set_display_rotation()</span> function. The <span style="font-family: Courier New,Courier,monospace;">player_display_rotation_e</span> enumerator (in <a href="../../../../org.tizen.native.mobile.apireference/group__CAPI__MEDIA__PLAYER__DISPLAY__MODULE.html#gab8c4c170d4b2628a09831edc8d652302">mobile</a> and <a href="../../../../org.tizen.native.wearable.apireference/group__CAPI__MEDIA__PLAYER__DISPLAY__MODULE.html#gab8c4c170d4b2628a09831edc8d652302">wearable</a> applications) defines the available display rotations.</p>