zdk.net
VideoEndpointControl.h
1 //
2 // VideoEndpointControl.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_VideoEndpointControl_h
7 #define ZDK_NET_VideoEndpointControl_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "Result.h"
12 #include "CameraSensorLocation.h"
13 #include "ZHandle.h"
14 
15 using namespace System::Collections::Generic;
16 
17 namespace ZDK_NET
18 {
19  ref class Result;
20 
25  public ref class VideoEndpointControl : ZHandle
26  {
27  public:
28  ZDK::IVideoEndpointControl* cppRef = nullptr;
29 
30  VideoEndpointControl(ZDK::Shared::VideoEndpointControl src);
33 
51  ZDK_NET::Result^ SetFormat(int width, int height, float fps);
52 
68 
79  ZDK_NET::Result^ StartCapture(bool hwdAcceleration);
80 
90 
100 
110 
119  ZDK_NET::CameraSensorLocation GetCameraLocation();
120 
121  virtual long long Handle() override;
122 
123  virtual void Initialize() override;
124 
125  virtual void ReleaseReference() override;
126 
127  };
128 }
129 
130 #endif
ZDK_NET::Result
API invocation status result.
Definition: Result.h:24
ZDK_NET::VideoEndpointControl::StartCapture
ZDK_NET::Result ^ StartCapture(bool hwdAcceleration)
Starts the video capture.
ZDK_NET::VideoEndpointControl::ToggleCamera
ZDK_NET::Result ^ ToggleCamera()
Toggles the camera.
ZDK_NET::VideoEndpointControl::SetBitrate
ZDK_NET::Result ^ SetBitrate(int value)
Configures the video encoder's bitrate.
ZDK_NET::VideoEndpointControl
Video endpoint's main entry point.
Definition: VideoEndpointControl.h:26
ZDK_NET::VideoEndpointControl::SetFormat
ZDK_NET::Result ^ SetFormat(int width, int height, float fps)
Configures the used video format.
ZDK_NET::VideoEndpointControl::RestartCamera
ZDK_NET::Result ^ RestartCamera()
Restarts the camera.
ZDK_NET::VideoEndpointControl::StopCapture
ZDK_NET::Result ^ StopCapture()
Stops the video capture.
ZDK_NET::VideoEndpointControl::GetCameraLocation
ZDK_NET::CameraSensorLocation GetCameraLocation()
Gets the used camera location.
ZDK_NET::ZHandle
Definition: ZHandle.h:18