libimobiledevice  1.3.0
API Documentation - Return to Homepage

◆ np_observe_notification()

np_error_t np_observe_notification ( np_client_t  client,
const char *  notification 
)

Tells the device to send a notification on the specified event.

Parameters
clientThe client to send to
notificationThe notifications that should be observed.
Returns
NP_E_SUCCESS on success, NP_E_INVALID_ARG when client or notification are NULL, or an error returned by np_plist_send.