nx_server_plugin_sdk 1.0 Server Plugin SDK

i_media_context.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 namespace nx::sdk::analytics {
8
12 class IMediaContext: public Interface<IMediaContext>
13 {
14 public:
15 static auto interfaceId() { return makeId("nx::sdk::analytics::IMediaContext"); }
16
21 virtual const char* extradata() const = 0;
22
26 virtual int extradataSize() const = 0;
27 };
28 using IMediaContext0 = IMediaContext;
29
30 } // namespace nx::sdk::analytics
nx::sdk::analytics::IMediaContext::extradataSize
virtual int extradataSize() const =0
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::analytics::IMediaContext
Definition: i_media_context.h:12
nx::sdk::analytics
Definition: consuming_device_agent.cpp:25
nx::sdk::analytics::IMediaContext::extradata
virtual const char * extradata() const =0
nx::sdk::IRefCountable::makeId
static const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:77