RCP API  6.61.0

◆ rcp_notification_timeout()

rcp_error_t rcp_notification_timeout ( rcp_camera_connection_t con,
const char *  id 
)

Current notification has timed out.

This function should be called to notify the API that the timeout associated with the current notification has expired and that the notification should be closed.

Note: this can also be called if the user dismisses a timeout based notification by tapping on it (or other application specific appropriate action)

Note: the client code should wait until the API issues a CLOSE action on the current notification before actually closing it

Parameters
[in]conthe camera connection
[in]idthe notification ID
Returns
RCP_SUCCESS on success.