+ Adding list of possible error types launched in ErrorCallback.
+ Adding some brief info to the method description.
- Removing UnknownError error type from the list of synchronously thrown
exceptions because only TypeMismatchError may be thrown synchronously.
The change of implementation was requested by GunWang Jeong (ethan.jeong).
Change-Id: I1998214f1b0d5538409f3952fc5a22accd008060
Signed-off-by: Szymon Jastrzebski <s.jastrzebsk@partner.samsung.com>
Since: </span>
2.3
</p>
+<div class="description">
+ <p>
+The <em>SuccessCallback</em> will be invoked when the first event from the sensor is fired.
+ </p>
+ </div>
+<div class="description">
+ <p>
+The <em>ErrorCallback</em> method is launched with these error types:
+ </p>
+ <ul>
+ <li>
+NotSupportedError - if the sensor is not supported on the device. </li>
+ <li>
+UnknownError - if starting the sensor fails because of an unknown error. </li>
+ </ul>
+ </div>
<div class="parameters">
<p><span class="param">Parameters:</span></p>
<ul>
Since: </span>
2.3
</p>
+<div class="description">
+ <p>
+The <em>SuccessCallback</em> will be invoked when the first event from the sensor is fired.
+ </p>
+ </div>
+<div class="description">
+ <p>
+The <em>ErrorCallback</em> method is launched with these error types:
+ </p>
+ <ul>
+ <li>
+NotSupportedError - if the sensor is not supported on the device. </li>
+ <li>
+UnknownError - if starting the sensor fails because of an unknown error. </li>
+ </ul>
+ </div>
<div class="parameters">
<p><span class="param">Parameters:</span></p>
<ul>