*/
-partial interface Navigator {
- attribute Vehicle vehicle;
+
+[NoInterfaceObject]
+interface VehicleManagerObject {
+ readonly attribute Vehicle vehicle;
};
+Tizen implements VehicleManagerObject;
+
[NoInterfaceObject]
interface VehiclePropertyType: Event {
- /** /brief time at which the vehicle generated the property
+ /** Time
+ * \brief time at which the vehicle generated the property
**/
attribute DOMTimeStamp time;
attribute short zone;
* \param errorCallback callback if error has been called.
**/
- subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback);
+ void subscribe(DOMString objectType, VehiclePropertyCallback successCallback, optional unsigned short zone, optional VehiclePropertyErrorCallback errorCallback);
/**
* \brief set the given objectType to value
* \param value value to set, should contain zone information ie "zone" : 0
* \param errorCallback callback if error has been called.
**/
- set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback);
+ void set(DOMString objectType, VehiclePropertyType value, optional VehiclePropertyErrorCallback errorCallback);
/**
* \brief get values for a given objectType within a certain past time period between 'startTime' and 'endTime'
* \param objectType object type to request
* \param zone in which the objectType is located or 0 if no zone.
- * \param startTime, starting period of time.
- * \param endTime, ending period of time.
+ * \param startTime starting period of time.
+ * \param endTime ending period of time.
* \param successCallback Callback with the result of the method call
* \param errorCallback Callback if an error has occurred.
- **/
- getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback);
+ **/
+ void getHistory(DOMString objectType, unsigned short zone, Date startTime, Date endTime, VehiclePropertyListCallback successCallback, optional VehiclePropertyErrorCallback errorCallback);
};
[NoInterfaceObject]
**/
attribute object obstacleDistance;
};
-
-