\hypertarget{class_skm_xml_api_1_1_credential_command}{}\doxysection{Skm\+Xml\+Api.\+Credential\+Command Class Reference}
\label{class_skm_xml_api_1_1_credential_command}\index{SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}}


Retrieves available resources via the Skm\textquotesingle{}s Credential Manager Api. Resources include cameras, audio devices, slave nodes, etc. Each resource includes user permissions and permission roles that are associated.  


Inheritance diagram for Skm\+Xml\+Api.\+Credential\+Command\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_skm_xml_api_1_1_credential_command}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command_a8a2e6b0d559dccd3e13258a48c915567}{Refresh}} ()
\begin{DoxyCompactList}\small\item\em Reloads all the resources and credentials from the Skm Api \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command}{Credential\+Command}} \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command_a1df7b1c51e94b565f8854b9ca707faa2}{New\+Credential\+Command}} (\mbox{\hyperlink{class_skm_xml_api_1_1_skm_session}{Skm\+Session}} \mbox{\hyperlink{class_skm_xml_api_1_1_skm_base_aad8f1e5d6c1184b47abbc00cdb82f9f3}{Session}})
\begin{DoxyCompactList}\small\item\em Creates a new \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command}{Credential\+Command}}. ~\newline
 This retrieves available resources via the Skm\textquotesingle{}s Credential Manager Api \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Properties}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$ \mbox{\hyperlink{class_skm_xml_api_1_1_camera}{Camera}} $>$ \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command_abded9b8faabca522ade8118e32ac62f5}{Cameras}} = new \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$\mbox{\hyperlink{class_skm_xml_api_1_1_camera}{Camera}}$>$()\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em The available cameras on the Skm server \end{DoxyCompactList}\item 
\mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$ \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object}{Skm\+Object}} $>$ \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command_ae23a22e8eebd0e3d7d4a362fca251331}{Audios}} = new \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$\mbox{\hyperlink{class_skm_xml_api_1_1_skm_object}{Skm\+Object}}$>$()\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Audio objects. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
Retrieves available resources via the Skm\textquotesingle{}s Credential Manager Api. Resources include cameras, audio devices, slave nodes, etc. Each resource includes user permissions and permission roles that are associated. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_skm_xml_api_1_1_credential_command_a1df7b1c51e94b565f8854b9ca707faa2}\label{class_skm_xml_api_1_1_credential_command_a1df7b1c51e94b565f8854b9ca707faa2}} 
\index{SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}!NewCredentialCommand@{NewCredentialCommand}}
\index{NewCredentialCommand@{NewCredentialCommand}!SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}}
\doxysubsubsection{\texorpdfstring{NewCredentialCommand()}{NewCredentialCommand()}}
{\footnotesize\ttfamily static \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command}{Credential\+Command}} Skm\+Xml\+Api.\+Credential\+Command.\+New\+Credential\+Command (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_skm_xml_api_1_1_skm_session}{Skm\+Session}}}]{Session }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Creates a new \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command}{Credential\+Command}}. ~\newline
 This retrieves available resources via the Skm\textquotesingle{}s Credential Manager Api 


\begin{DoxyParams}{Parameters}
{\em Session} & Current working session\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
New instance of the \mbox{\hyperlink{class_skm_xml_api_1_1_credential_command}{Credential\+Command}}
\end{DoxyReturn}
\mbox{\Hypertarget{class_skm_xml_api_1_1_credential_command_a8a2e6b0d559dccd3e13258a48c915567}\label{class_skm_xml_api_1_1_credential_command_a8a2e6b0d559dccd3e13258a48c915567}} 
\index{SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}!Refresh@{Refresh}}
\index{Refresh@{Refresh}!SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}}
\doxysubsubsection{\texorpdfstring{Refresh()}{Refresh()}}
{\footnotesize\ttfamily void Skm\+Xml\+Api.\+Credential\+Command.\+Refresh (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Reloads all the resources and credentials from the Skm Api 



\doxysubsection{Property Documentation}
\mbox{\Hypertarget{class_skm_xml_api_1_1_credential_command_ae23a22e8eebd0e3d7d4a362fca251331}\label{class_skm_xml_api_1_1_credential_command_ae23a22e8eebd0e3d7d4a362fca251331}} 
\index{SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}!Audios@{Audios}}
\index{Audios@{Audios}!SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}}
\doxysubsubsection{\texorpdfstring{Audios}{Audios}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$\mbox{\hyperlink{class_skm_xml_api_1_1_skm_object}{Skm\+Object}}$>$ Skm\+Xml\+Api.\+Credential\+Command.\+Audios = new \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$\mbox{\hyperlink{class_skm_xml_api_1_1_skm_object}{Skm\+Object}}$>$()\hspace{0.3cm}{\ttfamily [get]}}



Audio objects. 

\mbox{\Hypertarget{class_skm_xml_api_1_1_credential_command_abded9b8faabca522ade8118e32ac62f5}\label{class_skm_xml_api_1_1_credential_command_abded9b8faabca522ade8118e32ac62f5}} 
\index{SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}!Cameras@{Cameras}}
\index{Cameras@{Cameras}!SkmXmlApi.CredentialCommand@{SkmXmlApi.CredentialCommand}}
\doxysubsubsection{\texorpdfstring{Cameras}{Cameras}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$\mbox{\hyperlink{class_skm_xml_api_1_1_camera}{Camera}}$>$ Skm\+Xml\+Api.\+Credential\+Command.\+Cameras = new \mbox{\hyperlink{class_skm_xml_api_1_1_skm_object_list}{Skm\+Object\+List}}$<$\mbox{\hyperlink{class_skm_xml_api_1_1_camera}{Camera}}$>$()\hspace{0.3cm}{\ttfamily [get]}}



The available cameras on the Skm server 


\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{comment}{/* Initialize a new instance, passing it a valid/authenticated}}
\DoxyCodeLine{\textcolor{comment}{/* SkmSession object *\&zwj;/}}
\DoxyCodeLine{\textcolor{comment}{CredentialCommand cmd = CredentialCommand.NewCredentialCommand(m\_skmSession);}}
\DoxyCodeLine{\textcolor{comment}{}}
\DoxyCodeLine{\textcolor{comment}{   /* Loop over each camera that our API found <em>\&zwj;/}}
\DoxyCodeLine{\textcolor{comment}{foreach (Camera cam in cmd.Cameras)}}
\DoxyCodeLine{\textcolor{comment}{\{}}
\DoxyCodeLine{\textcolor{comment}{    /</em> Get camera instance *\&zwj;/}}
\DoxyCodeLine{\textcolor{comment}{    Camera skmCamera = cam;}}
\DoxyCodeLine{\textcolor{comment}{}}
\DoxyCodeLine{\textcolor{comment}{    /* Do operations with camera instance *\&zwj;/}}
\DoxyCodeLine{\textcolor{comment}{\}}}
\end{DoxyCode}
 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/\+Skm\+Xml\+Api/Credential\+Command.\+cs\end{DoxyCompactItemize}
