[Bluetooth] 1. change privilege name for Bluetooth API
authorLukasz Bardeli <l.bardeli@samsung.com>
Thu, 30 Jul 2015 11:41:44 +0000 (13:41 +0200)
committerLukasz Bardeli <l.bardeli@samsung.com>
Thu, 30 Jul 2015 11:41:44 +0000 (13:41 +0200)
            2. remove setVisible in mobile

Change-Id: Ic3304b717e84314cece3138d7ba4600dbe692364
Signed-off-by: Lukasz Bardeli <l.bardeli@samsung.com>
org.tizen.web.apireference/html/device_api/mobile/tizen/bluetooth.html
org.tizen.web.apireference/html/device_api/wearable/tizen/bluetooth.html

index feb08a1..8715f37 100644 (file)
@@ -185,7 +185,6 @@ For more information on the Bluetooth features, see <a href="../../../../../org.
 <td><a href="#BluetoothAdapter">BluetoothAdapter</a></td>
 <td>void <a href="#BluetoothAdapter::setName">setName</a> (DOMString name, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback)<br>
     void <a href="#BluetoothAdapter::setPowered">setPowered</a> (boolean state, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback)<br>
-    void <a href="#BluetoothAdapter::setVisible">setVisible</a> (boolean mode, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback, optional unsigned short? timeout)<br>
     void <a href="#BluetoothAdapter::setChangeListener">setChangeListener</a> (<a href="#BluetoothAdapterChangeCallback">BluetoothAdapterChangeCallback</a> listener)<br>
     void <a href="#BluetoothAdapter::unsetChangeListener">unsetChangeListener</a> ()<br>
     void <a href="#BluetoothAdapter::discoverDevices">discoverDevices</a> (<a href="#BluetoothDiscoverDevicesSuccessCallback">BluetoothDiscoverDevicesSuccessCallback</a> successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback)<br>
@@ -785,7 +784,11 @@ If attribute is set to null, The default value is set to a false.
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="returntype">
 <p><span class="return">Return value:</span></p>
@@ -831,11 +834,15 @@ If attribute is set to null, The default value is set to a false.
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
             </p>
 <p><span class="remark"> Remark : </span>
  To check if this method is supported or not, use <a href="systeminfo.html#SystemInfo::getCapability">tizen.systeminfo.getCapability</a>("http://tizen.org/feature/network.bluetooth.le").
             </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
+            </p>
 <div class="returntype">
 <p><span class="return">Return value:</span></p>
  BluetoothLEAdapter The local <em>BluetoothLEAdapter </em>object.
@@ -886,11 +893,6 @@ If attribute is set to null, The default value is set to a false.
                         optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
                         optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
-        void setVisible(boolean mode,
-                        optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
-                        optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback,
-                        optional unsigned short? timeout) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
-
         void setChangeListener(<a href="#BluetoothAdapterChangeCallback">BluetoothAdapterChangeCallback</a> listener) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
         void unsetChangeListener() raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
@@ -1064,7 +1066,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <p><span class="remark"> Remark : </span>
  To check if this method is supported or not, use <var>tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on")</var>            </p>
@@ -1156,7 +1162,11 @@ The ErrorCallback is launched with these error names:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <p><span class="remark"> Remark : </span>
  To check if this method is supported or not, use <a href="systeminfo.html#SystemInfo::getCapability">this.systeminfo.getCapability</a>(
@@ -1229,121 +1239,6 @@ The ErrorCallback is launched with these error names:
  </pre>
 </div>
 </dd>
-<dt class="method" id="BluetoothAdapter::setVisible">
-<a class="backward-compatibility-anchor" name="::Bluetooth::BluetoothAdapter::setVisible"></a><code><b><span class="methodName">setVisible</span></b></code>
-</dt>
-<dd>
-<div class="brief">
- Sets the local device visibility by sending a request to a Bluetooth hardware to change the device visible state to <em>mode</em>.
-            </div>
-<div class="deprecated"><p><font color="red"><i><b>Deprecated.</b>
-It is deprecated since Tizen 2.3 and will be removed in Tizen 3.0. Instead, let the user change theBluetooth visibility through the Settings application. See the <a href="../../../../../org.tizen.tutorials/html/web/tizen/communication/bluetooth_tutorial_w.htm">Bluetooth</a> Tutorial.
-            </i></font></p></div>
-<div class="synopsis"><pre class="signature prettyprint">void setVisible(boolean mode, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback, optional unsigned short? timeout);
-             </pre></div>
-<p><span class="version">
-            Since: </span>
- 1.0
-            </p>
-<div class="description">
-            <p>
-If <em>mode</em> is <var>true</var>, then the device is visible to other devices, that is, it responds to inquiry calls from remote devices for time period defined (in seconds) by <em>timeout</em>. After the timeout, the device will become invisible.
-            </p>
-            <p>
-If <em>timeout</em> is not passed or an invalid parameter is passed, the <em>timeout </em>defaults to <var>180 </var>seconds (3 minutes). A <em>timeout</em> of <var>0</var> is considered unlimited.
-            </p>
-            <p>
-The ErrorCallback is launched with these error types:
-            </p>
-            <ul>
-              <li>
- InvalidValuesError - If any of the input parameters contain an invalid value              </li>
-              <li>
- ServiceNotAvailableError - If a Bluetooth device is turned off              </li>
-              <li>
- NotSupportedError: If a device does not allow a Tizen Web application to change the visibility of the local device
-<br>   because some devices must be always discoverable from the remote Bluetooth devices              </li>
-              <li>
- UnknownError - If any other error case occurs              </li>
-            </ul>
-           </div>
-<p><span class="privilegelevel">
-            Privilege level: </span>
- platform
-            </p>
-<p><span class="privilege">
-            Privilege: </span>
-      http://tizen.org/privilege/bluetoothmanager
-            </p>
-<p><span class="remark"> Remark : </span>
- To check if this method is supported or not, use <var>tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on")</var>            </p>
-<div class="parameters">
-<p><span class="param">Parameters:</span></p>
-<ul>
-          <li class="param">
-<span class="name">mode</span>: 
-            The boolean value to set visibility
-It can either be set to: <var>true</var> - to show the device or <var>false</var> - to hide the device.
-                </li>
-          <li class="param">
-<span class="name">successCallback</span><span class="optional"> [optional]</span><span class="optional"> [nullable]</span>: 
- Callback function that is called when changing visibility completes successfully
-                </li>
-          <li class="param">
-<span class="name">errorCallback</span><span class="optional"> [optional]</span><span class="optional"> [nullable]</span>: 
-   Callback function that is called when an error occurs
-                </li>
-          <li class="param">
-<span class="name">timeout</span><span class="optional"> [optional]</span><span class="optional"> [nullable]</span>: 
-         The visible timeout in seconds, used only when <em>mode</em> is <var>true</var>                </li>
-        </ul>
-</div>
-<div class="exceptionlist">
-<p><span class="except">Exceptions:</span></p>
-          <ul class="exception"><li>WebAPIException<ul>
-<li class="list"><p>
- with error type TypeMismatchError, if any of the input parameter is not compatible with the expected type for that parameter.
-                </p></li>
-<li class="list"><p>
- with error type SecurityError, if the application does not have the privilege to call this method.
-                </p></li>
-</ul>
-</li></ul>
-        </div>
-<div class="example">
-<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint"> var adapter = tizen.bluetooth.getDefaultAdapter();
-
- function showMe() {
-      if (adapter.visible == false) {
-          //Shows device
-          adapter.setVisible(true,
-                             function() { console.log ('Device is visible to other devices for 3 minutes.'); },
-                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-      } else {
-           console.log("Device is already in discoverable mode.");
-      }
- }
-
- function hideMe() {
-     if (adapter.visible) {
-          // Hides device
-          adapter.setVisible(false,
-                             function() { console.log('Device is in-visible now.'); },
-                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-     } else {
-          console.log("Device is already in invisible mode.");
-     }
- }
-
- var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
- if (bt_always_on === true) {
-     console.log("Because Bluetooth must be always discoverable from the remote Bluetooth devices, this method does not work. NotSupportedError would be returned through ErrorCallback.");
- } else {
-     powerOn();
- }
- </pre>
-</div>
-</dd>
 <dt class="method" id="BluetoothAdapter::setChangeListener">
 <a class="backward-compatibility-anchor" name="::Bluetooth::BluetoothAdapter::setChangeListener"></a><code><b><span class="methodName">setChangeListener</span></b></code>
 </dt>
@@ -1491,7 +1386,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1589,7 +1488,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1711,7 +1614,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1799,7 +1706,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1882,7 +1793,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1964,7 +1879,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2060,7 +1979,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2259,7 +2182,11 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2318,7 +2245,11 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -2378,7 +2309,11 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2475,7 +2410,11 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -2721,7 +2660,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2810,7 +2753,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2897,7 +2844,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3024,7 +2975,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3114,7 +3069,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3584,7 +3543,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3922,7 +3885,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3998,7 +3965,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4075,7 +4046,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4366,7 +4341,11 @@ By default, this attribute is set to null.
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4463,7 +4442,11 @@ This method should be called only in the <em>BluetoothSocket.onmessage</em> hand
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="returntype">
 <p><span class="return">Return value:</span></p>
@@ -4545,7 +4528,11 @@ This method should be called only in the <em>BluetoothSocket.onmessage</em> hand
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -4691,7 +4678,11 @@ values.
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4968,7 +4959,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5122,7 +5117,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5206,7 +5205,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5379,7 +5382,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5548,7 +5555,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -5604,7 +5615,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5676,7 +5691,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5751,7 +5770,11 @@ This stops receiving notifications.
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -6410,11 +6433,6 @@ To guarantee that the Bluetooth Low Energy application runs on a device with Blu
                         optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
                         optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
-        void setVisible(boolean mode,
-                        optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
-                        optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback,
-                        optional unsigned short? timeout) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
-
         void setChangeListener(<a href="#BluetoothAdapterChangeCallback">BluetoothAdapterChangeCallback</a> listener) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
         void unsetChangeListener() raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
index 50db44c..df02f8f 100644 (file)
@@ -185,7 +185,6 @@ For more information on the Bluetooth features, see <a href="../../../../../org.
 <td><a href="#BluetoothAdapter">BluetoothAdapter</a></td>
 <td>void <a href="#BluetoothAdapter::setName">setName</a> (DOMString name, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback)<br>
     void <a href="#BluetoothAdapter::setPowered">setPowered</a> (boolean state, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback)<br>
-    void <a href="#BluetoothAdapter::setVisible">setVisible</a> (boolean mode, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback, optional unsigned short? timeout)<br>
     void <a href="#BluetoothAdapter::setChangeListener">setChangeListener</a> (<a href="#BluetoothAdapterChangeCallback">BluetoothAdapterChangeCallback</a> listener)<br>
     void <a href="#BluetoothAdapter::unsetChangeListener">unsetChangeListener</a> ()<br>
     void <a href="#BluetoothAdapter::discoverDevices">discoverDevices</a> (<a href="#BluetoothDiscoverDevicesSuccessCallback">BluetoothDiscoverDevicesSuccessCallback</a> successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback)<br>
@@ -785,7 +784,11 @@ If attribute is set to null, The default value is set to a false.
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="returntype">
 <p><span class="return">Return value:</span></p>
@@ -831,7 +834,10 @@ If attribute is set to null, The default value is set to a false.
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+            <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <p><span class="remark"> Remark : </span>
  To check if this method is supported or not, use <a href="systeminfo.html#SystemInfo::getCapability">tizen.systeminfo.getCapability</a>("http://tizen.org/feature/network.bluetooth.le").
@@ -886,11 +892,6 @@ If attribute is set to null, The default value is set to a false.
                         optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
                         optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
-        void setVisible(boolean mode,
-                        optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
-                        optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback,
-                        optional unsigned short? timeout) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
-
         void setChangeListener(<a href="#BluetoothAdapterChangeCallback">BluetoothAdapterChangeCallback</a> listener) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
         void unsetChangeListener() raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
@@ -1064,7 +1065,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+            </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <p><span class="remark"> Remark : </span>
  To check if this method is supported or not, use <var>tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on")</var>            </p>
@@ -1156,7 +1161,11 @@ The ErrorCallback is launched with these error names:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+             </p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <p><span class="remark"> Remark : </span>
  To check if this method is supported or not, use <a href="systeminfo.html#SystemInfo::getCapability">this.systeminfo.getCapability</a>(
@@ -1229,121 +1238,6 @@ The ErrorCallback is launched with these error names:
  </pre>
 </div>
 </dd>
-<dt class="method" id="BluetoothAdapter::setVisible">
-<a class="backward-compatibility-anchor" name="::Bluetooth::BluetoothAdapter::setVisible"></a><code><b><span class="methodName">setVisible</span></b></code>
-</dt>
-<dd>
-<div class="brief">
- Sets the local device visibility by sending a request to a Bluetooth hardware to change the device visible state to <em>mode</em>.
-            </div>
-<div class="deprecated"><p><font color="red"><i><b>Deprecated.</b>
- It is deprecated since Tizen 2.3 and will be removed in Tizen 3.0. Instead, let the user change the Bluetooth visibility through the Settings application. See the <a href="../../../../../org.tizen.tutorials/html/web/tizen/communication/bluetooth_tutorial_w.htm">Bluetooth</a> Tutorial.
-            </i></font></p></div>
-<div class="synopsis"><pre class="signature prettyprint">void setVisible(boolean mode, optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback, optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback, optional unsigned short? timeout);
-             </pre></div>
-<p><span class="version">
-            Since: </span>
- 2.3.1
-            </p>
-<div class="description">
-            <p>
-If <em>mode</em> is <var>true</var>, then the device is visible to other devices, that is, it responds to inquiry calls from remote devices for time period defined (in seconds) by <em>timeout</em>. After the timeout, the device will become invisible.
-            </p>
-            <p>
-If <em>timeout</em> is not passed or an invalid parameter is passed, the <em>timeout </em>defaults to <var>180 </var>seconds (3 minutes). A <em>timeout</em> of <var>0</var> is considered unlimited.
-            </p>
-            <p>
-The ErrorCallback is launched with these error types:
-            </p>
-            <ul>
-              <li>
- InvalidValuesError - If any of the input parameters contain an invalid value              </li>
-              <li>
- ServiceNotAvailableError - If a Bluetooth device is turned off              </li>
-              <li>
- NotSupportedError: If a device does not allow a Tizen Web application to change the visibility of the local device
-<br>   because some devices must be always discoverable from the remote Bluetooth devices              </li>
-              <li>
- UnknownError - If any other error case occurs              </li>
-            </ul>
-           </div>
-<p><span class="privilegelevel">
-            Privilege level: </span>
- platform
-            </p>
-<p><span class="privilege">
-            Privilege: </span>
-      http://tizen.org/privilege/bluetoothmanager
-            </p>
-<p><span class="remark"> Remark : </span>
- To check if this method is supported or not, use <var>tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on")</var>            </p>
-<div class="parameters">
-<p><span class="param">Parameters:</span></p>
-<ul>
-          <li class="param">
-<span class="name">mode</span>: 
-            The boolean value to set visibility
-It can either be set to: <var>true</var> - to show the device or <var>false</var> - to hide the device.
-                </li>
-          <li class="param">
-<span class="name">successCallback</span><span class="optional"> [optional]</span><span class="optional"> [nullable]</span>: 
- Callback function that is called when changing visibility completes successfully
-                </li>
-          <li class="param">
-<span class="name">errorCallback</span><span class="optional"> [optional]</span><span class="optional"> [nullable]</span>: 
-   Callback function that is called when an error occurs
-                </li>
-          <li class="param">
-<span class="name">timeout</span><span class="optional"> [optional]</span><span class="optional"> [nullable]</span>: 
-         The visible timeout in seconds, used only when <em>mode</em> is <var>true</var>                </li>
-        </ul>
-</div>
-<div class="exceptionlist">
-<p><span class="except">Exceptions:</span></p>
-          <ul class="exception"><li>WebAPIException<ul>
-<li class="list"><p>
- with error type TypeMismatchError, if any of the input parameter is not compatible with the expected type for that parameter.
-                </p></li>
-<li class="list"><p>
- with error type SecurityError, if the application does not have the privilege to call this method.
-                </p></li>
-</ul>
-</li></ul>
-        </div>
-<div class="example">
-<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint"> var adapter = tizen.bluetooth.getDefaultAdapter();
-
- function showMe() {
-      if (adapter.visible == false) {
-          //Shows device
-          adapter.setVisible(true,
-                             function() { console.log ('Device is visible to other devices for 3 minutes.'); },
-                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-      } else {
-           console.log("Device is already in discoverable mode.");
-      }
- }
-
- function hideMe() {
-     if (adapter.visible) {
-          // Hides device
-          adapter.setVisible(false,
-                             function() { console.log('Device is in-visible now.'); },
-                             function(e) { console.log ('Error: ' + e.message + '(' + e.name + ')'); });
-     } else {
-          console.log("Device is already in invisible mode.");
-     }
- }
-
- var bt_always_on = tizen.systeminfo.getCapability("http://tizen.org/capability/network.bluetooth.always_on");
- if (bt_always_on === true) {
-     console.log("Because Bluetooth must be always discoverable from the remote Bluetooth devices, this method does not work. NotSupportedError would be returned through ErrorCallback.");
- } else {
-     powerOn();
- }
- </pre>
-</div>
-</dd>
 <dt class="method" id="BluetoothAdapter::setChangeListener">
 <a class="backward-compatibility-anchor" name="::Bluetooth::BluetoothAdapter::setChangeListener"></a><code><b><span class="methodName">setChangeListener</span></b></code>
 </dt>
@@ -1491,7 +1385,11 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+             </p>
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1589,7 +1487,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+   <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1711,7 +1612,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1799,7 +1703,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1882,7 +1789,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -1964,7 +1874,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.gap
+ http://tizen.org/privilege/bluetooth
+   <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2060,7 +1973,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+        <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2259,7 +2175,10 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2318,7 +2237,10 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -2378,7 +2300,10 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2475,7 +2400,10 @@ The <em>ErrorCallback</em> will be launched in the following situations:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -2721,7 +2649,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2810,7 +2741,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -2897,7 +2831,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3024,7 +2961,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+   <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3114,7 +3054,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
- http://tizen.org/privilege/bluetooth.admin
+ http://tizen.org/privilege/bluetooth
+   <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3584,7 +3527,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3922,7 +3868,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -3998,7 +3947,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4075,7 +4027,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.admin
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.admin -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4366,7 +4321,10 @@ By default, this attribute is set to null.
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4463,7 +4421,10 @@ This method should be called only in the <em>BluetoothSocket.onmessage</em> hand
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="returntype">
 <p><span class="return">Return value:</span></p>
@@ -4545,7 +4506,10 @@ This method should be called only in the <em>BluetoothSocket.onmessage</em> hand
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -4691,7 +4655,10 @@ values.
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.gap
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.gap -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -4968,7 +4935,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.spp
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.spp -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5122,7 +5092,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5206,7 +5179,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5379,7 +5355,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5548,7 +5527,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -5604,7 +5586,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+ <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5676,7 +5661,10 @@ The ErrorCallback is launched with these error types:
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+   <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="parameters">
 <p><span class="param">Parameters:</span></p>
@@ -5751,7 +5739,10 @@ This stops receiving notifications.
             </p>
 <p><span class="privilege">
             Privilege: </span>
-      http://tizen.org/privilege/bluetooth.health
+      http://tizen.org/privilege/bluetooth
+  <p><span class="remark"> Remark : </span>
+ Since Tizen 2.4, the required privilege name is changed.
+(http://tizen.org/privilege/bluetooth.health -&gt; http://tizen.org/privilege/bluetooth)
             </p>
 <div class="exceptionlist">
 <p><span class="except">Exceptions:</span></p>
@@ -6410,11 +6401,6 @@ To guarantee that the Bluetooth Low Energy application runs on a device with Blu
                         optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
                         optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
-        void setVisible(boolean mode,
-                        optional <a href="tizen.html#SuccessCallback">SuccessCallback</a>? successCallback,
-                        optional <a href="tizen.html#ErrorCallback">ErrorCallback</a>? errorCallback,
-                        optional unsigned short? timeout) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
-
         void setChangeListener(<a href="#BluetoothAdapterChangeCallback">BluetoothAdapterChangeCallback</a> listener) raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
 
         void unsetChangeListener() raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);