Permalink
Browse files

Applied apiNotice change to other signature changes

  • Loading branch information...
1 parent bae36e3 commit 323253481cfc0dde202f7065552304ee180eec4d @rwmtse rwmtse committed Apr 26, 2012
Showing with 3 additions and 5 deletions.
  1. +1 −1 api/blackberry_app_events.js
  2. +2 −4 api/blackberry_system_event.js
@@ -69,7 +69,7 @@ blackberry.app.event = {
* <p/>
* This event is dispatched whenever the application comes to the foreground, for example, when the user re-opens the application from the application list. Only one function can be assigned to this event. To unregister the callback call the onForeground method and pass in null for the callback parameter.
* <p/>Note: The BlackBerry PlayBook's "Application Behavior" setting has an impact on when onForeground gets dispatched. Refer to {@link blackberry.app.event.onBackground} documentation for details.
- * <p/>This function has been migrated to {@link blackberry.event.resume} in BlackBerry 10.
+ * @apiNotice {BB10 API Changes} This function has been migrated to {@link blackberry.event.event:resume} in BlackBerry 10.
* @callback {function} onForegroundCallback Function to be called when the application goes to the foreground. Expected signature: function onForegroundCallback().
* @PB10+
* @BB50+
@@ -134,8 +134,7 @@ blackberry.system.event.onCoverageChange = function(onSystemEvent) { };
* @function
* @description Assigns a listener for when the battery level changes.
* Battery level is a percentage value. This API is currently designed where it will immediately announce the initial battery level, then it will announce any percentage change afterwards
- * <p/>
- * This function has been migrated to {@link blackberry.event.batterystatus}, {@link blackberry.event.batterylow}, and {@link blackberry.event.batterycritical} in BlackBerry 10.
+ * @apiNotice {BB10 API Changes} This function has been migrated to {@link blackberry.event.event:batterystatus}, {@link blackberry.event.event:batterylow}, and {@link blackberry.event.event:batterycritical} in BlackBerry 10.
* @callback {function} onBatteryLevelChange Function to be called when the battery level changes. The level is passed as its only argument.
* @callback {Number} onBatteryLevelChange.level battery level of the device ranging from 0 to 100
* @PB10+
@@ -164,8 +163,7 @@ blackberry.system.event.deviceBatteryLevelChange = function(onBatteryLevelChang
* <br>FULL = 1;
* <br>CHARGING = 2;
* <br>UNPLUGGED = 3;
- * <p/>
- * This function has been migrated to {@link blackberry.event.batterystatus}, {@link blackberry.event.batterylow}, and {@link blackberry.event.batterycritical} in BlackBerry 10.
+ * @apiNotice {BB10 API Changes} This function has been migrated to {@link blackberry.event.event:batterystatus}, {@link blackberry.event.event:batterylow}, and {@link blackberry.event.event:batterycritical} in BlackBerry 10.
* @callback {function} onBatteryStateChange Function to be called when the battery charge state changes. The new state is passed as its only argument.
* @callback {Number} onBatteryStateChange.state battery state of the device
* @PB10+

0 comments on commit 3232534

Please sign in to comment.