It seems like the browser you are using has JavaScript disabled. As a result, the site will not function properly. We really want you to enable it so you may experience our site as we intended it. If you have no idea what we are talking about or if you need help, visit http://www.enable-javascript.com×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page.×

Oops, it seems like you're using an old browser that we do not fully support. If you're able to, please upgrade your browser here.×
This website uses cookies. By continuing to browse this site you are agreeing to our use of cookies. Find out more on our cookie page.×

Since:

Data:

Pointer and touch events are always forwarded to the window's context if they interect with the window - regardless of transparency.

The window receives keyboard, gamepad, joystick events if it has input focus. Raising a window, pointer or multi-touch release event in that window will cause it to acquire input focus.

SCREEN_SENSITIVITY_MASK_NEVER

The window never receives pointer or multi-touch events.

The window never acquires input focus, even after it has been raised. The window will only receive input events that are directly injected into it from outside sources.

SCREEN_SENSITIVITY_MASK_NO_FOCUS

Pointer and touch events are forwarded to the window's context if they intersect the window and are in an area of the window that is not fully transparent.

The window does not acquire input focus after being raised or after a pointer or multi-touch release event occurs. Therefore, the window will not receive keyboard, gamepad, or joystick input unless it is sent directly into the window from an outside source.

SCREEN_SENSITIVITY_MASK_FULLSCREEN

Pointer and touch events are forwarded to the window's context no matter where they are on the screen.

The window is considered full screen for the purposes of input hit tests. Transparency is ignored. The window will receive keyboard, gamepad, and joystick events as long as the window is visible.

SCREEN_SENSITIVITY_MASK_CONTINUE

Windows underneath this window can receive pointer or multi-touch events even if this window has input focus.

SCREEN_SENSITIVITY_MASK_STOP

The window never receives pointer or multi-touch events.

The window never acquires input focus, even after it has been raised. The window will only receive input events that are directly injected into it from outside sources.

SCREEN_SENSITIVITY_MASK_POINTER_BRUSH

The window receives pointer events, even in areas of transparency, if the source coordinates of the event are within the brush clip rectangle.

This mode supercedes SCREEN_SENSITIVITY_MASK_NEVER. The windowing system also draws brush strokes based on the pointer events directly onto the screen and the window buffer.

SCREEN_SENSITIVITY_MASK_FINGER_BRUSH

The window receives multi-touch events with a finger contact type, even in areas of transparency, if the source coordinates of the event are within the brush clip rectangle.

This mode supercedes SCREEN_SENSITIVITY_MASK_NEVER. The windowing system also draws brush strokes based on the touch events directly onto the screen and the window buffer. Multiple contacts will cause multiple brush strokes to be drawn.

SCREEN_SENSITIVITY_MASK_STYLUS_BRUSH

The window receives multi-touch events with a stylus contact type, even in areas of transparency, if the source coordinates of the event are within the brush clip rectangle.

This mode supercedes SCREEN_SENSITIVITY_MASK_NEVER. The windowing system also draws brush strokes based on the touch events directly onto the screen and the window buffer. Multiple contacts will cause multiple brush strokes to be drawn.

SCREEN_SENSITIVITY_MASK_OVERDRIVE

Setting this bit causes the system to go into overdrive when the window gets an input event.

The effect of this sensitivity mask depends on the power management algorithms in place and on the platform in general.

SCREEN_SENSITIVITY_MASK_CLIPPED

The window receives touch and point data only when the position is within the bounds of the window.

If a pointer drag operation or a touch and move sequence leaves the window, the window will receive an input control notification that the event has left the bounds of the window and will not receive the subsequent events until the next touch or button press, or when the events re-enter the window again. Note that re-entry will only occur if the event leaves a window that also has clipping enabled on its sensitivity mask.

Library:

libscreen (For the qcc command, use the -l screen option to link against this library)

Description:

These masks are intended to be combined in a single integer bitmask representing combinations of desired senstivites to be applied to a window.

Last modified: 2014-11-17

Got questions about leaving a comment? Get answers from our Disqus FAQ.

1. Choose your focus

This is the focus controller. Use this controller to choose your primary development approach (Cascades or Core).

By selecting a focus, you get to decide what content should be front and center on the site.

2. Download the tools

Before you start developing, you'll need to visit the Downloads tab. Here you'll find downloads for the BlackBerry 10 Native SDK, BlackBerry 10 Device Simulator, and some other useful tools.

3. Try the sample apps

Now featuring a filter control, the Sample apps tab allows you to search for samples by name or by feature.

Select either the Core or Cascades check boxes to display the samples relevant to your focus.

4. Educate yourself

The Documentation tab contains tons of examples, tutorials, and best practices to guide you along the path towards building an awesome app.

The documentation for your preferred focus always appears at the top of the left-hand navigation, but you can still access the rest of the documentation at the bottom.

5. Start developing

The Reference tab is where you'll find essential details about how to use our APIs.

You can use the left-hand navigation to choose how you would like to browse the reference: by module, by topic, or alphabetically. If you have an idea of what you are looking for, start typing it in the Filter box.