libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ np_observe_notifications()

np_error_t np_observe_notifications ( np_client_t  client,
const char **  notification_spec 
)

Tells the device to send a notification on specified events.

Parameters
clientThe client to send to
notification_specSpecification of the notifications that should be observed. This is expected to be an array of const char* that MUST have a terminating NULL entry.
Returns
NP_E_SUCCESS on success, NP_E_INVALID_ARG when client is null, or an error returned by np_observe_notification.