\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} \{ \newline
\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\+ER}, 
\newline
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaac65971560c7e0b0170a7a7c1d31f9316}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+TY}, 
\newline
{\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\+ON}, 
\newline
{\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\+ON}, 
\newline
\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\+IC}, 
\newline
\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\+ON}, 
\newline
\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\+PE}, 
\newline
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa03726e92921df1e1305666e1cbbe6cac}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+HT}, 
\newline
\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\+TY}, 
\newline
\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\+AP}, 
\newline
\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\+KE}, 
\newline
\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\+AP}, 
\newline
\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\+NG}, 
\newline
{\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\+SE}, 
\newline
{\bfseries E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+T\+I\+LT}, 
\newline
\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\+WN}, 
\newline
{\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\+LL}, 
\newline
{\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\+RT}, 
\newline
{\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\+VE}, 
\newline
\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\+ER}, 
\newline
\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\+RE}, 
\newline
\hyperlink{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaae918a8b0fbfc7a178b7955416c5aba1f}{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+ST} = 0x\+FF
 \}\begin{DoxyCompactList}\small\item\em All sensor types known by Eeze Sensor. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} 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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \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}
\mbox{\Hypertarget{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}\label{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}} 
\index{Sensor@{Sensor}!Eeze\+\_\+\+Sensor\+\_\+\+Obj@{Eeze\+\_\+\+Sensor\+\_\+\+Obj}}
\index{Eeze\+\_\+\+Sensor\+\_\+\+Obj@{Eeze\+\_\+\+Sensor\+\_\+\+Obj}!Sensor@{Sensor}}
\subsubsection{\texorpdfstring{Eeze\+\_\+\+Sensor\+\_\+\+Obj}{Eeze\_Sensor\_Obj}}
{\footnotesize\ttfamily \hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj}}



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}
\mbox{\Hypertarget{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}\label{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}} 
\index{Sensor@{Sensor}!Eeze\+\_\+\+Sensor\+\_\+\+Type@{Eeze\+\_\+\+Sensor\+\_\+\+Type}}
\index{Eeze\+\_\+\+Sensor\+\_\+\+Type@{Eeze\+\_\+\+Sensor\+\_\+\+Type}!Sensor@{Sensor}}
\subsubsection{\texorpdfstring{Eeze\+\_\+\+Sensor\+\_\+\+Type}{Eeze\_Sensor\_Type}}
{\footnotesize\ttfamily enum \hyperlink{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}{Eeze\+\_\+\+Sensor\+\_\+\+Type}}



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\+ON 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{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\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\+ER@{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\+ER}!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\+ER@{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\+ER}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab5734e85b7463a7baa74b2148d0a89ad}\label{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\+ER&Accelerometer sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+TY@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+TY}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+TY@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+TY}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaac65971560c7e0b0170a7a7c1d31f9316}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaac65971560c7e0b0170a7a7c1d31f9316}} 
E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+R\+A\+V\+I\+TY&Gravity sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+IC@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+IC}!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\+IC@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+IC}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa66def9b494a1ebd0d1c88e9d1edbffac}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa66def9b494a1ebd0d1c88e9d1edbffac}} 
E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+A\+G\+N\+E\+T\+IC&Magnetic sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+ON@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+ON}!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\+ON@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+R\+I\+E\+N\+T\+A\+T\+I\+ON}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaaff827be42f0c6852197e4e2463fb469b}\label{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\+ON&Orientation sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+PE@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+PE}!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\+PE@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+G\+Y\+R\+O\+S\+C\+O\+PE}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa844f734531c1f88486922514fd1f9b63}\label{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\+PE&Gyroscope sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+HT@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+HT}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+HT@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+HT}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa03726e92921df1e1305666e1cbbe6cac}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa03726e92921df1e1305666e1cbbe6cac}} 
E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+I\+G\+HT&Light sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+TY@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+TY}!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\+TY@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+R\+O\+X\+I\+M\+I\+TY}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa15e9f5125644fb52d04c1ca851d57de7}\label{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\+TY&Proximity sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+AP@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+AP}!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\+AP@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+N\+AP}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa3a027e95ae5962c764d27f2b0f267479}\label{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\+AP&Snap motion sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+KE@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+KE}!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\+KE@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+M\+O\+T\+I\+O\+N\+\_\+\+S\+H\+A\+KE}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa84eb56f11a15af4cb2f29bb909d968b1}\label{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\+KE&Shake motion sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\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\+AP@{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\+AP}!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\+AP@{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\+AP}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaad4db0f20159f1248c5391d28614b7553}\label{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\+AP&Doubletap motion sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\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\+NG@{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\+NG}!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\+NG@{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\+NG}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa14f7ad62b6f2fcc251abc03ffc84c7ad}\label{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\+NG&Panning motion sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\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\+WN@{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\+WN}!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\+WN@{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\+WN}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaab0b8bd3befe83f130101a7d064cc0ee9}\label{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\+WN&Facedown motion sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+ER@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+ER}!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\+ER@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+B\+A\+R\+O\+M\+E\+T\+ER}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaa8f82d74661377e2fc78d3c4b663e4962}\label{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\+ER&Barometer sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+RE@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+RE}!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\+RE@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+M\+P\+E\+R\+A\+T\+U\+RE}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaabb5c6cf2ed4485753c8a08c513ec019e}\label{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\+RE&Temperature sensor. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+ST@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+ST}!Sensor@{Sensor}}\index{Sensor@{Sensor}!E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+ST@{E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+ST}}}\mbox{\Hypertarget{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaae918a8b0fbfc7a178b7955416c5aba1f}\label{group__Eeze__Sensor_ggaf03bb0fb995a5d05ea33460bf9f8daeaae918a8b0fbfc7a178b7955416c5aba1f}} 
E\+E\+Z\+E\+\_\+\+S\+E\+N\+S\+O\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+L\+A\+ST&Last item to mark end of enum. \\
\hline

\end{DoxyEnumFields}


\subsection{Function Documentation}
\mbox{\Hypertarget{group__Eeze__Sensor_gaf7f1adc853205ce266132bd1934fc9f1}\label{group__Eeze__Sensor_gaf7f1adc853205ce266132bd1934fc9f1}} 
\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+new@{eeze\+\_\+sensor\+\_\+new}}
\index{eeze\+\_\+sensor\+\_\+new@{eeze\+\_\+sensor\+\_\+new}!Sensor@{Sensor}}
\subsubsection{\texorpdfstring{eeze\+\_\+sensor\+\_\+new()}{eeze\_sensor\_new()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj}$\ast$ eeze\+\_\+sensor\+\_\+new (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gaf03bb0fb995a5d05ea33460bf9f8daea}{Eeze\+\_\+\+Sensor\+\_\+\+Type}}]{type }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eeze__Sensor_gaea6e5bc74e6f13cdce43730af33dc4e4}\label{group__Eeze__Sensor_gaea6e5bc74e6f13cdce43730af33dc4e4}} 
\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+free@{eeze\+\_\+sensor\+\_\+free}}
\index{eeze\+\_\+sensor\+\_\+free@{eeze\+\_\+sensor\+\_\+free}!Sensor@{Sensor}}
\subsubsection{\texorpdfstring{eeze\+\_\+sensor\+\_\+free()}{eeze\_sensor\_free()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} void eeze\+\_\+sensor\+\_\+free (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens }\end{DoxyParamCaption})}



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}
\mbox{\Hypertarget{group__Eeze__Sensor_gabd8faf47001fb0aa6f624086a959faf1}\label{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{\texorpdfstring{eeze\+\_\+sensor\+\_\+accuracy\+\_\+get()}{eeze\_sensor\_accuracy\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+accuracy\+\_\+get (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens,  }\item[{int $\ast$}]{accuracy }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eeze__Sensor_ga0cdc85c090da844c1421012283b385d8}\label{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{\texorpdfstring{eeze\+\_\+sensor\+\_\+xyz\+\_\+get()}{eeze\_sensor\_xyz\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+xyz\+\_\+get (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens,  }\item[{float $\ast$}]{x,  }\item[{float $\ast$}]{y,  }\item[{float $\ast$}]{z }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eeze__Sensor_ga66fd695d6b7a6fa1090776deac58e387}\label{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{\texorpdfstring{eeze\+\_\+sensor\+\_\+xy\+\_\+get()}{eeze\_sensor\_xy\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+xy\+\_\+get (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens,  }\item[{float $\ast$}]{x,  }\item[{float $\ast$}]{y }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eeze__Sensor_ga119b0c8179a7dd89cb52da11a16ea419}\label{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{\texorpdfstring{eeze\+\_\+sensor\+\_\+x\+\_\+get()}{eeze\_sensor\_x\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+x\+\_\+get (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens,  }\item[{float $\ast$}]{x }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+SE, and E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Eeze__Sensor_ga501b5311448e7e1db0a11583cb6e6ea6}\label{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{\texorpdfstring{eeze\+\_\+sensor\+\_\+timestamp\+\_\+get()}{eeze\_sensor\_timestamp\_get()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+timestamp\+\_\+get (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens,  }\item[{double $\ast$}]{timestamp }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+SE, E\+I\+N\+A\+\_\+\+T\+R\+UE, and \+\_\+\+Eeze\+\_\+\+Sensor\+\_\+\+Obj\+::timestamp.

\mbox{\Hypertarget{group__Eeze__Sensor_ga7afba716bf29528516aca57a24131da6}\label{group__Eeze__Sensor_ga7afba716bf29528516aca57a24131da6}} 
\index{Sensor@{Sensor}!eeze\+\_\+sensor\+\_\+read@{eeze\+\_\+sensor\+\_\+read}}
\index{eeze\+\_\+sensor\+\_\+read@{eeze\+\_\+sensor\+\_\+read}!Sensor@{Sensor}}
\subsubsection{\texorpdfstring{eeze\+\_\+sensor\+\_\+read()}{eeze\_sensor\_read()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+read (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+PI. 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\+SE.

\mbox{\Hypertarget{group__Eeze__Sensor_ga2cb4b33f407c8f3ddea18ffebbd17155}\label{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{\texorpdfstring{eeze\+\_\+sensor\+\_\+async\+\_\+read()}{eeze\_sensor\_async\_read()}}
{\footnotesize\ttfamily \hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} eeze\+\_\+sensor\+\_\+async\+\_\+read (\begin{DoxyParamCaption}\item[{\hyperlink{group__Eeze__Sensor_gab0394cc35fc90bc49629f775ebb4d88f}{Eeze\+\_\+\+Sensor\+\_\+\+Obj} $\ast$}]{sens,  }\item[{void $\ast$}]{user\+\_\+data }\end{DoxyParamCaption})}



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\+UE for success and E\+I\+N\+A\+\_\+\+F\+A\+L\+SE 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\+SE, eina\+\_\+hash\+\_\+free(), eina\+\_\+hash\+\_\+string\+\_\+small\+\_\+new(), eina\+\_\+init(), eina\+\_\+prefix\+\_\+free(), eina\+\_\+prefix\+\_\+new(), and eina\+\_\+shutdown().

