\hypertarget{group__Eeze__Sensor}{\section{Sensor}
\label{group__Eeze__Sensor}\index{Sensor@{Sensor}}
}


Gather sensor information from different sources.  


\subsection*{Modules}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eeze__Sensor__Events}{Available eeze sensor events}
\begin{DoxyCompactList}\small\item\em Sensor events that are emitted from the library as ecore events

Event types used to register ecore\+\_\+event\+\_\+handler on. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eeze__Sensor__Obj}{\+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{struct__Eeze__Sensor__Obj}{\+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj} \hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj}
\begin{DoxyCompactList}\small\item\em Object for a sensor type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}{Eeze\+\_\+\+Sensor\+\_\+\+Type} \{ \\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab5734e85b7463a7baa74b2148d0a89ad}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+C\+C\+E\+L\+E\+R\+O\+M\+E\+T\+E\+R}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaac65971560c7e0b0170a7a7c1d31f9316}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+T\+Y}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+N\+E\+A\+R\+\_\+\+A\+C\+C\+E\+L\+E\+R\+A\+T\+I\+O\+N}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+D\+E\+V\+I\+C\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa66def9b494a1ebd0d1c88e9d1edbffac}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+I\+C}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaaff827be42f0c6852197e4e2463fb469b}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa844f734531c1f88486922514fd1f9b63}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+P\+E}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa03726e92921df1e1305666e1cbbe6cac}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+H\+T}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa15e9f5125644fb52d04c1ca851d57de7}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+T\+Y}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa3a027e95ae5962c764d27f2b0f267479}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+A\+P}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa84eb56f11a15af4cb2f29bb909d968b1}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+K\+E}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaad4db0f20159f1248c5391d28614b7553}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+O\+U\+B\+L\+E\+T\+A\+P}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa14f7ad62b6f2fcc251abc03ffc84c7ad}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G\+\_\+\+B\+R\+O\+W\+S\+E}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+T\+I\+L\+T}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab0b8bd3befe83f130101a7d064cc0ee9}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+F\+A\+C\+E\+D\+O\+W\+N}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+I\+R\+E\+C\+T\+\_\+\+C\+A\+L\+L}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+M\+A\+R\+T\+\_\+\+A\+L\+E\+R\+T}, 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+N\+O\+\_\+\+M\+O\+V\+E}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa8f82d74661377e2fc78d3c4b663e4962}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+E\+R}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaabb5c6cf2ed4485753c8a08c513ec019e}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+R\+E}, 
\\*
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaae918a8b0fbfc7a178b7955416c5aba1f}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+S\+T} = 0x\+F\+F
 \}
\begin{DoxyCompactList}\small\item\em All sensor types known by Eeze Sensor. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$ \hyperlink{group__Eeze__Sensor_gaf7f1adc853205ce266132bd1934fc9f1}{eeze\+\_\+sensor\+\_\+new} (\hyperlink{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}{Eeze\+\_\+\+Sensor\+\_\+\+Type} type)
\begin{DoxyCompactList}\small\item\em Create sensor object to operate on. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Sensor_gaea6e5bc74e6f13cdce43730af33dc4e4}{eeze\+\_\+sensor\+\_\+free} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens)
\begin{DoxyCompactList}\small\item\em Free a sensor object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_gabd8faf47001fb0aa6f624086a959faf1}{eeze\+\_\+sensor\+\_\+accuracy\+\_\+get} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens, int $\ast$accuracy)
\begin{DoxyCompactList}\small\item\em Get accuracy from sensor object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_ga0cdc85c090da844c1421012283b385d8}{eeze\+\_\+sensor\+\_\+xyz\+\_\+get} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens, float $\ast$x, float $\ast$y, float $\ast$z)
\begin{DoxyCompactList}\small\item\em Get data from all three data properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_ga66fd695d6b7a6fa1090776deac58e387}{eeze\+\_\+sensor\+\_\+xy\+\_\+get} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens, float $\ast$x, float $\ast$y)
\begin{DoxyCompactList}\small\item\em Get data from first two data properties. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_ga119b0c8179a7dd89cb52da11a16ea419}{eeze\+\_\+sensor\+\_\+x\+\_\+get} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens, float $\ast$x)
\begin{DoxyCompactList}\small\item\em Get the data from first data property. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_ga501b5311448e7e1db0a11583cb6e6ea6}{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens, double $\ast$timestamp)
\begin{DoxyCompactList}\small\item\em Get timestamp from sensor object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_ga7afba716bf29528516aca57a24131da6}{eeze\+\_\+sensor\+\_\+read} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens)
\begin{DoxyCompactList}\small\item\em Read out sensor data. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Sensor_ga2cb4b33f407c8f3ddea18ffebbd17155}{eeze\+\_\+sensor\+\_\+async\+\_\+read} (\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$sens, void $\ast$user\+\_\+data)
\begin{DoxyCompactList}\small\item\em Asynchronous read out sensor data. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Gather sensor information from different sources. 

Works based on plugins, with a Tizen plugin being available. 

\subsection{Typedef Documentation}
\hypertarget{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{\index{Sensor@{Sensor}!Eeze\+\_\+\+Sensor\+\_\+\+Obj@{Eeze\+\_\+\+Sensor\+\_\+\+Obj}}
\index{Eeze\+\_\+\+Sensor\+\_\+\+Obj@{Eeze\+\_\+\+Sensor\+\_\+\+Obj}!Sensor@{Sensor}}
\subsubsection[{Eeze\+\_\+\+Sensor\+\_\+\+Obj}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj}}}\label{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}


Object for a sensor type. 

Keeps information about the type and holds the data for the accessor functions. As this information gets also updated by asynchronous reads it might be a good idea to check the timestamp value to see when the data has been updated. The timestamp is given as floating point value in seconds.

You are not supposed to access the raw data values from here but use the getter functions for it. Using the raw values from this struct might break your applications later if the internal structure changes.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


\subsection{Enumeration Type Documentation}
\hypertarget{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}{\index{Sensor@{Sensor}!Eeze\+\_\+\+Sensor\+\_\+\+Type@{Eeze\+\_\+\+Sensor\+\_\+\+Type}}
\index{Eeze\+\_\+\+Sensor\+\_\+\+Type@{Eeze\+\_\+\+Sensor\+\_\+\+Type}!Sensor@{Sensor}}
\subsubsection[{Eeze\+\_\+\+Sensor\+\_\+\+Type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Eeze\+\_\+\+Sensor\+\_\+\+Type}}}\label{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}


All sensor types known by Eeze Sensor. 

This list of types include real physical types like proximity or light as well as \char`\"{}aggregated\char`\"{} types like facedown or doubletap. All types with M\+O\+T\+I\+O\+N in their name can be used as real events coming from the underlying system. This is not supported on all systems.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+C\+C\+E\+L\+E\+R\+O\+M\+E\+T\+E\+R@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+C\+C\+E\+L\+E\+R\+O\+M\+E\+T\+E\+R}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+C\+C\+E\+L\+E\+R\+O\+M\+E\+T\+E\+R@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+C\+C\+E\+L\+E\+R\+O\+M\+E\+T\+E\+R}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab5734e85b7463a7baa74b2148d0a89ad}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+A\+C\+C\+E\+L\+E\+R\+O\+M\+E\+T\+E\+R}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab5734e85b7463a7baa74b2148d0a89ad}
}]Accelerometer sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+T\+Y@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+T\+Y}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+T\+Y@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+T\+Y}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaac65971560c7e0b0170a7a7c1d31f9316}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+T\+Y}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaac65971560c7e0b0170a7a7c1d31f9316}
}]Gravity sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+I\+C@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+I\+C}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+I\+C@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+I\+C}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa66def9b494a1ebd0d1c88e9d1edbffac}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+I\+C}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa66def9b494a1ebd0d1c88e9d1edbffac}
}]Magnetic sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaaff827be42f0c6852197e4e2463fb469b}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+O\+N}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaaff827be42f0c6852197e4e2463fb469b}
}]Orientation sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+P\+E@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+P\+E}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+P\+E@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+P\+E}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa844f734531c1f88486922514fd1f9b63}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+P\+E}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa844f734531c1f88486922514fd1f9b63}
}]Gyroscope sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+H\+T@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+H\+T}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+H\+T@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+H\+T}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa03726e92921df1e1305666e1cbbe6cac}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+H\+T}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa03726e92921df1e1305666e1cbbe6cac}
}]Light sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+T\+Y@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+T\+Y}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+T\+Y@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+T\+Y}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa15e9f5125644fb52d04c1ca851d57de7}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+T\+Y}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa15e9f5125644fb52d04c1ca851d57de7}
}]Proximity sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+A\+P@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+A\+P}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+A\+P@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+A\+P}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa3a027e95ae5962c764d27f2b0f267479}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+A\+P}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa3a027e95ae5962c764d27f2b0f267479}
}]Snap motion sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+K\+E@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+K\+E}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+K\+E@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+K\+E}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa84eb56f11a15af4cb2f29bb909d968b1}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+K\+E}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa84eb56f11a15af4cb2f29bb909d968b1}
}]Shake motion sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+O\+U\+B\+L\+E\+T\+A\+P@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+O\+U\+B\+L\+E\+T\+A\+P}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+O\+U\+B\+L\+E\+T\+A\+P@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+O\+U\+B\+L\+E\+T\+A\+P}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaad4db0f20159f1248c5391d28614b7553}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+D\+O\+U\+B\+L\+E\+T\+A\+P}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaad4db0f20159f1248c5391d28614b7553}
}]Doubletap motion sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa14f7ad62b6f2fcc251abc03ffc84c7ad}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+P\+A\+N\+N\+I\+N\+G}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa14f7ad62b6f2fcc251abc03ffc84c7ad}
}]Panning motion sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+F\+A\+C\+E\+D\+O\+W\+N@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+F\+A\+C\+E\+D\+O\+W\+N}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+F\+A\+C\+E\+D\+O\+W\+N@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+F\+A\+C\+E\+D\+O\+W\+N}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab0b8bd3befe83f130101a7d064cc0ee9}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+F\+A\+C\+E\+D\+O\+W\+N}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab0b8bd3befe83f130101a7d064cc0ee9}
}]Facedown motion sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+E\+R@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+E\+R}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+E\+R@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+E\+R}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa8f82d74661377e2fc78d3c4b663e4962}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+E\+R}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa8f82d74661377e2fc78d3c4b663e4962}
}]Barometer sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+R\+E@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+R\+E}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+R\+E@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+R\+E}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaabb5c6cf2ed4485753c8a08c513ec019e}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+R\+E}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaabb5c6cf2ed4485753c8a08c513ec019e}
}]Temperature sensor. \index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+S\+T@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+S\+T}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+S\+T@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+S\+T}}\item[{\em 
\hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaae918a8b0fbfc7a178b7955416c5aba1f}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+S\+T}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaae918a8b0fbfc7a178b7955416c5aba1f}
}]Last item to mark end of enum. \end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__Eeze__Sensor_gaf7f1adc853205ce266132bd1934fc9f1}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+new@{eeze\+\_\+sensor\+\_\+new}}
\index{eeze\+\_\+sensor\+\_\+new@{eeze\+\_\+sensor\+\_\+new}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj}$\ast$ eeze\+\_\+sensor\+\_\+new (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Type}}]{type}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_gaf7f1adc853205ce266132bd1934fc9f1}


Create sensor object to operate on. 


\begin{DoxyParams}{Parameters}
{\em type} & Sensor type to create object from. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Sensor object for the given type.
\end{DoxyReturn}
Takes the sensor type and create an object for it to operate on. During this it also does an initial sensor data read to fill the sensor data into the object. The \hyperlink{group__Eeze__Sensor_gaea6e5bc74e6f13cdce43730af33dc4e4}{eeze\+\_\+sensor\+\_\+free} function must be used to destroy the object and release its memory.

For every sensor type you want to work with this is the first thing you have to do. Create the object from the type and everything else the operates on this object.

This also takes into account what runtime modules are loaded and handles them in a given priority to pick up the best sensor source for your sensor object.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Eeze__Sensor_gaea6e5bc74e6f13cdce43730af33dc4e4}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+free@{eeze\+\_\+sensor\+\_\+free}}
\index{eeze\+\_\+sensor\+\_\+free@{eeze\+\_\+sensor\+\_\+free}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+free}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void eeze\+\_\+sensor\+\_\+free (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_gaea6e5bc74e6f13cdce43730af33dc4e4}


Free a sensor object. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on.\\
\hline
\end{DoxyParams}
Free an sensor object when it is no longer needed. Always use this function to cleanup unused sensor objects.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}
\hypertarget{group__Eeze__Sensor_gabd8faf47001fb0aa6f624086a959faf1}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+accuracy\+\_\+get@{eeze\+\_\+sensor\+\_\+accuracy\+\_\+get}}
\index{eeze\+\_\+sensor\+\_\+accuracy\+\_\+get@{eeze\+\_\+sensor\+\_\+accuracy\+\_\+get}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+accuracy\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+accuracy\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens, }
\item[{int $\ast$}]{accuracy}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_gabd8faf47001fb0aa6f624086a959faf1}


Get accuracy from sensor object. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
{\em accuracy} & Pointer to write accuracy value into. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
Access function to get the accuracy property from the sensor object. The accuracy value can have the following values and meaning\+: -\/1 Undefined accuracy 0 Bad accurancy 1 Normal accuracy 2 Good accuracy 3 Very good accuracy

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj\+::accuracy, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Sensor_ga0cdc85c090da844c1421012283b385d8}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+xyz\+\_\+get@{eeze\+\_\+sensor\+\_\+xyz\+\_\+get}}
\index{eeze\+\_\+sensor\+\_\+xyz\+\_\+get@{eeze\+\_\+sensor\+\_\+xyz\+\_\+get}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+xyz\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+xyz\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens, }
\item[{float $\ast$}]{x, }
\item[{float $\ast$}]{y, }
\item[{float $\ast$}]{z}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_ga0cdc85c090da844c1421012283b385d8}


Get data from all three data properties. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
{\em x} & Pointer to write first data property value into. \\
\hline
{\em y} & Pointer to write second data property value into. \\
\hline
{\em z} & Pointer to write third data property value into. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
Access function to get all three data properties from the sensor object. This is used for sensor types that offer all three values. Like accelerometer and magnetic.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj\+::data, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Sensor_ga66fd695d6b7a6fa1090776deac58e387}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+xy\+\_\+get@{eeze\+\_\+sensor\+\_\+xy\+\_\+get}}
\index{eeze\+\_\+sensor\+\_\+xy\+\_\+get@{eeze\+\_\+sensor\+\_\+xy\+\_\+get}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+xy\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+xy\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens, }
\item[{float $\ast$}]{x, }
\item[{float $\ast$}]{y}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_ga66fd695d6b7a6fa1090776deac58e387}


Get data from first two data properties. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
{\em x} & Pointer to write first data property value into. \\
\hline
{\em y} & Pointer to write second data property value into. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
Access function to get the first two data properties from the sensor object. This is used for sensor types that offer two values. Like panning.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj\+::data, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Sensor_ga119b0c8179a7dd89cb52da11a16ea419}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+x\+\_\+get@{eeze\+\_\+sensor\+\_\+x\+\_\+get}}
\index{eeze\+\_\+sensor\+\_\+x\+\_\+get@{eeze\+\_\+sensor\+\_\+x\+\_\+get}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+x\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+x\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens, }
\item[{float $\ast$}]{x}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_ga119b0c8179a7dd89cb52da11a16ea419}


Get the data from first data property. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
{\em x} & Pointer to write first data property value into. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
Access function to get the first data property from the sensor object. This is used for sensor types that only offer one value. Like light or proximity.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References \+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj\+::data, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, and E\+I\+N\+A\+\_\+\+T\+R\+U\+E.

\hypertarget{group__Eeze__Sensor_ga501b5311448e7e1db0a11583cb6e6ea6}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+timestamp\+\_\+get@{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get}}
\index{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get@{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+timestamp\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens, }
\item[{double $\ast$}]{timestamp}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_ga501b5311448e7e1db0a11583cb6e6ea6}


Get timestamp from sensor object. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
{\em timestamp} & Pointer to write timestamp value into. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
Access function to get the timestamp property from the sensor object. It allows you to determine if the values have been updated since the last time you requested them. Timestamp is given as a floating point value in seconds.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, and \+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj\+::timestamp.

\hypertarget{group__Eeze__Sensor_ga7afba716bf29528516aca57a24131da6}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+read@{eeze\+\_\+sensor\+\_\+read}}
\index{eeze\+\_\+sensor\+\_\+read@{eeze\+\_\+sensor\+\_\+read}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+read}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+read (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_ga7afba716bf29528516aca57a24131da6}


Read out sensor data. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
This function reads sensor data from the device and fills the sensor object with the data. This call is synchronous and blocks until the data is read out and updated in the sensor object. For simple applications this is fine and the easiest way to use the A\+P\+I. A more efficient way is to use \hyperlink{group__Eeze__Sensor_ga2cb4b33f407c8f3ddea18ffebbd17155}{eeze\+\_\+sensor\+\_\+async\+\_\+read} which allows the sensor readout to happen in the background and the application would check the timestamp of the data to determine how recent the data is.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

\hypertarget{group__Eeze__Sensor_ga2cb4b33f407c8f3ddea18ffebbd17155}{\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+async\+\_\+read@{eeze\+\_\+sensor\+\_\+async\+\_\+read}}
\index{eeze\+\_\+sensor\+\_\+async\+\_\+read@{eeze\+\_\+sensor\+\_\+async\+\_\+read}!Sensor@{Sensor}}
\subsubsection[{eeze\+\_\+sensor\+\_\+async\+\_\+read}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+async\+\_\+read (
\begin{DoxyParamCaption}
\item[{{\bf Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens, }
\item[{void $\ast$}]{user\+\_\+data}
\end{DoxyParamCaption}
)}}\label{group__Eeze__Sensor_ga2cb4b33f407c8f3ddea18ffebbd17155}


Asynchronous read out sensor data. 


\begin{DoxyParams}{Parameters}
{\em sens} & Sensor object to operate on. \\
\hline
{\em user\+\_\+data} & Data to pass to the callback function. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
E\+I\+N\+A\+\_\+\+T\+R\+U\+E for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E for failure
\end{DoxyReturn}
This function reads sensor data from the device and fills the sensor object with the data. The read is done asynchronously and thus does not block after calling. Instead the given the application can determine how recent the values are from the timestamp value that can be accessed through \hyperlink{group__Eeze__Sensor_ga501b5311448e7e1db0a11583cb6e6ea6}{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get}.

This function is more efficient but needs a bit more work in the application. An easier way is to use the synchronous \hyperlink{group__Eeze__Sensor_ga7afba716bf29528516aca57a24131da6}{eeze\+\_\+sensor\+\_\+read} functions. The downside of it is that it blocks until the data was read out from the physical sensor. That might be a long time depending on the hardware and its interface.

The extra data passed in as user\+\_\+data here will be available in the user\+\_\+data pointer of the sensor object when the ecore event arrives.

\begin{DoxySince}{Since}
1.\+8 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E.

