with error type NotFoundError, if this alarm identifier cannot be found in the storage.
</p></li>
<li class="list"><p>
- with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter.
- </p></li>
-<li class="list"><p>
with error type InvalidValuesError, if any input parameter does not contain a valid value.
</p></li>
<li class="list"><p>
with error type NotFoundError, if this alarm identifier cannot be found in the storage.
</p></li>
<li class="list"><p>
- with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter.
- </p></li>
-<li class="list"><p>
with error type InvalidValuesError, if any input parameter does not contain a valid value.
</p></li>
<li class="list"><p>
If a <em>period</em> is provided, the alarm keeps triggering for the given interval.
</p>
</div>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4 behaviour of this alarm has changed. In order to decrease the power consumption,
+the operating system decides when this alarm is going to be fired and what is the period between subsequent executions.
+It is guaranteed that this alarm will be fired after at least <em>delay</em> seconds.
+If <em>period</em> is provided, it will be adjusted by the operating system, however this value will not be lower than 600 seconds.
+ </p>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint"> // Gets the current application ID.
var appId = tizen.application.getCurrentApplication().appInfo.id;
var alarm1 = new tizen.AlarmRelative(3 * tizen.alarm.PERIOD_HOUR);
tizen.alarm.add(alarm1, appId);
- // Sets an alarm in one hour, recurring after every 2 minutes
- var alarm2 = new tizen.AlarmRelative(tizen.alarm.PERIOD_HOUR, 2 * tizen.alarm.PERIOD_MINUTE);
+ // Sets an alarm in one hour, recurring after every 10 minutes
+ var alarm2 = new tizen.AlarmRelative(tizen.alarm.PERIOD_HOUR, 10 * tizen.alarm.PERIOD_MINUTE);
tizen.alarm.add(alarm2, appId);
</pre>
</div>
Since: </span>
1.0
</p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4 the operating system adjusts this value to decrease the power consumption.
+ </p>
</li>
<li class="attribute" id="AlarmRelative::period">
<span class="attrName"><span class="readonly"> readonly
Since: </span>
1.0
</p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4 the operating system adjusts this value to decrease the power consumption.
+ </p>
</li>
</ul>
</div>
with error type NotFoundError, if this alarm identifier cannot be found in the storage.
</p></li>
<li class="list"><p>
- with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter.
- </p></li>
-<li class="list"><p>
with error type InvalidValuesError, if any input parameter does not contain a valid value.
</p></li>
<li class="list"><p>
with error type NotFoundError, if this alarm identifier cannot be found in the storage.
</p></li>
<li class="list"><p>
- with error type TypeMismatchError, if any input parameter is not compatible with the expected type for that parameter.
- </p></li>
-<li class="list"><p>
with error type InvalidValuesError, if any input parameter does not contain a valid value.
</p></li>
<li class="list"><p>
If a <em>period</em> is provided, the alarm keeps triggering for the given interval.
</p>
</div>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4 behaviour of this alarm has changed. In order to decrease the power consumption,
+the operating system decides when this alarm is going to be fired and what is the period between subsequent executions.
+It is guaranteed that this alarm will be fired after at least <em>delay</em> seconds.
+If <em>period</em> is provided, it will be adjusted by the operating system, however this value will not be lower than 600 seconds.
+ </p>
<div class="example">
<span class="example"><p>Code example:</p></span><pre name="code" class="examplecode prettyprint"> // Gets the current application ID.
var appId = tizen.application.getCurrentApplication().appInfo.id;
var alarm1 = new tizen.AlarmRelative(3 * tizen.alarm.PERIOD_HOUR);
tizen.alarm.add(alarm1, appId);
- // Sets an alarm in one hour, recurring after every 2 minutes
- var alarm2 = new tizen.AlarmRelative(tizen.alarm.PERIOD_HOUR, 2 * tizen.alarm.PERIOD_MINUTE);
+ // Sets an alarm in one hour, recurring after every 10 minutes
+ var alarm2 = new tizen.AlarmRelative(tizen.alarm.PERIOD_HOUR, 10 * tizen.alarm.PERIOD_MINUTE);
tizen.alarm.add(alarm2, appId);
</pre>
</div>
Since: </span>
1.0
</p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4 the operating system adjusts this value to decrease the power consumption.
+ </p>
</li>
<li class="attribute" id="AlarmRelative::period">
<span class="attrName"><span class="readonly"> readonly
Since: </span>
1.0
</p>
+<p><span class="remark"> Remark : </span>
+ Since Tizen 2.4 the operating system adjusts this value to decrease the power consumption.
+ </p>
</li>
</ul>
</div>