Class notification

Class Documentation

class notification

Public Functions

inline notification(rs2_notification *nt)
notification() = default
inline rs2_notification_category get_category() const

retrieve the notification category

Returns:

the notification category

inline std::string get_description() const

retrieve the notification description

Returns:

the notification description

inline double get_timestamp() const

retrieve the notification arrival timestamp

Returns:

the arrival timestamp

inline rs2_log_severity get_severity() const

retrieve the notification severity

Returns:

the severity

inline std::string get_serialized_data() const

retrieve the notification’s serialized data

Returns:

the serialized data (in JSON format)