navigator_window_cover_attribute_set_transition()

Set the type of transition to use when displaying a new window cover.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_window_cover_attribute_set_transition(navigator_window_cover_attribute_t *attribute,
                                                            int transition)

Since:

BlackBerry 10.0.0

Arguments:

attribute

The window cover attribute handle.

transition

One of navigator_window_cover_transition_t. The transition is applied when the existing cover is updated with this cover through navigator_window_cover_update().

Library:

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

Description:

Determines which transition to use when displaying a new window cover. The transition will only occur when an application already has a window cover being displayed, and it is being replaced by this new window cover. The new cover is displayed on a call to navigator_window_cover_update().

Returns:

On success, BPS_SUCCESS. Otherwise, BPS_FAILURE with errno set, and the attribute will be unchanged.