nx_metadata_sdk  1.0
Metadata SDK
i_custom_metadata_packet.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2 
3 #pragma once
4 
5 #include <nx/sdk/interface.h>
6 
7 #include <nx/sdk/analytics/i_metadata_packet.h>
8 
9 namespace nx {
10 namespace sdk {
11 namespace analytics {
12 
16 class ICustomMetadataPacket: public Interface<ICustomMetadataPacket, IMetadataPacket0>
17 {
18 public:
19  static auto interfaceId() { return makeId("nx::sdk::analytics::ICustomMetadataPacket"); }
20 
25  virtual const char* codec() const = 0;
26 
30  virtual const char* data() const = 0;
31 
35  virtual int dataSize() const = 0;
36 
41  virtual const char* contextData() const = 0;
42 
46  virtual int contextDataSize() const = 0;
47 };
49 
50 } // namespace analytics
51 } // namespace sdk
52 } // namespace nx
Definition: interface.h:49
virtual const char * data() const =0
virtual const char * codec() const =0
Definition: apple_utils.h:6
Definition: i_custom_metadata_packet.h:16
virtual const char * contextData() const =0