File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,7 @@ It can return either `PORTRAIT` `LANDSCAPE-LEFT` `LANDSCAPE-RIGHT` `UNKNOWN`
218
218
- ` lockToLandscape() `
219
219
- ` lockToLandscapeLeft() ` this will lock to camera left home button right
220
220
- ` lockToLandscapeRight() ` this will lock to camera right home button left
221
+ - ` lockToPortraitUpsideDown ` only support android
221
222
- ` unlockAllOrientations() `
222
223
- ` getOrientation(function(orientation)) `
223
224
- ` getDeviceOrientation(function(deviceOrientation)) `
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ declare class Orientation {
19
19
static lockToLandscape ( ) : void ;
20
20
static lockToLandscapeLeft ( ) : void ;
21
21
static lockToLandscapeRight ( ) : void ;
22
+ static lockToPortraitUpsideDown ( ) : void ;
22
23
static unlockAllOrientations ( ) : void ;
23
24
static getOrientation ( callback : ( orientation : OrientationType ) => void ) : void ;
24
25
static getDeviceOrientation ( callback : ( orientation : OrientationType ) => void ) : void ;
You can’t perform that action at this time.
0 commit comments