struct P1::CameraSdk::NotificationEvent

#include <C_P1CameraCommonNotificationEvent.h>

struct NotificationEvent
{
    // fields

    CameraId mCameraId = -1;
    NotificationType mNotificationType = kNotificationTypeUndefined;
    uint32_t mPropertyId = 0;
    CameraEventId mCameraEventId = kCameraEventUndefined;
    SdkEventId mSdkEventId = kSdkEventUndefined;
    CameraInfo mSdkCameraInfo = CameraInfo::Invalid;
    int8_t mTransferProgressPercent = -1;

    // methods

    bool HasCameraId();
    bool operator == (const NotificationEvent& other) const;
    std::string ToString() const;

    static NotificationEvent CreateProgressNotification(
        CameraEventId type,
        CameraId camId,
        int8_t progressValue
        );
};