InvokeTarget
#include <bb/system/InvokeTarget>
To link against this class, add the following line to your .pro file: LIBS += -lbbsystem
The InvokeTarget class represents a remote application, card, or service that can be invoked.
BlackBerry 10.0.0
Public Types Index
enum TypeUnspecified = 0x0, Application = 0x1, Card = 0x2, Service = 0x8, Self = 0x10 |
Public Functions Index
| InvokeTarget () | |
| InvokeTarget (const InvokeTarget &other) | |
| ~InvokeTarget () | |
| InvokeTarget & | operator= (const InvokeTarget &other) |
| QString | name () const |
| QUrl | icon () const |
| PRIVATE QString | label () const |
| Type | type () const |
| bb::system::SecurityPerimeter::Type | perimeter () const |
Public Types
The kinds of processes that can be targets.
BlackBerry 10.0.0
- Unspecified = 0x0
No target is specified.
Since:BlackBerry 10.0.0
- Application = 0x1
The target is an application accessible from the home screen.
Since:BlackBerry 10.0.0
- Card = 0x2
The target is an application that runs using the full screen of the device, on top of any windows of the invoking parent application.
When an application is invoked as a card, it is considered to be part of the invoking application rather than a separately-running application. As such, an application running as a card does not appear in the list of running applications on the home screen.
Since:BlackBerry 10.0.0
- Service = 0x8
The target is a background process in the operating system.
Since:BlackBerry 10.0.0
- Self = 0x10
Include a target even if the target is the same as the client.
This value is valid only for specifying target types for invocation target queries. An InvokeTarget will not have type InvokeTarget::Self.
Since:BlackBerry 10.0.0
Public Functions
Creates a copy of an existing InvokeTarget object.
| Parameters | |
|---|---|
| other |
The source InvokeTarget object to copy. |
BlackBerry 10.0.0
Destructor.
BlackBerry 10.0.0
InvokeTarget &
Copies the data of an existing InvokeTarget object to this object.
| Parameters | |
|---|---|
| other |
The source InvokeTarget object to copy. |
The InvokeTarget instance.
BlackBerry 10.0.0
QString
Returns the identity of the target as stated in its BAR manifest.
Use value with InvokeRequest::setTarget().
The identity of the target.
BlackBerry 10.0.0
QUrl
Returns a path to a localized icon file that represents the target.
A path to a localized icon file that represents the target.
BlackBerry 10.0.0
PRIVATE QString
Returns the localized name of the target.
The localized name of the target.
BlackBerry 10.0.0
Type
Returns whether the target is an application, or a card.
The kind of process represented by the target. See InvokeTarget::Type for the list of invocation target types.
BlackBerry 10.0.0
bb::system::SecurityPerimeter::Type
Returns the security perimeter of the target.
The target's security perimeter. See bb::system::SecurityPerimeter for the list of perimeters.
BlackBerry 10.0.0