Help Center

Local Navigation

Object: Screen

Availability

BlackBerry® Device Software version 3.8 or later

The Screen object returns information about the dimensions and color depth of the BlackBerry device display.

Screen properties

Property name

Type

Description

Status

Availability

availHeight

int

Returns the height of the BlackBerry® device screen that is available to the BlackBerry® Browser, in pixels. This may be equal to or less than the value of Screen.height.

read only

3.8 or later

availLeft

int

Returns the screen space available to the left of the browser window. In the case of the BlackBerry Browser, this property always returns a value of 0.

read only

3.8 or later

availTop

int

Returns the screen space available above the browser window. In the case of the BlackBerry Browser, this property always returns a value of 0.

read only

3.8 or later

availWidth

int

Returns the width of the BlackBerry device screen that is available to the BlackBerry Browser, in pixels. This may be equal to or less than the value of Screen.width.

read only

3.8 or later

colorDepth

int

Returns the bit depth of the color palette. This property behaves identically to the pixelDepth property.

read only

3.8 or later

height

int

Returns the height of the BlackBerry device screen, in pixels.

read only

3.8 or later

pixelDepth

int

Returns the color resolution, in bits per pixel, of the display.

read only

3.8 or later

width

int

Returns the width of the BlackBerry device screen, in pixels.

read only

3.8 or later

Next topic: Object: Selection
Previous topic: RGBColor properties

Was this information helpful? Send us your comments.