ScreenshotError

Since: BlackBerry 10.2.0

#include <bb/system/ScreenshotError>

To link against this class, add the following line to your .pro file: LIBS += -lbbsystem

The list of outcomes for a capture attempt using bb::system::Screenshot.


Overview

Public Types

Type

The list of outcomes for a capture attempt using bb::system::Screenshot.

Since:

BlackBerry 10.2.0

None 0

No error, operation completed successfully.

InternalError 1

An unrecoverable internal error occurred.

Since:

BlackBerry 10.2.0

PermissionDenied 2

Insufficient permissions to perform the operation.

The application should request access_shared and use_camera_desktop before attempting the capture.

Since:

BlackBerry 10.2.0

BadFilePath 3

The screenshot could not be written to the supplied location.

Since:

BlackBerry 10.2.0

UnsupportedFileType 4

The image format specified is not supported.

Since:

BlackBerry 10.2.0

UserDeclined 5

The user prevented the screenshot from being captured.

Since:

BlackBerry 10.2.0

Last modified: 2014-09-30



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

comments powered by Disqus