InvokeRequestTargetFiltersReply

Since: BlackBerry 10.0.0

#include <bb/system/InvokeRequestTargetFiltersReply>

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

Encapsulates the results from a request to retrieve a target's filters.

When a client sends a request to get a target's set of filters to the invocation service (using InvokeManager::requestTargetFilters()), it subsequently receives a reply message containing the list of the target's filters. To handle the reply message, connect to the InvokeRequestTargetFiltersReply::finished() signal of the object returned by InvokeManager::requestTargetFilters(). This method is asynchronous, returning immediately and using the returned InvokeRequestTargetFiltersReply as a future. Consequently, the value returned by the error() method is not valid until the reply message arrives (when finished() is emitted).


Overview

Inheritance

bb::system::InvokeReply
bb::system::InvokeRequestTargetFiltersReply

Public Functions Index

InvokeRequestTargetFiltersReply (QObject *parent=0)
virtual ~InvokeRequestTargetFiltersReply ()
QList< InvokeTargetFilter >filters () const
QStringtargetKey () const
bb::system::InvokeReplyError::Typeerror () const Inherited
interrorCode () const Inherited
InvokeReply (QObject *parent=0)Inherited
boolisFinished () const Inherited

Signals Index

Only has inherited signals

voidfinished ()Inherited

Public Functions

InvokeRequestTargetFiltersReply (

Creates a new InvokeRequestTargetFiltersReply object.

Parameters
parent

If not 0, the supplied parent will be responsible for deleting this instance.

Since:

BlackBerry 10.0.0

virtual~InvokeRequestTargetFiltersReply ()

Destructor.

Since:

BlackBerry 10.0.0

QList< InvokeTargetFilter > filters ()

Returns the list of target filters from the reply message.

Return:

The list of target filters from the reply message.

Since:

BlackBerry 10.0.0

QString targetKey ()

Returns the target key to which the filters apply.

Return:

The target key.

Since:

BlackBerry 10.0.0

bb::system::InvokeReplyError::Type error ()Inherited

Returns the error type from the reply message.

The return value is not valid until a reply message has been received. The error code can be retrieved via errorCode().

Return:

The error type from the reply message. See bb::system::InvokeReplyError for the list of possible results.

Since:

BlackBerry 10.0.0

int errorCode ()Inherited

Returns the error code from the reply message.

The return value is not valid until a reply message has been received. The error type can be retrieved via error().

Return:

The error code from the reply message.

InvokeReply (Inherited

Creates a new InvokeReply object.

Parameters
parent

If not 0, the supplied parent will be responsible for deleting this instance.

Since:

BlackBerry 10.0.0

bool isFinished ()Inherited

Checks whether a reply message has been received.

The value returned by the error() method is not valid until a reply message has been received.

Return:

true if a reply message has been received, false otherwise.

Since:

BlackBerry 10.0.0

Signals

(Only has inherited signals)

void finished ()Inherited

Emitted when a reply message is received.

The value returned by the error() method is not valid until a reply message has been received.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus