Quark
#
Modules #
quark/actionquark/appquark/bubblesquark/bufferquark/checkboxquark/cssquark/ctrquark/dialogquark/eventquark/fontquark/fsquark/hashquark/httpquark/indexquark/jsonbquark/keyboardquark/mediaquark/navquark/netquark/osquark/pathquark/pkgquark/screenquark/stepperquark/storagequark/testquark/typesquark/utilquark/viewquark/windowquark/wsquark/_bufferquark/_commonquark/_eventquark/_extquark/_md5quark/_sha1quark/_sha256quark/_utilquark/_watching
Quark v1.3.0 Documentation
Table of Contents
quark/screen #
Enum: Orientation #
Orientation #
Invalid
Invalid, Default use the User modePortrait
PortraitLandscape
Landscape, Rotate 90 degrees clockwiseReverse_Portrait
Reverse Portrait, Rotate 180 degrees clockwiseReverse_Landscape
Reverse Landscape, Rotate 270 degrees clockwiseUser
User, Any orientation is allowedUser_Portrait
User Portrait, Portrait and Reverse_Portrait directions availableUser_Landscape
User Landscape, Landscape and Reverse_Landscape directions availableUser_Locked
User Locked, Lock the application's startup state
Enum: StatusBarStyle #
StatusBarStyle #
White
WhiteBlack
Black
Class: Screen #
Screen #
@extendsNotification
screen.onOrientation #
@eventonOrientation:EventNoticer<Event<Screen>>
screen.orientation #
Current screen direction
@getorientation:Orientation
screen.statusBarHeight #
@getstatusBarHeight:number
screen.setVisibleStatusBar(visible) #
Setting whether visible for the status bar
screen.setStatusBarStyle(style) #
Setting style for the status bar
@paramstyle:StatusBarStyle@returnvoid
screen.preventScreenSleep(prevent) #
"true" means to prevent screen sleep else no prevent