You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/blackberry_app.js
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -57,12 +57,11 @@ blackberry.app ={
57
57
58
58
/**
59
59
* @description This function will lock the application's screen to the given orientation.
60
-
* @param {String} orientation The orientation to lock the device to. If the device is currently not in this orientation, the application will rotate then lock.
61
-
* @param {Boolean} [receiveRotateEvents] Optional parameter to allow rotation events to still occur while the screen is locked.
60
+
* @param {String} orientation The orientation to lock the device to. If the device is currently not in this orientation, the application will rotate then lock.Orientation can be landscape-primary, landscape-secondary, portrait-primary, portrait-secondary.
* @description This function will unlock the screen rotating if it was previously locked.
@@ -72,8 +71,8 @@ blackberry.app ={
72
71
unlockOrientation: function(){},
73
72
74
73
/**
75
-
* @description This function will rotate the application.
76
-
* @param {String} orientation The orientation to rotate the device to.
74
+
* @description This function will rotate the application even if the application is locked.
75
+
* @param {String} orientation The orientation to rotate the device to. Orientation can be landscape-primary, landscape-secondary, portrait-primary, portrait-secondary.
77
76
* @BB10X
78
77
* @RIPPLE
79
78
*/
@@ -450,7 +449,7 @@ A banner indicator can have an optional numeric value that usually serves as a c
450
449
451
450
/**
452
451
* @description The <b>orientationchange</b> event is triggered when the user changes the orientation of the device.
453
-
* @callback {function} yourCallbackFunction The callback function that will be invoked on the orientationchange event
452
+
* @callback {function} yourCallbackFunction The callback function that will be invoked on the orientationchange event. Orientation can be landscape-primary, landscape-secondary, portrait-primary, portrait-secondary.
0 commit comments