\hypertarget{classagora_1_1rtc_1_1_i_video_device_manager_observer}{}\doxysection{agora\+::rtc\+::I\+Video\+Device\+Manager\+Observer Class Reference}
\label{classagora_1_1rtc_1_1_i_video_device_manager_observer}\index{agora::rtc::IVideoDeviceManagerObserver@{agora::rtc::IVideoDeviceManagerObserver}}


{\ttfamily \#include $<$N\+G\+I\+Agora\+Video\+Device\+Manager.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual void \mbox{\hyperlink{classagora_1_1rtc_1_1_i_video_device_manager_observer_a6ab3466f8090c7fac0321319000094fa}{on\+Video\+Device\+State\+Changed}} (const char $\ast$device\+Id, int device\+Type, int device\+State)=0
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The \mbox{\hyperlink{classagora_1_1rtc_1_1_i_video_device_manager_observer}{I\+Video\+Device\+Manager\+Observer}} class. 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classagora_1_1rtc_1_1_i_video_device_manager_observer_a6ab3466f8090c7fac0321319000094fa}\label{classagora_1_1rtc_1_1_i_video_device_manager_observer_a6ab3466f8090c7fac0321319000094fa}} 
\index{agora::rtc::IVideoDeviceManagerObserver@{agora::rtc::IVideoDeviceManagerObserver}!onVideoDeviceStateChanged@{onVideoDeviceStateChanged}}
\index{onVideoDeviceStateChanged@{onVideoDeviceStateChanged}!agora::rtc::IVideoDeviceManagerObserver@{agora::rtc::IVideoDeviceManagerObserver}}
\doxysubsubsection{\texorpdfstring{onVideoDeviceStateChanged()}{onVideoDeviceStateChanged()}}
{\footnotesize\ttfamily virtual void agora\+::rtc\+::\+I\+Video\+Device\+Manager\+Observer\+::on\+Video\+Device\+State\+Changed (\begin{DoxyParamCaption}\item[{const char $\ast$}]{device\+Id,  }\item[{int}]{device\+Type,  }\item[{int}]{device\+State }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}

Occurs when the device state changes, for example, when a device is added or removed or default device change.

\begin{DoxyNote}{Note}
This method applies to Windows only now.
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em device\+Id} & Pointer to the device ID. \\
\hline
{\em device\+Type} & Device type\+: \#\+M\+E\+D\+I\+A\+\_\+\+D\+E\+V\+I\+C\+E\+\_\+\+T\+Y\+PE. \\
\hline
{\em device\+State} & Device state\+: \#\+M\+E\+D\+I\+A\+\_\+\+D\+E\+V\+I\+C\+E\+\_\+\+S\+T\+A\+T\+E\+\_\+\+T\+Y\+PE.. \\
\hline
\end{DoxyParams}
