Digital Barriers
Digital Barriers EdgeVis Decoder SDK
Loading...
Searching...
No Matches
CamsAttachment.h
Go to the documentation of this file.
1
2// Copyright (c) 2020 Digital Barriers
4
20
21#pragma once
22#include "EdgeVisSDK.h"
23#include "Pimpl.h"
24
25namespace EdgeVisDecoderSDK
26{
27 class CamsAttachmentImpl;
28
29 class CamsAttachment : public EdgeVisSDKPimpl<CamsAttachmentImpl>
30 {
31 public:
32 DB_EDGEVIS_SDK CamsAttachment();
33 EdgeVisSDKPimplWeakConstructor(CamsAttachment);
34
35 DB_EDGEVIS_SDK virtual ~CamsAttachment();
36
44 DB_EDGEVIS_SDK std::wstring GetId() const;
45
52 DB_EDGEVIS_SDK std::wstring GetMIMEType() const;
53
59 DB_EDGEVIS_SDK bool IsJPEG() const;
60
69 DB_EDGEVIS_SDK std::wstring GetContent() const;
70
71 };
72}
DB_EDGEVIS_SDK std::wstring GetId() const
Retrieve the unique ID for this attachment.
DB_EDGEVIS_SDK bool IsJPEG() const
Convenience method to determine if this attachment is a JPEG image.
DB_EDGEVIS_SDK std::wstring GetContent() const
Retrieve the content of this attachment as a Base64 encoded string.
DB_EDGEVIS_SDK std::wstring GetMIMEType() const
Retrieve the MIME type for this attachment.
The EdgeVis Decoder SDK namespace.