pd_get_property_as_integer()

Retrieve the property as an integer.

Synopsis:

#include <peripheral_discovery.h>
 
int pd_get_property_as_integer(pd_peripheral_property_t *property, const char **name, int *value)

Since:

BlackBerry 10.2.0

Arguments:

property

The property from pd_get_next_property().

name

The retrieved name of the property.

value

The retrieved value of the property.

Library:

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

Description:

Note: name and value don't need to be freed, and are still valid after subsequent calls to pd_get_next_property(). They will be freed and become invalid when pd_free_property_list() is called.

Returns:

EOK on success.