gpg::SnapshotManager::MaxSizeResponse

#include <snapshot_manager.h>

Holds max size for snapshot data and for snapshot cover image.

Summary

Public attributes

maxCoverImageSize
size_t
The maximum data size per snapshot cover image in bytes.
maxDataSize
size_t
The maximum data size per snapshot in bytes.
status
Can be one of the values enumerated in ResponseStatus.

Public attributes

maxCoverImageSize

size_t gpg::SnapshotManager::MaxSizeResponse::maxCoverImageSize

The maximum data size per snapshot cover image in bytes.

Guaranteed to be at least 800 KB. May increase in the future.

maxDataSize

size_t gpg::SnapshotManager::MaxSizeResponse::maxDataSize

The maximum data size per snapshot in bytes.

Guaranteed to be at least 3 MB. May increase in the future.

status

ResponseStatus gpg::SnapshotManager::MaxSizeResponse::status

Can be one of the values enumerated in ResponseStatus.

If the response is unsuccessful, maxDataSize and maxCoverImageSize are equal to zero.