<!DOCTYPE Definitions SYSTEM "widlprocxml.dtd">
<Definitions>
<Module name="Vehicle" id="::Vehicle">
- <webidl> module Vehicle {
-partial interface Navigator {
- attribute <ref>Vehicle</ref> vehicle;
+<webidl> module Vehicle {
+[NoInterfaceObject] interface VehicleManagerObject {
+ readonly attribute <ref>Vehicle</ref> vehicle;
};
-[NoInterfaceObject]
-interface VehiclePropertyType: <ref>Event</ref> {
- attribute <ref>DOMTimeStamp</ref> time;
- attribute short zone;
- attribute DOMString source;
-};
+<ref>Navigator</ref> implements <ref>VehicleManagerObject</ref>;
[NoInterfaceObject]
-interface VehiclePropertyError {
- const unsigned short PERMISSION_DENIED = 1;
- const unsigned short PROPERTY_UNAVAILABLE = 2;
- const unsigned short TIMEOUT = 3;
- const unsigned short UNKNOWN = 10;
-
- attribute unsigned short code;
-
- attribute DOMString message;
+interface Vehicle {
+ readonly attribute <ref>VehicleConfigurationInterface</ref> identification;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> sizeConfiguration;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> fuelConfiguration;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> transmissionConfiguration;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> wheelConfiguration;
+ readonly attribute <ref>VehicleSignalInterface</ref> steeringWheelConfiguration;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> vehicleSpeed;
+ readonly attribute <ref>VehicleSignalInterface</ref> wheelSpeed;
+ readonly attribute <ref>VehicleSignalInterface</ref> engineSpeed;
+ readonly attribute <ref>VehicleSignalInterface</ref> powerTrainTorque;
+ readonly attribute <ref>VehicleSignalInterface</ref> acceleratorPedalPosition;
+ readonly attribute <ref>VehicleSignalInterface</ref> throttlePosition;
+ readonly attribute <ref>VehicleSignalInterface</ref> tripMeters;
+ readonly attribute <ref>VehicleSignalInterface</ref> transmission;
+ readonly attribute <ref>VehicleSignalInterface</ref> cruiseControlStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> lightStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> interiorLightStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> horn;
+ readonly attribute <ref>VehicleSignalInterface</ref> chime;
+ readonly attribute <ref>VehicleSignalInterface</ref> fuel;
+ readonly attribute <ref>VehicleSignalInterface</ref> engineOil;
+ readonly attribute <ref>VehicleSignalInterface</ref> acceleration;
+ readonly attribute <ref>VehicleSignalInterface</ref> engineCoolant;
+ readonly attribute <ref>VehicleSignalInterface</ref> steeringWheel;
+ readonly attribute <ref>VehicleSignalInterface</ref> ignitionTime;
+ readonly attribute <ref>VehicleSignalInterface</ref> yawRate;
+ readonly attribute <ref>VehicleSignalInterface</ref> brakeOperation;
+ readonly attribute <ref>VehicleSignalInterface</ref> wheelTick;
+ readonly attribute <ref>VehicleSignalInterface</ref> buttonEvent;
+ readonly attribute <ref>VehicleSignalInterface</ref> drivingMode;
+ readonly attribute <ref>VehicleSignalInterface</ref> nightMode;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> odometer;
+ readonly attribute <ref>VehicleSignalInterface</ref> transmissionOil;
+ readonly attribute <ref>VehicleSignalInterface</ref> transmissionClutch;
+ readonly attribute <ref>VehicleSignalInterface</ref> brakeMaintenance;
+ readonly attribute <ref>VehicleSignalInterface</ref> washerFluid;
+ readonly attribute <ref>VehicleSignalInterface</ref> malfunctionIndicator;
+ readonly attribute <ref>VehicleSignalInterface</ref> batteryStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> tire;
+ readonly attribute <ref>VehicleSignalInterface</ref> diagnostic;
+
+ readonly attribute <ref>VehicleSignalInterface</ref>? languageConfiguration;
+ readonly attribute <ref>VehicleSignalInterface</ref> unitsOfMeasure;
+ readonly attribute <ref>VehicleSignalInterface</ref> mirror;
+ readonly attribute <ref>VehicleSignalInterface</ref> driveMode;
+ readonly attribute <ref>VehicleSignalInterface</ref> seatAdjustment;
+ readonly attribute <ref>VehicleSignalInterface</ref> dashboardIllumination;
+ readonly attribute <ref>VehicleSignalInterface</ref> vehicleSound;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> antilockBrakingSystem;
+ readonly attribute <ref>VehicleSignalInterface</ref> tractionControlSystem;
+ readonly attribute <ref>VehicleSignalInterface</ref> electronicStabilityControl;
+ readonly attribute <ref>VehicleSignalInterface</ref> topSpeedLimit;
+ readonly attribute <ref>VehicleSignalInterface</ref> airbagStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> door;
+ readonly attribute <ref>VehicleSignalInterface</ref> childSafetyLock;
+ readonly attribute <ref>VehicleSignalInterface</ref> seat;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> temperature;
+ readonly attribute <ref>VehicleSignalInterface</ref> rainSensor;
+ readonly attribute <ref>VehicleSignalInterface</ref> wiperStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> wiperSetting;
+ readonly attribute <ref>VehicleSignalInterface</ref> defrost;
+ readonly attribute <ref>VehicleSignalInterface</ref> sunroof;
+ readonly attribute <ref>VehicleSignalInterface</ref> convertibleRoof;
+ readonly attribute <ref>VehicleSignalInterface</ref> sideWindow;
+ readonly attribute <ref>VehicleSignalInterface</ref> climateControl;
+ readonly attribute <ref>VehicleSignalInterface</ref> atmosphericPressure;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> laneDepartureStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> alarm;
+ readonly attribute <ref>VehicleSignalInterface</ref> parkingBrake;
+ readonly attribute <ref>VehicleSignalInterface</ref> parkingLights;
};
-callback VehiclePropertyCallback = void (<ref>VehiclePropertyType</ref> value);
+enum ZonePosition {
+ "front",
+ "middle",
+ "right",
+ "left",
+ "rear",
+ "center"
+};
-callback VehiclePropertyErrorCallback = void (<ref>VehiclePropertyError</ref> error);
+interface Zone {
+ attribute DOMString[] value;
+ readonly attribute <ref>Zone</ref> driver;
+ boolean equals (<ref>Zone</ref> zone);
+ boolean contains (<ref>Zone</ref> zone);
+};
-callback VehiclePropertyListCallback = void (sequence<<ref>VehiclePropertyType</ref>> values);
+[Callback=FunctionOnly, NoInterfaceObject]
+interface VehicleInterfaceCallback {
+ void onsuccess(object value);
+};
-callback SupportedPropertiesCallback = void (sequence<DOMString> properties);
+[Callback=FunctionOnly, NoInterfaceObject]
+interface AvailableCallback {
+ void onsuccess(<ref>Availability</ref> available);
+};
+enum VehicleError {
+ "permission_denied",
+ "invalid_operation",
+ "timeout",
+ "invalid_zone",
+ "unknown"
+};
[NoInterfaceObject]
-interface Vehicle {
-
- const unsigned short ZONE_None = 0;
- const unsigned short ZONE_Front = 1;
- const unsigned short ZONE_Middle = 0x10;
- const unsigned short ZONE_Right = 0x100;
- const unsigned short ZONE_Left = 0x1000;
- const unsigned short ZONE_Rear = 0x10000;
- const unsigned short ZONE_Center = 0x10000;
-
- sequence<DOMString> supported();
-
- any get(DOMString objectType, optional short zone);
+interface VehicleInterfaceError {
+ readonly attribute <ref>VehicleError</ref> error;
+ readonly attribute DOMString message;
+};
+interface VehicleInterface {
+ <ref>Availability</ref> availableForRetrieval (DOMString attributeName);
+ <ref>Promise</ref> get (optional <ref>Zone</ref> zone);
+ <ref>Promise</ref> getHistory (Date begin, Date end, optional <ref>Zone</ref> zone);
+ short availabilityChangedListener (<ref>AvailableCallback</ref> callback);
+ void removeAvailabilityChangedListener (short handle);
+ readonly attribute <ref>Zone</ref>[] zones;
+ readonly attribute boolean supported;
+ readonly attribute boolean isLogged;
+ readonly attribute Date ? from;
+ readonly attribute Date ? to;
+};
- <ref>subscribe</ref>(DOMString objectType, <ref>VehiclePropertyCallback</ref> successCallback, optional unsigned short zone, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);
+[NoInterfaceObject]
+interface VehicleConfigurationInterface : <ref>VehicleInterface</ref> {};
- <ref>set</ref>(DOMString objectType, <ref>VehiclePropertyType</ref> value, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);
+[NoInterfaceObject]
+interface VehicleSignalInterface : <ref>VehicleInterface</ref> {
+ <ref>Availability</ref> availableForSubscription (DOMString attributeName);
+ <ref>Availability</ref> availableForSetting (DOMString attributeName);
+ <ref>Promise</ref> set (object value, optional <ref>Zone</ref> zone);
+ unsigned short subscribe (<ref>VehicleInterfaceCallback</ref> callback, optional <ref>Zone</ref> zone);
+ void unsubscribe (unsigned short handle);
+};
- <ref>getHistory</ref>(DOMString objectType, unsigned short zone, Date startTime, Date endTime, <ref>VehiclePropertyListCallback</ref> successCallback, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);
+enum Availability {
+ "available",
+ "not_supported",
+ "not_supported_yet",
+ "not_supported_security_policy",
+ "not_supported_business_policy",
+ "not_supported_other"
};
[NoInterfaceObject]
-interface VehicleSpeed : <ref>VehiclePropertyType</ref> {
+interface VehicleCommonDataType {
+ readonly attribute <ref>DOMTimeStamp</ref>? timeStamp;
+};
- attribute unsigned long vehicleSpeed;
+enum VehicleTypeEnum {
+ "passengerCarMini",
+ "passengerCarLight",
+ "passengerCarCompact",
+ "passengerCarMedium",
+ "passengerCarHeavy",
+ "sportUtilityVehicle",
+ "pickupTruck",
+ "van"
};
[NoInterfaceObject]
-interface EngineSpeed : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long engineSpeed;
+interface Identification : <ref>VehicleCommonDataType</ref> {
+ readonly attribute DOMString? VIN;
+ readonly attribute DOMString? WMI;
+ readonly attribute <ref>VehicleTypeEnum</ref>? vehicleType;
+ readonly attribute DOMString? brand;
+ readonly attribute DOMString? model;
+ readonly attribute unsigned short? year;
};
[NoInterfaceObject]
-interface VehiclePowerMode : <ref>VehiclePropertyType</ref> {
- const unsigned short VEHICLEPOWERMODE_OFF = 0;
- const unsigned short VEHICLEPOWERMODE_ACCESSORY1 = 1;
- const unsigned short VEHICLEPOWERMODE_ACCESSORY2 = 2;
- const unsigned short VEHICLEPOWERMODE_RUN = 3;
+interface SizeConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? width;
+ readonly attribute unsigned short? height;
+ readonly attribute unsigned short? length;
+ readonly attribute unsigned short[]? doorsCount;
+ readonly attribute unsigned short? totalDoors;
+};
- attribute octet vehiclePowerMode;
+enum FuelTypeEnum {
+ "gasoline",
+ "methanol",
+ "ethanol",
+ "diesel",
+ "lpg",
+ "cng",
+ "electric"
};
[NoInterfaceObject]
-interface TripMeter : <ref>VehiclePropertyType</ref> {
+interface FuelConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>FuelTypeEnum</ref>[]? fuelType;
+ readonly attribute <ref>Zone</ref>? refuelPosition;
+};
- attribute sequence<unsigned long> tripMeters;
+enum TransmissionGearTypeEnum {
+ "auto",
+ "manual"
};
[NoInterfaceObject]
-interface Acceleration : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long x;
-
- attribute unsigned long y;
-
- attribute unsigned long z;
+interface TransmissionConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>TransmissionGearTypeEnum</ref>? transmissionGearType;
};
[NoInterfaceObject]
-interface Transmission : <ref>VehiclePropertyType</ref> {
- const unsigned short TRANSMISSIONPOSITION_NEUTRAL = 0;
- const unsigned short TRANSMISSIONPOSITION_FIRST = 1;
- const unsigned short TRANSMISSIONPOSITION_SECOND = 2;
- const unsigned short TRANSMISSIONPOSITION_THIRD = 3;
- const unsigned short TRANSMISSIONPOSITION_FORTH = 4;
- const unsigned short TRANSMISSIONPOSITION_FIFTH = 5;
- const unsigned short TRANSMISSIONPOSITION_SIXTH = 6;
- const unsigned short TRANSMISSIONPOSITION_SEVENTH = 7;
- const unsigned short TRANSMISSIONPOSITION_EIGHTH = 8;
- const unsigned short TRANSMISSIONPOSITION_NINTH = 9;
- const unsigned short TRANSMISSIONPOSITION_TENTH = 10;
- const unsigned short TRANSMISSIONPOSITION_CVT = 64;
- const unsigned short TRANSMISSIONPOSITION_REVERSE = 128;
- const unsigned short TRANSMISSIONPOSITION_PARK = 255;
- const unsigned short TRANSMISSIONMODE_NORMAL = 0;
- const unsigned short TRANSMISSIONMODE_SPORT = 1;
- const unsigned short TRANSMISSIONMODE_ECONOMY = 2;
- const unsigned short TRANSMISSIONMODE_OEMCUSTOM1 = 3;
- const unsigned short TRANSMISSIONMODE_OEMCUSTOM2 = 4;
-
- attribute octet gearPosition;
-
- attribute octet mode;
+interface WheelConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? wheelRadius;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface CruiseControlStatus : <ref>VehiclePropertyType</ref> {
-
- attribute boolean activated;
-
- attribute unsigned short speed;
+interface SteeringWheelConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean? steeringWheelLeft;
+ attribute unsigned short? steeringWheelTelescopingPosition;
+ attribute unsigned short? steeringWheelPositionTilt;
};
[NoInterfaceObject]
-interface WheelBrake : <ref>VehiclePropertyType</ref> {
-
- attribute boolean engaged;
+interface VehicleSpeed : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short speed;
};
[NoInterfaceObject]
-interface LightStatus : <ref>VehiclePropertyType</ref> {
-
- attribute boolean head;
-
- attribute boolean rightTurn;
-
- attribute boolean leftTurn;
-
- attribute boolean brake;
-
- attribute boolean fog;
-
- attribute boolean hazard;
-
- attribute boolean parking;
-
- attribute boolean highBeam;
+interface WheelSpeed : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short speed;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface InteriorLightStatus : <ref>VehiclePropertyType</ref> {
-
- attribute boolean passenger;
-
- attribute boolean driver;
+interface EngineSpeed : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long speed;
+};
- attribute boolean center;
+enum VehiclePowerMode {
+ "off",
+ "accessory1",
+ "accessory2",
+ "running"
};
[NoInterfaceObject]
-interface Horn : <ref>VehiclePropertyType</ref> {
-
- attribute boolean on;
+interface VehiclePowerModeType : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>VehiclePowerMode</ref> value;
};
[NoInterfaceObject]
-interface Fuel : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short level;
-
- attribute unsigned short range;
-
- attribute unsigned short instantConsumption;
-
- attribute unsigned short instantEconomy;
-
- attribute unsigned short averageEconomy;
+interface PowerTrainTorque : <ref>VehicleCommonDataType</ref> {
+ readonly attribute short value;
};
[NoInterfaceObject]
-interface EngineOil : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short remaining;
-
- attribute long temperature;
-
- attribute unsigned short pressure;
+interface AcceleratorPedalPosition : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short value;
};
[NoInterfaceObject]
-interface Location : <ref>VehiclePropertyType</ref> {
-
- attribute double latitude;
-
- attribute double longitude;
-
- attribute double altitude;
-
- attribute unsigned short direction;
+interface ThrottlePosition : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short value;
};
[NoInterfaceObject]
-interface ExteriorBrightness : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long exteriorBrightness;
+interface Trip {
+ readonly attribute unsigned long distance;
+ readonly attribute unsigned short? averageSpeed;
+ readonly attribute unsigned short? fuelConsumption;
};
[NoInterfaceObject]
-interface Temperature : <ref>VehiclePropertyType</ref> {
-
- attribute short interior;
+interface TripMeters : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>Trip</ref>[] meters;
+};
- attribute short exterior;
+enum TransmissionMode {
+ "park",
+ "reverse",
+ "neutral",
+ "low",
+ "drive",
+ "overdrive"
};
[NoInterfaceObject]
-interface RainSensor : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short rainSensor;
+interface Transmission : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet? gear;
+ readonly attribute <ref>TransmissionMode</ref>? mode;
};
[NoInterfaceObject]
-interface WindshieldWiper : <ref>VehiclePropertyType</ref> {
- const unsigned short WIPERSPEED_OFF = 0;
- const unsigned short WIPERSPEED_SLOWEST= 1;
- const unsigned short WIPERSPEED_FASTEST = 5;
- const unsigned short WIPERSPEED_AUTO = 10;
-
- attribute unsigned short windshieldWiper;
+interface CruiseControlStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean status;
+ readonly attribute unsigned short speed;
};
-dictionary DefrostDictionary {
- unsigned short window;
- boolean defrost;
+[NoInterfaceObject]
+interface LightStatus : <ref>VehicleCommonDataType</ref> {
+ attribute boolean head;
+ attribute boolean rightTurn;
+ attribute boolean leftTurn;
+ attribute boolean brake;
+ attribute boolean? fog;
+ attribute boolean hazard;
+ attribute boolean parking;
+ attribute boolean highBeam;
+ attribute boolean? automaticHeadlights;
+ attribute boolean? dynamicHighBeam;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface HVAC : <ref>VehiclePropertyType</ref> {
- const unsigned short AIRFLOWDIRECTION_FRONTPANEL = 0;
- const unsigned short AIRFLOWDIRECTION_FLOORDUCT= 1;
- const unsigned short AIRFLOWDIRECTION_FRONT = 0x02;
- const unsigned short AIRFLOWDIRECTION_DEFROSTER = 0x04;
-
- attribute unsigned short airflowDirection;
+interface InteriorLightStatus : <ref>VehicleCommonDataType</ref> {
+ attribute boolean status;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute unsigned short fanSpeed;
+[NoInterfaceObject]
+interface Horn : <ref>VehicleCommonDataType</ref> {
+ attribute boolean status;
+};
- attribute unsigned short targetTemperature;
+[NoInterfaceObject]
+interface Chime : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean status;
+};
- attribute boolean airConditioning;
+[NoInterfaceObject]
+interface Fuel : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? level;
+ readonly attribute unsigned long? range;
+ readonly attribute unsigned long? instantConsumption;
+ attribute unsigned long? averageConsumption;
+ readonly attribute unsigned long? fuelConsumedSinceRestart;
+ readonly attribute unsigned long? timeSinceRestart;
+};
- attribute boolean airRecirculation;
+[NoInterfaceObject]
+interface EngineOil : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short level;
+ readonly attribute unsigned short lifeRemaining;
+ readonly attribute long temperature;
+ readonly attribute unsigned short pressure;
+ readonly attribute boolean change;
+};
- attribute boolean heater;
+[NoInterfaceObject]
+interface Acceleration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute long x;
+ readonly attribute long y;
+ readonly attribute long z;
+};
- attribute <ref>DefrostDictionary</ref> defrost;
+[NoInterfaceObject]
+interface EngineCoolant : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet level;
+ readonly attribute short temperature;
+};
- attribute boolean steeringWheelHeater;
+[NoInterfaceObject]
+interface SteeringWheel : <ref>VehicleCommonDataType</ref> {
+ readonly attribute short angle;
+};
- attribute boolean seatHeater;
+[NoInterfaceObject]
+interface WheelTick : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long value;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute boolean seatCooler;
+[NoInterfaceObject]
+interface IgnitionTime : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>DOMTimeStamp</ref> ignitionOnTime;
+ readonly attribute <ref>DOMTimeStamp</ref> ignitionOffTime;
};
[NoInterfaceObject]
-interface WindowStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short WINDOWLOCATION_DRIVER= 0;
- const unsigned short WINDOWLOCATION_PASSENGER = 1;
- const unsigned short WINDOWLOCATION_LEFTREAR = 2;
- const unsigned short WINDOWLOCATION_RIGHTREAR = 3;
- const unsigned short WINDOWLOCATION_REAR = 4;
-
- attribute object WindowStatus;
+interface YawRate : <ref>VehicleCommonDataType</ref> {
+ readonly attribute short value;
};
[NoInterfaceObject]
-interface Sunroof : <ref>VehiclePropertyType</ref> {
+interface BrakeOperation : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean brakePedalDepressed;
+};
- attribute unsigned short openness;
+enum Button {
+ "home",
+ "back",
+ "search",
+ "call",
+ "end_call",
+ "media_play",
+ "media_next",
+ "media_previous",
+ "media_pause",
+ "voice_recognize",
+ "enter",
+ "left",
+ "right",
+ "up",
+ "down"
+};
- attribute unsigned short tilt;
+enum ButtonEventType {
+ "press",
+ "long_press",
+ "release"
};
[NoInterfaceObject]
-interface ConvertibleRoof : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short openness;
+interface VehicleButton {
+ readonly attribute <ref>Button</ref> button;
+ readonly attribute <ref>ButtonEventType</ref> state;
};
[NoInterfaceObject]
-interface VehicleId : <ref>VehiclePropertyType</ref> {
+interface ButtonEvent : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>VehicleButton</ref>[] button;
+};
- attribute DOMString WMI;
+[NoInterfaceObject]
+interface DrivingMode : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean mode;
+};
- attribute DOMString VIN;
+[NoInterfaceObject]
+interface DrivingMode : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean mode;
};
[NoInterfaceObject]
-interface Size : <ref>VehiclePropertyType</ref> {
+interface NightMode : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean mode;
+};
- attribute unsigned long width;
+[NoInterfaceObject]
+interface Odometer : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long? distanceSinceStart;
+ readonly attribute unsigned long distanceTotal;
+};
- attribute unsigned long height;
+[NoInterfaceObject]
+interface TransmissionOil : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet? wear;
+ readonly attribute short? temperature;
+};
- attribute unsigned long length;
+[NoInterfaceObject]
+interface TransmissionClutch : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet wear;
};
[NoInterfaceObject]
-interface FuelInfo : <ref>VehiclePropertyType</ref> {
- const unsigned short FUELTYPE_GASOLINE = 0;
- const unsigned short FUELTYPE_HIGH_OCTANE= 1;
- const unsigned short FUELTYPE_DIESEL = 2;
- const unsigned short FUELTYPE_ELECTRIC = 3;
- const unsigned short FUELTYPE_HYDROGEN = 4;
- const unsigned short REFUELPOSITION_LEFT = 0;
- const unsigned short REFUELPOSITION_RIGHT= 1;
- const unsigned short REFUELPOSITION_FRONT = 2;
- const unsigned short REFUELPOSITION_REAR = 3;
-
- attribute unsigned short type;
-
- attribute unsigned short refuelPosition;
+interface BrakeMaintenance : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet? fluidLevel;
+ readonly attribute boolean? fluidLevelLow;
+ readonly attribute octet? padWear;
+ readonly attribute boolean? brakesWorn;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface VehicleType : <ref>VehiclePropertyType</ref> {
- const unsigned short VEHICLETYPE_SEDAN = 0;
- const unsigned short VEHICLETYPE_COUPE= 1;
- const unsigned short VEHICLETYPE_CABRIOLE = 2;
- const unsigned short VEHICLETYPE_ROADSTER = 3;
- const unsigned short VEHICLETYPE_SUV = 4;
- const unsigned short VEHICLETYPE_TRUCK = 5;
-
- attribute unsigned short type;
+interface WasherFluid : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? level;
+ readonly attribute boolean? levelLow;
};
[NoInterfaceObject]
-interface Doors : <ref>VehiclePropertyType</ref> {
+interface MalfunctionIndicator : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean on;
+};
- attribute sequence<unsigned short> doorsPerRow;
+[NoInterfaceObject]
+interface BatteryStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? chargeLevel;
+ readonly attribute unsigned short? voltage;
+ readonly attribute unsigned short? current;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface TransmissionGearType : <ref>VehiclePropertyType</ref> {
- const unsigned short TRANSMISSIONGEARTYPE_AUTO=0;
- const unsigned short TRANSMISSIONGEARTYPE_MANUAL=1;
- const unsigned short TRANSMISSIONGEARTYPE_CV=2;
+interface Tire : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean? pressureLow;
+ readonly attribute unsigned short? pressure;
+ readonly attribute short? temperature;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute unsigned short transmissionGearType;
+[NoInterfaceObject]
+interface Diagnostic : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long accumulatedEngineRuntime;
+ readonly attribute unsigned long distanceWithMILOn;
+ readonly attribute unsigned long distanceSinceCodeCleared;
+ readonly attribute unsigned long timeRunMILOn;
+ readonly attribute unsigned long timeTroubleCodeClear;
};
[NoInterfaceObject]
-interface WheelInformation : <ref>VehiclePropertyType</ref> {
+interface LanguageConfiguration : <ref>VehicleCommonDataType</ref> {
+ attribute DOMString? language;
+};
- attribute unsigned short frontWheelRadius;
+[NoInterfaceObject]
+interface UnitsOfMeasure : <ref>VehicleCommonDataType</ref> {
+ attribute boolean? isMKSSystem;
+ attribute DOMString? unitsFuelVolume;
+ attribute DOMString? unitsDistance;
+ attribute DOMString? unitsSpeed;
+ attribute DOMString? unitsFuelConsumption;
+};
- attribute unsigned short rearWheelRadius;
+[NoInterfaceObject]
+interface Mirror : <ref>VehicleCommonDataType</ref> {
+ attribute unsigned short? mirrorTilt;
+ attribute unsigned short? mirrorPan;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute unsigned long wheelTrack;
+[NoInterfaceObject]
+interface SeatAdjustment : <ref>VehicleCommonDataType</ref> {
+ attribute unsigned short? reclineSeatBack;
+ attribute unsigned short? seatSlide;
+ attribute unsigned short? seatCushionHeight;
+ attribute unsigned short? seatHeadrest;
+ attribute unsigned short? seatBackCushion;
+ attribute unsigned short? seatSideCushion;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute boolean ABS;
+enum DriveModeEnum {
+ "comfort",
+ "auto",
+ "sport",
+ "eco",
+ "manual",
+ "winter"
};
[NoInterfaceObject]
-interface Odometer : <ref>VehiclePropertyType</ref> {
+interface DriveMode : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>DriveModeEnum</ref>? driveMode;
+};
- attribute unsigned long odometer;
+[NoInterfaceObject]
+interface DashboardIllumination : <ref>VehicleCommonDataType</ref> {
+ attribute DOMString? dashboardIllumination;
};
[NoInterfaceObject]
-interface Fluid : <ref>VehiclePropertyType</ref> {
+interface VehicleSound : <ref>VehicleCommonDataType</ref> {
+ attribute boolean activeNoiseControlMode;
+ attribute DOMString? engineSoundEnhancementMode;
+};
- attribute unsigned short transmission;
+[NoInterfaceObject]
+interface AntilockBrakingSystem : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean enabled;
+ readonly attribute boolean engaged;
+};
- attribute unsigned short brake;
+[NoInterfaceObject]
+interface TractionControlSystem : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean enabled;
+ readonly attribute boolean engaged;
+};
- attribute unsigned short washer;
+[NoInterfaceObject]
+interface ElectronicStabilityControl : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean enabled;
+ readonly attribute boolean engaged;
};
[NoInterfaceObject]
-interface Battery : <ref>VehiclePropertyType</ref> {
+interface TopSpeedLimit : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short speed;
+};
- attribute double voltage;
+[NoInterfaceObject]
+interface AirbagStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean activated;
+ readonly attribute boolean deployed;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute double current;
+enum DoorOpenStatus {
+ "open",
+ "ajar",
+ "closed"
};
[NoInterfaceObject]
-interface TirePressure : <ref>VehiclePropertyType</ref> {
-
- attribute double leftFront;
+interface Door : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>DoorOpenStatus</ref> status;
+ attribute boolean lock;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute double rightFront;
+[NoInterfaceObject]
+interface ChildSafetyLock : <ref>VehicleCommonDataType</ref> {
+ attribute boolean lock;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute double leftRear;
+enum OccupantStatus {
+ "adult",
+ "child",
+ "vacant"
+};
- attribute double rightRear;
+enum IdentificationType {
+ "pin",
+ "keyfob",
+ "Bluetooth",
+ "NFC",
+ "fingerprint",
+ "camera",
+ "voice"
};
[NoInterfaceObject]
-interface TireTemperature : <ref>VehiclePropertyType</ref> {
-
- attribute double leftFront;
-
- attribute double rightFront;
+interface Seat : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>OccupantStatus</ref> occupant;
+ readonly attribute boolean seatbelt;
+ readonly attribute DOMString? occupantName;
+ readonly attribute <ref>IdentificationType</ref> identificationType;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute double leftRear;
+[NoInterfaceObject]
+interface Temperature : <ref>VehicleCommonDataType</ref> {
+ readonly attribute float interiorTemperature;
+ readonly attribute float exteriorTemperature;
+};
- attribute double rightRear;
+[NoInterfaceObject]
+interface RainSensor : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short rain;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface SecurityAlert : <ref>VehiclePropertyType</ref> {
+interface WiperStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short wiperSpeed;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute boolean securityAlert;
+enum WiperControl {
+ "off",
+ "once",
+ "slowest",
+ "slow",
+ "middle",
+ "fast",
+ "fastest",
+ "auto"
};
[NoInterfaceObject]
-interface ParkingBrake : <ref>VehiclePropertyType</ref> {
+interface WiperSetting : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>WiperControl</ref> wiperControl;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute boolean parkingBrake;
+[NoInterfaceObject]
+interface Defrost : <ref>VehicleCommonDataType</ref> {
+ attribute boolean? defrostWindow;
+ attribute boolean? defrostMirrors;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface ParkingLight : <ref>VehiclePropertyType</ref> {
+interface Sunroof : <ref>VehicleCommonDataType</ref> {
+ attribute unsigned short openness;
+ attribute unsigned short tilt;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute boolean parkingLight;
+enum ConvertibleRoofStatus {
+ "closed",
+ "closing",
+ "opening",
+ "opened"
};
[NoInterfaceObject]
-interface HazardLight : <ref>VehiclePropertyType</ref> {
-
- attribute boolean hazardLight;
+interface ConvertibleRoof : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>ConvertibleRoofStatus</ref> status;
};
[NoInterfaceObject]
-interface AntilockBrakingSystem : <ref>VehiclePropertyType</ref> {
+interface SideWindow : <ref>VehicleCommonDataType</ref> {
+ attribute boolean? lock;
+ attribute unsigned short? openness;
+ readonly attribute <ref>Zone</ref>? zone;
+};
- attribute boolean antilockBrakingSystem;
+enum AirflowDirection {
+ "frontpanel",
+ "floorduct",
+ "bilevel",
+ "defrostfloor"
};
[NoInterfaceObject]
-interface TractionControlSystem : <ref>VehiclePropertyType</ref> {
-
- attribute boolean tractionControlSystem;
+interface ClimateControl : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>AirflowDirection</ref> airflowDirection;
+ attribute unsigned short fanSpeedLevel;
+ attribute short? targetTemperature;
+ attribute boolean airConditioning;
+ attribute boolean heater;
+ attribute unsigned short? seatHeater;
+ attribute unsigned short? seatCooler;
+ attribute boolean airRecirculation;
+ attribute unsigned short? steeringWheelHeater;
+ readonly attribute <ref>Zone</ref>? zone;
};
[NoInterfaceObject]
-interface VehicleTopSpeedLimit : <ref>VehiclePropertyType</ref> {
+interface AtmosphericPressure : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short pressure;
+};
- attribute unsigned short vehicleTopSpeedLimit;
+enum LaneDepartureStatus {
+ "off",
+ "pause",
+ "running"
};
[NoInterfaceObject]
-interface AirbagStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short AIRBAGLOCATION_DRIVER = 0;
- const unsigned short AIRBAGLOCATION_PASSENGER= 1;
- const unsigned short AIRBAGLOCATION_LEFTSIDE = 2;
- const unsigned short AIRBAGLOCATION_RIGHTSIDE = 3;
- const unsigned short AIRBAGSTATUS_INACTIVE = 0;
- const unsigned short AIRBAGSTATUS_ACTIVE = 1;
- const unsigned short AIRBAGSTATUS_DEPLOYED = 2;
-
- attribute object airbagStatus;
+interface LaneDepartureDetection : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>LaneDepartureStatus</ref> status;
};
-[NoInterfaceObject]
-interface DoorStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short DOORLOCATION_DRIVER= 0;
- const unsigned short DOORLOCATION_PASSENGER = 1;
- const unsigned short DOORLOCATION_LEFTREAR = 2;
- const unsigned short DOORLOCATION_RIGHTREAR = 3;
- const unsigned short DOORLOCATION_TRUNK = 4;
- const unsigned short DOORLOCATION_FUELCAP = 5;
- const unsigned short DOORLOCATION_HOOD = 6;
- const unsigned short DOORSTATUS_CLOSED = 0;
- const unsigned short DOORSTATUS_OPEN = 1;
- const unsigned short DOORSTATUS_AJAR = 2;
-
- attribute object doorStatus;
-
- attribute object doorLockStatus;
-
- attribute boolean childLockStatus;
+enum AlarmStatus {
+ "disarmed",
+ "preArmed",
+ "armed",
+ "alarmed"
};
[NoInterfaceObject]
-interface SeatBeltStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short SEATBELTLOCATION_DRIVER= 0;
- const unsigned short SEATBELTLOCATION_MIDDLEFRONT = 1;
- const unsigned short SEATBELTLOCATION_PASSENGER = 2;
- const unsigned short SEATBELTLOCATION_LEFTREAR = 3;
- const unsigned short SEATBELTLOCATION_MIDDLEREAR = 4;
- const unsigned short SEATBELTLOCATION_RIGHTREAR = 5;
-
- attribute object seatBeltStatus;
+interface Alarm : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>AlarmStatus</ref> status;
};
-[NoInterfaceObject]
-interface OccupantStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short OCCUPANTLOCATION_DRIVER = 0;
- const unsigned short OCCUPANTLOCATION_FRONTMIDDLE = 1;
- const unsigned short OCCUPANTLOCATION_PASSENGER= 2;
- const unsigned short OCCUPANTLOCATION_LEFTREAR = 3;
- const unsigned short OCCUPANTLOCATION_MIDDLEREAR = 4;
- const unsigned short OCCUPANTLOCATION_RIGHTREAR = 5;
- const unsigned short OCCUPANTSTATUS_VACANT = 0;
- const unsigned short OCCUPANTSTATUS_CHILD = 1;
- const unsigned short OCCUPANTSTATUS_ADULT = 2;
-
- attribute object occupantStatus;
+enum ParkingBrakeStatus {
+ "inactive",
+ "active",
+ "error"
};
[NoInterfaceObject]
-interface ObstacleDistance : <ref>VehiclePropertyType</ref> {
- const unsigned short DISTANCESENSORLOCATION_LEFTFRONT = 0;
- const unsigned short DISTANCESENSORLOCATION_RIGHTFRONT = 1;
- const unsigned short DISTANCESENSORLOCATION_LEFTREAR = 2;
- const unsigned short DISTANCESENSORLOCATION_RIGHTREAR = 3;
- const unsigned short DISTANCESENSORLOCATION_LEFTBLINDSPOT = 4;
- const unsigned short DISTANCESENSORLOCATION_RIGHTBLINDSPOT = 5;
-
- attribute object obstacleDistance;
+interface ParkingBrake : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>ParkingBrakeStatus</ref> status;
};
+
+[NoInterfaceObject]
+interface ParkingLights : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean status;
+ attribute boolean setting;
};</webidl>
- <Interface name="Navigator" partial="partial" id="::Navigator">
- <webidl>partial interface Navigator {
- attribute <ref>Vehicle</ref> vehicle;
+ <Interface name="VehicleManagerObject" id="::VehicleManagerObject">
+ <webidl>[NoInterfaceObject] interface VehicleManagerObject {
+ readonly attribute <ref>Vehicle</ref> vehicle;
};</webidl>
- <descriptive>
- <description>
- <p>
-Details.
- </p>
- </description>
- <def-api-feature identifier="http://tizen.org/api/vehicle">
- <descriptive>
- <description>
- <p>
-
- </p>
- </description>
- <brief>
- Allows access to the vehicle API
- </brief>
- </descriptive>
- </def-api-feature>
- </descriptive>
- <Attribute name="vehicle" id="::Navigator::vehicle">
- <webidl> attribute <ref>Vehicle</ref> vehicle;</webidl>
+ <Attribute readonly="readonly" name="vehicle" id="::VehicleManagerObject::vehicle">
+ <webidl> readonly attribute <ref>Vehicle</ref> vehicle;</webidl>
<Type name="Vehicle"/>
</Attribute>
</Interface>
- <Interface name="VehiclePropertyType" id="::VehiclePropertyType">
+ <Implements name1="Navigator" name2="VehicleManagerObject">
+ <webidl><ref>Navigator</ref> implements <ref>VehicleManagerObject</ref>;</webidl>
+ </Implements>
+ <Interface name="Vehicle" id="::Vehicle">
<webidl>[NoInterfaceObject]
-interface VehiclePropertyType: <ref>Event</ref> {
- attribute <ref>DOMTimeStamp</ref> time;
- attribute short zone;
- attribute DOMString source;
+interface Vehicle {
+ readonly attribute <ref>VehicleConfigurationInterface</ref> identification;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> sizeConfiguration;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> fuelConfiguration;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> transmissionConfiguration;
+ readonly attribute <ref>VehicleConfigurationInterface</ref> wheelConfiguration;
+ readonly attribute <ref>VehicleSignalInterface</ref> steeringWheelConfiguration;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> vehicleSpeed;
+ readonly attribute <ref>VehicleSignalInterface</ref> wheelSpeed;
+ readonly attribute <ref>VehicleSignalInterface</ref> engineSpeed;
+ readonly attribute <ref>VehicleSignalInterface</ref> powerTrainTorque;
+ readonly attribute <ref>VehicleSignalInterface</ref> acceleratorPedalPosition;
+ readonly attribute <ref>VehicleSignalInterface</ref> throttlePosition;
+ readonly attribute <ref>VehicleSignalInterface</ref> tripMeters;
+ readonly attribute <ref>VehicleSignalInterface</ref> transmission;
+ readonly attribute <ref>VehicleSignalInterface</ref> cruiseControlStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> lightStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> interiorLightStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> horn;
+ readonly attribute <ref>VehicleSignalInterface</ref> chime;
+ readonly attribute <ref>VehicleSignalInterface</ref> fuel;
+ readonly attribute <ref>VehicleSignalInterface</ref> engineOil;
+ readonly attribute <ref>VehicleSignalInterface</ref> acceleration;
+ readonly attribute <ref>VehicleSignalInterface</ref> engineCoolant;
+ readonly attribute <ref>VehicleSignalInterface</ref> steeringWheel;
+ readonly attribute <ref>VehicleSignalInterface</ref> ignitionTime;
+ readonly attribute <ref>VehicleSignalInterface</ref> yawRate;
+ readonly attribute <ref>VehicleSignalInterface</ref> brakeOperation;
+ readonly attribute <ref>VehicleSignalInterface</ref> wheelTick;
+ readonly attribute <ref>VehicleSignalInterface</ref> buttonEvent;
+ readonly attribute <ref>VehicleSignalInterface</ref> drivingMode;
+ readonly attribute <ref>VehicleSignalInterface</ref> nightMode;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> odometer;
+ readonly attribute <ref>VehicleSignalInterface</ref> transmissionOil;
+ readonly attribute <ref>VehicleSignalInterface</ref> transmissionClutch;
+ readonly attribute <ref>VehicleSignalInterface</ref> brakeMaintenance;
+ readonly attribute <ref>VehicleSignalInterface</ref> washerFluid;
+ readonly attribute <ref>VehicleSignalInterface</ref> malfunctionIndicator;
+ readonly attribute <ref>VehicleSignalInterface</ref> batteryStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> tire;
+ readonly attribute <ref>VehicleSignalInterface</ref> diagnostic;
+
+ readonly attribute <ref>VehicleSignalInterface</ref>? languageConfiguration;
+ readonly attribute <ref>VehicleSignalInterface</ref> unitsOfMeasure;
+ readonly attribute <ref>VehicleSignalInterface</ref> mirror;
+ readonly attribute <ref>VehicleSignalInterface</ref> driveMode;
+ readonly attribute <ref>VehicleSignalInterface</ref> seatAdjustment;
+ readonly attribute <ref>VehicleSignalInterface</ref> dashboardIllumination;
+ readonly attribute <ref>VehicleSignalInterface</ref> vehicleSound;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> antilockBrakingSystem;
+ readonly attribute <ref>VehicleSignalInterface</ref> tractionControlSystem;
+ readonly attribute <ref>VehicleSignalInterface</ref> electronicStabilityControl;
+ readonly attribute <ref>VehicleSignalInterface</ref> topSpeedLimit;
+ readonly attribute <ref>VehicleSignalInterface</ref> airbagStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> door;
+ readonly attribute <ref>VehicleSignalInterface</ref> childSafetyLock;
+ readonly attribute <ref>VehicleSignalInterface</ref> seat;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> temperature;
+ readonly attribute <ref>VehicleSignalInterface</ref> rainSensor;
+ readonly attribute <ref>VehicleSignalInterface</ref> wiperStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> wiperSetting;
+ readonly attribute <ref>VehicleSignalInterface</ref> defrost;
+ readonly attribute <ref>VehicleSignalInterface</ref> sunroof;
+ readonly attribute <ref>VehicleSignalInterface</ref> convertibleRoof;
+ readonly attribute <ref>VehicleSignalInterface</ref> sideWindow;
+ readonly attribute <ref>VehicleSignalInterface</ref> climateControl;
+ readonly attribute <ref>VehicleSignalInterface</ref> atmosphericPressure;
+
+ readonly attribute <ref>VehicleSignalInterface</ref> laneDepartureStatus;
+ readonly attribute <ref>VehicleSignalInterface</ref> alarm;
+ readonly attribute <ref>VehicleSignalInterface</ref> parkingBrake;
+ readonly attribute <ref>VehicleSignalInterface</ref> parkingLights;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
<webidl>NoInterfaceObject</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
- <InterfaceInheritance>
- <Name name="Event"/>
- </InterfaceInheritance>
- <Attribute name="time" id="::VehiclePropertyType::time">
- <webidl> attribute <ref>DOMTimeStamp</ref> time;</webidl>
- <descriptive>
- <description>
- <p>
-Time
- </p>
- </description>
- <brief>
- time at which the vehicle generated the property
- </brief>
- </descriptive>
- <Type name="DOMTimeStamp"/>
+ <Attribute readonly="readonly" name="identification" id="::Vehicle::identification">
+ <webidl> readonly attribute <ref>VehicleConfigurationInterface</ref> identification;</webidl>
+ <Type name="VehicleConfigurationInterface"/>
</Attribute>
- <Attribute name="zone" id="::VehiclePropertyType::zone">
- <webidl> attribute short zone;</webidl>
- <Type type="short"/>
+ <Attribute readonly="readonly" name="sizeConfiguration" id="::Vehicle::sizeConfiguration">
+ <webidl> readonly attribute <ref>VehicleConfigurationInterface</ref> sizeConfiguration;</webidl>
+ <Type name="VehicleConfigurationInterface"/>
</Attribute>
- <Attribute name="source" id="::VehiclePropertyType::source">
- <webidl> attribute DOMString source;</webidl>
- <Type type="DOMString"/>
+ <Attribute readonly="readonly" name="fuelConfiguration" id="::Vehicle::fuelConfiguration">
+ <webidl> readonly attribute <ref>VehicleConfigurationInterface</ref> fuelConfiguration;</webidl>
+ <Type name="VehicleConfigurationInterface"/>
</Attribute>
- </Interface>
- <Interface name="VehiclePropertyError" id="::VehiclePropertyError">
- <webidl>[NoInterfaceObject]
-interface VehiclePropertyError {
- const unsigned short PERMISSION_DENIED = 1;
- const unsigned short PROPERTY_UNAVAILABLE = 2;
- const unsigned short TIMEOUT = 3;
- const unsigned short UNKNOWN = 10;
-
- attribute unsigned short code;
-
- attribute DOMString message;
-};</webidl>
- <ExtendedAttributeList>
- <ExtendedAttribute name="NoInterfaceObject">
- <webidl>NoInterfaceObject</webidl>
- </ExtendedAttribute>
- </ExtendedAttributeList>
- <Const name="PERMISSION_DENIED" value="1" id="::VehiclePropertyError::PERMISSION_DENIED">
- <webidl> const unsigned short PERMISSION_DENIED = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="PROPERTY_UNAVAILABLE" value="2" id="::VehiclePropertyError::PROPERTY_UNAVAILABLE">
- <webidl> const unsigned short PROPERTY_UNAVAILABLE = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TIMEOUT" value="3" id="::VehiclePropertyError::TIMEOUT">
- <webidl> const unsigned short TIMEOUT = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="UNKNOWN" value="10" id="::VehiclePropertyError::UNKNOWN">
- <webidl> const unsigned short UNKNOWN = 10;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="code" id="::VehiclePropertyError::code">
- <webidl> attribute unsigned short code;</webidl>
- <descriptive>
- <description>
- <p>
-code
-MUST return error code.
- </p>
- </description>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="transmissionConfiguration" id="::Vehicle::transmissionConfiguration">
+ <webidl> readonly attribute <ref>VehicleConfigurationInterface</ref> transmissionConfiguration;</webidl>
+ <Type name="VehicleConfigurationInterface"/>
</Attribute>
- <Attribute name="message" id="::VehiclePropertyError::message">
- <webidl> attribute DOMString message;</webidl>
- <descriptive>
- <description>
- <p>
-message
-MUST return error message
- </p>
- </description>
- </descriptive>
- <Type type="DOMString"/>
+ <Attribute readonly="readonly" name="wheelConfiguration" id="::Vehicle::wheelConfiguration">
+ <webidl> readonly attribute <ref>VehicleConfigurationInterface</ref> wheelConfiguration;</webidl>
+ <Type name="VehicleConfigurationInterface"/>
</Attribute>
- </Interface>
- <Callback name="VehiclePropertyCallback" id="::VehiclePropertyCallback">
- <webidl>callback VehiclePropertyCallback = void (<ref>VehiclePropertyType</ref> value);</webidl>
- <Type type="void"/>
- <ArgumentList>
- <Argument name="value">
- <Type name="VehiclePropertyType"/>
- </Argument>
- </ArgumentList>
- </Callback>
- <Callback name="VehiclePropertyErrorCallback" id="::VehiclePropertyErrorCallback">
- <webidl>callback VehiclePropertyErrorCallback = void (<ref>VehiclePropertyError</ref> error);</webidl>
- <Type type="void"/>
- <ArgumentList>
- <Argument name="error">
- <Type name="VehiclePropertyError"/>
- </Argument>
- </ArgumentList>
- </Callback>
- <Callback name="VehiclePropertyListCallback" id="::VehiclePropertyListCallback">
- <webidl>callback VehiclePropertyListCallback = void (sequence<<ref>VehiclePropertyType</ref>> values);</webidl>
- <Type type="void"/>
- <ArgumentList>
- <Argument name="values">
- <Type type="sequence">
- <Type name="VehiclePropertyType"/>
- </Type>
- </Argument>
- </ArgumentList>
- </Callback>
- <Callback name="SupportedPropertiesCallback" id="::SupportedPropertiesCallback">
- <webidl>callback SupportedPropertiesCallback = void (sequence<DOMString> properties);</webidl>
- <Type type="void"/>
- <ArgumentList>
- <Argument name="properties">
- <Type type="sequence">
- <Type type="DOMString"/>
- </Type>
- </Argument>
- </ArgumentList>
- </Callback>
- <Interface name="Vehicle" id="::Vehicle">
- <webidl>[NoInterfaceObject]
-interface Vehicle {
-
- const unsigned short ZONE_None = 0;
- const unsigned short ZONE_Front = 1;
- const unsigned short ZONE_Middle = 0x10;
- const unsigned short ZONE_Right = 0x100;
- const unsigned short ZONE_Left = 0x1000;
- const unsigned short ZONE_Rear = 0x10000;
- const unsigned short ZONE_Center = 0x10000;
-
- sequence<DOMString> supported();
-
- any get(DOMString objectType, optional short zone);
-
-
- <ref>subscribe</ref>(DOMString objectType, <ref>VehiclePropertyCallback</ref> successCallback, optional unsigned short zone, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);
-
- <ref>set</ref>(DOMString objectType, <ref>VehiclePropertyType</ref> value, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);
-
- <ref>getHistory</ref>(DOMString objectType, unsigned short zone, Date startTime, Date endTime, <ref>VehiclePropertyListCallback</ref> successCallback, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);
-};</webidl>
- <ExtendedAttributeList>
- <ExtendedAttribute name="NoInterfaceObject">
- <webidl>NoInterfaceObject</webidl>
- </ExtendedAttribute>
- </ExtendedAttributeList>
- <Const name="ZONE_None" value="0" id="::Vehicle::ZONE_None">
- <webidl> const unsigned short ZONE_None = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="ZONE_Front" value="1" id="::Vehicle::ZONE_Front">
- <webidl> const unsigned short ZONE_Front = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="ZONE_Middle" value="0x10" id="::Vehicle::ZONE_Middle">
- <webidl> const unsigned short ZONE_Middle = 0x10;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="ZONE_Right" value="0x100" id="::Vehicle::ZONE_Right">
- <webidl> const unsigned short ZONE_Right = 0x100;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="ZONE_Left" value="0x1000" id="::Vehicle::ZONE_Left">
- <webidl> const unsigned short ZONE_Left = 0x1000;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="ZONE_Rear" value="0x10000" id="::Vehicle::ZONE_Rear">
- <webidl> const unsigned short ZONE_Rear = 0x10000;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="ZONE_Center" value="0x10000" id="::Vehicle::ZONE_Center">
- <webidl> const unsigned short ZONE_Center = 0x10000;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Operation name="supported" id="::Vehicle::supported">
- <webidl> sequence<DOMString> supported();</webidl>
- <descriptive>
- <brief>
- returns supported object types
- </brief>
- </descriptive>
- <Type type="sequence">
- <Type type="DOMString"/>
- </Type>
- <ArgumentList/>
- </Operation>
- <Operation name="get" id="::Vehicle::get">
- <webidl> any get(DOMString objectType, optional short zone);</webidl>
- <descriptive>
- <brief>
- fetch the current value for 'objectType'.
- </brief>
- </descriptive>
- <Type type="any">
- <descriptive>
- <description><p>
- object representing the requested 'objectType'
- </p></description>
- </descriptive>
- </Type>
- <ArgumentList>
- <Argument name="objectType">
- <descriptive>
- <description><p>
- is the requested property to be retrieved.
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument optional="optional" name="zone">
- <descriptive>
- <description><p>
- specify the zone in which this object type is in
- </p></description>
- </descriptive>
- <Type type="short"/>
+ <Attribute readonly="readonly" name="steeringWheelConfiguration" id="::Vehicle::steeringWheelConfiguration">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> steeringWheelConfiguration;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="vehicleSpeed" id="::Vehicle::vehicleSpeed">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> vehicleSpeed;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="wheelSpeed" id="::Vehicle::wheelSpeed">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> wheelSpeed;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="engineSpeed" id="::Vehicle::engineSpeed">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> engineSpeed;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="powerTrainTorque" id="::Vehicle::powerTrainTorque">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> powerTrainTorque;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="acceleratorPedalPosition" id="::Vehicle::acceleratorPedalPosition">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> acceleratorPedalPosition;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="throttlePosition" id="::Vehicle::throttlePosition">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> throttlePosition;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="tripMeters" id="::Vehicle::tripMeters">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> tripMeters;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="transmission" id="::Vehicle::transmission">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> transmission;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="cruiseControlStatus" id="::Vehicle::cruiseControlStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> cruiseControlStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="lightStatus" id="::Vehicle::lightStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> lightStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="interiorLightStatus" id="::Vehicle::interiorLightStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> interiorLightStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="horn" id="::Vehicle::horn">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> horn;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="chime" id="::Vehicle::chime">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> chime;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="fuel" id="::Vehicle::fuel">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> fuel;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="engineOil" id="::Vehicle::engineOil">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> engineOil;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="acceleration" id="::Vehicle::acceleration">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> acceleration;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="engineCoolant" id="::Vehicle::engineCoolant">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> engineCoolant;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="steeringWheel" id="::Vehicle::steeringWheel">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> steeringWheel;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="ignitionTime" id="::Vehicle::ignitionTime">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> ignitionTime;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="yawRate" id="::Vehicle::yawRate">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> yawRate;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="brakeOperation" id="::Vehicle::brakeOperation">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> brakeOperation;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="wheelTick" id="::Vehicle::wheelTick">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> wheelTick;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="buttonEvent" id="::Vehicle::buttonEvent">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> buttonEvent;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="drivingMode" id="::Vehicle::drivingMode">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> drivingMode;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="nightMode" id="::Vehicle::nightMode">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> nightMode;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="odometer" id="::Vehicle::odometer">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> odometer;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="transmissionOil" id="::Vehicle::transmissionOil">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> transmissionOil;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="transmissionClutch" id="::Vehicle::transmissionClutch">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> transmissionClutch;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="brakeMaintenance" id="::Vehicle::brakeMaintenance">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> brakeMaintenance;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="washerFluid" id="::Vehicle::washerFluid">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> washerFluid;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="malfunctionIndicator" id="::Vehicle::malfunctionIndicator">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> malfunctionIndicator;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="batteryStatus" id="::Vehicle::batteryStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> batteryStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="tire" id="::Vehicle::tire">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> tire;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="diagnostic" id="::Vehicle::diagnostic">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> diagnostic;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="languageConfiguration" id="::Vehicle::languageConfiguration">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref>? languageConfiguration;</webidl>
+ <Type name="VehicleSignalInterface" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="unitsOfMeasure" id="::Vehicle::unitsOfMeasure">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> unitsOfMeasure;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="mirror" id="::Vehicle::mirror">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> mirror;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="driveMode" id="::Vehicle::driveMode">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> driveMode;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="seatAdjustment" id="::Vehicle::seatAdjustment">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> seatAdjustment;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="dashboardIllumination" id="::Vehicle::dashboardIllumination">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> dashboardIllumination;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="vehicleSound" id="::Vehicle::vehicleSound">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> vehicleSound;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="antilockBrakingSystem" id="::Vehicle::antilockBrakingSystem">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> antilockBrakingSystem;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="tractionControlSystem" id="::Vehicle::tractionControlSystem">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> tractionControlSystem;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="electronicStabilityControl" id="::Vehicle::electronicStabilityControl">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> electronicStabilityControl;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="topSpeedLimit" id="::Vehicle::topSpeedLimit">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> topSpeedLimit;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="airbagStatus" id="::Vehicle::airbagStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> airbagStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="door" id="::Vehicle::door">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> door;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="childSafetyLock" id="::Vehicle::childSafetyLock">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> childSafetyLock;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="seat" id="::Vehicle::seat">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> seat;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="temperature" id="::Vehicle::temperature">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> temperature;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="rainSensor" id="::Vehicle::rainSensor">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> rainSensor;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="wiperStatus" id="::Vehicle::wiperStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> wiperStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="wiperSetting" id="::Vehicle::wiperSetting">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> wiperSetting;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="defrost" id="::Vehicle::defrost">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> defrost;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="sunroof" id="::Vehicle::sunroof">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> sunroof;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="convertibleRoof" id="::Vehicle::convertibleRoof">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> convertibleRoof;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="sideWindow" id="::Vehicle::sideWindow">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> sideWindow;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="climateControl" id="::Vehicle::climateControl">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> climateControl;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="atmosphericPressure" id="::Vehicle::atmosphericPressure">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> atmosphericPressure;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="laneDepartureStatus" id="::Vehicle::laneDepartureStatus">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> laneDepartureStatus;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="alarm" id="::Vehicle::alarm">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> alarm;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="parkingBrake" id="::Vehicle::parkingBrake">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> parkingBrake;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="parkingLights" id="::Vehicle::parkingLights">
+ <webidl> readonly attribute <ref>VehicleSignalInterface</ref> parkingLights;</webidl>
+ <Type name="VehicleSignalInterface"/>
+ </Attribute>
+ </Interface>
+ <Enum name="ZonePosition" id="::ZonePosition">
+ <webidl>enum ZonePosition {
+ "front",
+ "middle",
+ "right",
+ "left",
+ "rear",
+ "center"
+};</webidl>
+ <EnumValue stringvalue="front">
+ <webidl> "front</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="middle">
+ <webidl> "middle</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="right">
+ <webidl> "right</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="left">
+ <webidl> "left</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="rear">
+ <webidl> "rear</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="center">
+ <webidl> "center</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="Zone" id="::Zone">
+ <webidl>interface Zone {
+ attribute DOMString[] value;
+ readonly attribute <ref>Zone</ref> driver;
+ boolean equals (<ref>Zone</ref> zone);
+ boolean contains (<ref>Zone</ref> zone);
+};</webidl>
+ <Attribute name="value" id="::Zone::value">
+ <webidl> attribute DOMString[] value;</webidl>
+ <Type type="array">
+ <Type type="DOMString"/>
+ </Type>
+ </Attribute>
+ <Attribute readonly="readonly" name="driver" id="::Zone::driver">
+ <webidl> readonly attribute <ref>Zone</ref> driver;</webidl>
+ <Type name="Zone"/>
+ </Attribute>
+ <Operation name="equals" id="::Zone::equals">
+ <webidl> boolean equals (<ref>Zone</ref> zone);</webidl>
+ <Type type="boolean"/>
+ <ArgumentList>
+ <Argument name="zone">
+ <Type name="Zone"/>
</Argument>
</ArgumentList>
</Operation>
- <Operation>
- <webidl> <ref>subscribe</ref>(DOMString objectType, <ref>VehiclePropertyCallback</ref> successCallback, optional unsigned short zone, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);</webidl>
- <descriptive>
- <brief>
- subscribe to the given property and get callbacks when it changes
- </brief>
- </descriptive>
- <Type name="subscribe"/>
+ <Operation name="contains" id="::Zone::contains">
+ <webidl> boolean contains (<ref>Zone</ref> zone);</webidl>
+ <Type type="boolean"/>
<ArgumentList>
- <Argument name="objectType">
- <descriptive>
- <description><p>
- property to set
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument name="successCallback">
- <descriptive>
- <description><p>
- callback will be called when the "objectType" changes
- </p></description>
- </descriptive>
- <Type name="VehiclePropertyCallback"/>
- </Argument>
- <Argument optional="optional" name="zone">
- <Type type="unsigned short"/>
- </Argument>
- <Argument optional="optional" name="errorCallback">
- <descriptive>
- <description><p>
- callback if error has been called.
- </p></description>
- </descriptive>
- <Type name="VehiclePropertyErrorCallback"/>
+ <Argument name="zone">
+ <Type name="Zone"/>
</Argument>
</ArgumentList>
</Operation>
- <Operation>
- <webidl> <ref>set</ref>(DOMString objectType, <ref>VehiclePropertyType</ref> value, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);</webidl>
- <descriptive>
- <brief>
- set the given objectType to value
- </brief>
- </descriptive>
- <Type name="set"/>
+ </Interface>
+ <Interface name="VehicleInterfaceCallback" id="::VehicleInterfaceCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject]
+interface VehicleInterfaceCallback {
+ void onsuccess(object value);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onsuccess" id="::VehicleInterfaceCallback::onsuccess">
+ <webidl> void onsuccess(object value);</webidl>
+ <Type type="void"/>
<ArgumentList>
- <Argument name="objectType">
- <descriptive>
- <description><p>
- object type to set
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
<Argument name="value">
- <descriptive>
- <description><p>
- value to set, should contain zone information ie "zone" : 0
- </p></description>
- </descriptive>
- <Type name="VehiclePropertyType"/>
+ <Type type="object"/>
</Argument>
- <Argument optional="optional" name="errorCallback">
- <descriptive>
- <description><p>
- callback if error has been called.
- </p></description>
- </descriptive>
- <Type name="VehiclePropertyErrorCallback"/>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="AvailableCallback" id="::AvailableCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject]
+interface AvailableCallback {
+ void onsuccess(<ref>Availability</ref> available);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onsuccess" id="::AvailableCallback::onsuccess">
+ <webidl> void onsuccess(<ref>Availability</ref> available);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="available">
+ <Type name="Availability"/>
</Argument>
</ArgumentList>
</Operation>
- <Operation>
- <webidl> <ref>getHistory</ref>(DOMString objectType, unsigned short zone, Date startTime, Date endTime, <ref>VehiclePropertyListCallback</ref> successCallback, optional <ref>VehiclePropertyErrorCallback</ref> errorCallback);</webidl>
- <descriptive>
- <brief>
- get values for a given objectType within a certain past time period between 'startTime' and 'endTime'
- </brief>
- </descriptive>
- <Type name="getHistory"/>
+ </Interface>
+ <Enum name="VehicleError" id="::VehicleError">
+ <webidl>enum VehicleError {
+ "permission_denied",
+ "invalid_operation",
+ "timeout",
+ "invalid_zone",
+ "unknown"
+};</webidl>
+ <EnumValue stringvalue="permission_denied">
+ <webidl> "permission_denied</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="invalid_operation">
+ <webidl> "invalid_operation</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="timeout">
+ <webidl> "timeout</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="invalid_zone">
+ <webidl> "invalid_zone</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="unknown">
+ <webidl> "unknown</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="VehicleInterfaceError" id="::VehicleInterfaceError">
+ <webidl>[NoInterfaceObject]
+interface VehicleInterfaceError {
+ readonly attribute <ref>VehicleError</ref> error;
+ readonly attribute DOMString message;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="error" id="::VehicleInterfaceError::error">
+ <webidl> readonly attribute <ref>VehicleError</ref> error;</webidl>
+ <Type name="VehicleError"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="message" id="::VehicleInterfaceError::message">
+ <webidl> readonly attribute DOMString message;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ </Interface>
+ <Interface name="VehicleInterface" id="::VehicleInterface">
+ <webidl>interface VehicleInterface {
+ <ref>Availability</ref> availableForRetrieval (DOMString attributeName);
+ <ref>Promise</ref> get (optional <ref>Zone</ref> zone);
+ <ref>Promise</ref> getHistory (Date begin, Date end, optional <ref>Zone</ref> zone);
+ short availabilityChangedListener (<ref>AvailableCallback</ref> callback);
+ void removeAvailabilityChangedListener (short handle);
+ readonly attribute <ref>Zone</ref>[] zones;
+ readonly attribute boolean supported;
+ readonly attribute boolean isLogged;
+ readonly attribute Date ? from;
+ readonly attribute Date ? to;
+};</webidl>
+ <Operation name="availableForRetrieval" id="::VehicleInterface::availableForRetrieval">
+ <webidl> <ref>Availability</ref> availableForRetrieval (DOMString attributeName);</webidl>
+ <Type name="Availability"/>
<ArgumentList>
- <Argument name="objectType">
- <descriptive>
- <description><p>
- object type to request
- </p></description>
- </descriptive>
+ <Argument name="attributeName">
<Type type="DOMString"/>
</Argument>
- <Argument name="zone">
- <descriptive>
- <description><p>
- in which the objectType is located or 0 if no zone.
- </p></description>
- </descriptive>
- <Type type="unsigned short"/>
+ </ArgumentList>
+ </Operation>
+ <Operation name="get" id="::VehicleInterface::get">
+ <webidl> <ref>Promise</ref> get (optional <ref>Zone</ref> zone);</webidl>
+ <Type name="Promise"/>
+ <ArgumentList>
+ <Argument optional="optional" name="zone">
+ <Type name="Zone"/>
</Argument>
- <Argument name="startTime">
- <descriptive>
- <description><p>
- starting period of time.
- </p></description>
- </descriptive>
+ </ArgumentList>
+ </Operation>
+ <Operation name="getHistory" id="::VehicleInterface::getHistory">
+ <webidl> <ref>Promise</ref> getHistory (Date begin, Date end, optional <ref>Zone</ref> zone);</webidl>
+ <Type name="Promise"/>
+ <ArgumentList>
+ <Argument name="begin">
<Type type="Date"/>
</Argument>
- <Argument name="endTime">
- <descriptive>
- <description><p>
- ending period of time.
- </p></description>
- </descriptive>
+ <Argument name="end">
<Type type="Date"/>
</Argument>
- <Argument name="successCallback">
- <descriptive>
- <description><p>
- Callback with the result of the method call
- </p></description>
- </descriptive>
- <Type name="VehiclePropertyListCallback"/>
+ <Argument optional="optional" name="zone">
+ <Type name="Zone"/>
</Argument>
- <Argument optional="optional" name="errorCallback">
- <descriptive>
- <description><p>
- Callback if an error has occurred.
- </p></description>
- </descriptive>
- <Type name="VehiclePropertyErrorCallback"/>
+ </ArgumentList>
+ </Operation>
+ <Operation name="availabilityChangedListener" id="::VehicleInterface::availabilityChangedListener">
+ <webidl> short availabilityChangedListener (<ref>AvailableCallback</ref> callback);</webidl>
+ <Type type="short"/>
+ <ArgumentList>
+ <Argument name="callback">
+ <Type name="AvailableCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="removeAvailabilityChangedListener" id="::VehicleInterface::removeAvailabilityChangedListener">
+ <webidl> void removeAvailabilityChangedListener (short handle);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="handle">
+ <Type type="short"/>
</Argument>
</ArgumentList>
</Operation>
+ <Attribute readonly="readonly" name="zones" id="::VehicleInterface::zones">
+ <webidl> readonly attribute <ref>Zone</ref>[] zones;</webidl>
+ <Type type="array">
+ <Type name="Zone"/>
+ </Type>
+ </Attribute>
+ <Attribute readonly="readonly" name="supported" id="::VehicleInterface::supported">
+ <webidl> readonly attribute boolean supported;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="isLogged" id="::VehicleInterface::isLogged">
+ <webidl> readonly attribute boolean isLogged;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="from" id="::VehicleInterface::from">
+ <webidl> readonly attribute Date ? from;</webidl>
+ <Type type="Date" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="to" id="::VehicleInterface::to">
+ <webidl> readonly attribute Date ? to;</webidl>
+ <Type type="Date" nullable="nullable"/>
+ </Attribute>
</Interface>
- <Interface name="VehicleSpeed" id="::VehicleSpeed">
+ <Interface name="VehicleConfigurationInterface" id="::VehicleConfigurationInterface">
<webidl>[NoInterfaceObject]
-interface VehicleSpeed : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long vehicleSpeed;
-};</webidl>
+interface VehicleConfigurationInterface : <ref>VehicleInterface</ref> {};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
<webidl>NoInterfaceObject</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleInterface"/>
</InterfaceInheritance>
- <Attribute name="vehicleSpeed" id="::VehicleSpeed::vehicleSpeed">
- <webidl> attribute unsigned long vehicleSpeed;</webidl>
- <descriptive>
- <description>
- <p>
-VehicleSpeed
- </p>
- </description>
- <brief>
- Must return Vehicle Speed in kilometers per hour.
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
- </Attribute>
</Interface>
- <Interface name="EngineSpeed" id="::EngineSpeed">
+ <Interface name="VehicleSignalInterface" id="::VehicleSignalInterface">
<webidl>[NoInterfaceObject]
-interface EngineSpeed : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long engineSpeed;
+interface VehicleSignalInterface : <ref>VehicleInterface</ref> {
+ <ref>Availability</ref> availableForSubscription (DOMString attributeName);
+ <ref>Availability</ref> availableForSetting (DOMString attributeName);
+ <ref>Promise</ref> set (object value, optional <ref>Zone</ref> zone);
+ unsigned short subscribe (<ref>VehicleInterfaceCallback</ref> callback, optional <ref>Zone</ref> zone);
+ void unsubscribe (unsigned short handle);
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleInterface"/>
</InterfaceInheritance>
- <Attribute name="engineSpeed" id="::EngineSpeed::engineSpeed">
- <webidl> attribute unsigned long engineSpeed;</webidl>
- <descriptive>
- <description>
- <p>
-EngineSpeed
- </p>
- </description>
- <brief>
- Must return Engine Speed in rotations per minute.
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
- </Attribute>
- </Interface>
- <Interface name="VehiclePowerMode" id="::VehiclePowerMode">
- <webidl>[NoInterfaceObject]
-interface VehiclePowerMode : <ref>VehiclePropertyType</ref> {
- const unsigned short VEHICLEPOWERMODE_OFF = 0;
- const unsigned short VEHICLEPOWERMODE_ACCESSORY1 = 1;
- const unsigned short VEHICLEPOWERMODE_ACCESSORY2 = 2;
- const unsigned short VEHICLEPOWERMODE_RUN = 3;
-
- attribute octet vehiclePowerMode;
-};</webidl>
- <ExtendedAttributeList>
- <ExtendedAttribute name="NoInterfaceObject">
+ <Operation name="availableForSubscription" id="::VehicleSignalInterface::availableForSubscription">
+ <webidl> <ref>Availability</ref> availableForSubscription (DOMString attributeName);</webidl>
+ <Type name="Availability"/>
+ <ArgumentList>
+ <Argument name="attributeName">
+ <Type type="DOMString"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="availableForSetting" id="::VehicleSignalInterface::availableForSetting">
+ <webidl> <ref>Availability</ref> availableForSetting (DOMString attributeName);</webidl>
+ <Type name="Availability"/>
+ <ArgumentList>
+ <Argument name="attributeName">
+ <Type type="DOMString"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="set" id="::VehicleSignalInterface::set">
+ <webidl> <ref>Promise</ref> set (object value, optional <ref>Zone</ref> zone);</webidl>
+ <Type name="Promise"/>
+ <ArgumentList>
+ <Argument name="value">
+ <Type type="object"/>
+ </Argument>
+ <Argument optional="optional" name="zone">
+ <Type name="Zone"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="subscribe" id="::VehicleSignalInterface::subscribe">
+ <webidl> unsigned short subscribe (<ref>VehicleInterfaceCallback</ref> callback, optional <ref>Zone</ref> zone);</webidl>
+ <Type type="unsigned short"/>
+ <ArgumentList>
+ <Argument name="callback">
+ <Type name="VehicleInterfaceCallback"/>
+ </Argument>
+ <Argument optional="optional" name="zone">
+ <Type name="Zone"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="unsubscribe" id="::VehicleSignalInterface::unsubscribe">
+ <webidl> void unsubscribe (unsigned short handle);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="handle">
+ <Type type="unsigned short"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Enum name="Availability" id="::Availability">
+ <webidl>enum Availability {
+ "available",
+ "not_supported",
+ "not_supported_yet",
+ "not_supported_security_policy",
+ "not_supported_business_policy",
+ "not_supported_other"
+};</webidl>
+ <EnumValue stringvalue="available">
+ <webidl> "available</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="not_supported">
+ <webidl> "not_supported</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="not_supported_yet">
+ <webidl> "not_supported_yet</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="not_supported_security_policy">
+ <webidl> "not_supported_security_policy</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="not_supported_business_policy">
+ <webidl> "not_supported_business_policy</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="not_supported_other">
+ <webidl> "not_supported_other</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="VehicleCommonDataType" id="::VehicleCommonDataType">
+ <webidl>[NoInterfaceObject]
+interface VehicleCommonDataType {
+ readonly attribute <ref>DOMTimeStamp</ref>? timeStamp;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="timeStamp" id="::VehicleCommonDataType::timeStamp">
+ <webidl> readonly attribute <ref>DOMTimeStamp</ref>? timeStamp;</webidl>
+ <Type name="DOMTimeStamp" nullable="nullable"/>
+ </Attribute>
+ </Interface>
+ <Enum name="VehicleTypeEnum" id="::VehicleTypeEnum">
+ <webidl>enum VehicleTypeEnum {
+ "passengerCarMini",
+ "passengerCarLight",
+ "passengerCarCompact",
+ "passengerCarMedium",
+ "passengerCarHeavy",
+ "sportUtilityVehicle",
+ "pickupTruck",
+ "van"
+};</webidl>
+ <EnumValue stringvalue="passengerCarMini">
+ <webidl> "passengerCarMini</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="passengerCarLight">
+ <webidl> "passengerCarLight</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="passengerCarCompact">
+ <webidl> "passengerCarCompact</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="passengerCarMedium">
+ <webidl> "passengerCarMedium</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="passengerCarHeavy">
+ <webidl> "passengerCarHeavy</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="sportUtilityVehicle">
+ <webidl> "sportUtilityVehicle</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="pickupTruck">
+ <webidl> "pickupTruck</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="van">
+ <webidl> "van</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="Identification" id="::Identification">
+ <webidl>[NoInterfaceObject]
+interface Identification : <ref>VehicleCommonDataType</ref> {
+ readonly attribute DOMString? VIN;
+ readonly attribute DOMString? WMI;
+ readonly attribute <ref>VehicleTypeEnum</ref>? vehicleType;
+ readonly attribute DOMString? brand;
+ readonly attribute DOMString? model;
+ readonly attribute unsigned short? year;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
<webidl>NoInterfaceObject</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="VEHICLEPOWERMODE_OFF" value="0" id="::VehiclePowerMode::VEHICLEPOWERMODE_OFF">
- <webidl> const unsigned short VEHICLEPOWERMODE_OFF = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLEPOWERMODE_ACCESSORY1" value="1" id="::VehiclePowerMode::VEHICLEPOWERMODE_ACCESSORY1">
- <webidl> const unsigned short VEHICLEPOWERMODE_ACCESSORY1 = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLEPOWERMODE_ACCESSORY2" value="2" id="::VehiclePowerMode::VEHICLEPOWERMODE_ACCESSORY2">
- <webidl> const unsigned short VEHICLEPOWERMODE_ACCESSORY2 = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLEPOWERMODE_RUN" value="3" id="::VehiclePowerMode::VEHICLEPOWERMODE_RUN">
- <webidl> const unsigned short VEHICLEPOWERMODE_RUN = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="vehiclePowerMode" id="::VehiclePowerMode::vehiclePowerMode">
- <webidl> attribute octet vehiclePowerMode;</webidl>
- <descriptive>
- <description>
- <p>
-VehiclePowerMode
- </p>
- </description>
- <brief>
- Must return Vehicle Power mode (see VEHICLEPOWERMODE)
- </brief>
- </descriptive>
- <Type type="octet"/>
+ <Attribute readonly="readonly" name="VIN" id="::Identification::VIN">
+ <webidl> readonly attribute DOMString? VIN;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="WMI" id="::Identification::WMI">
+ <webidl> readonly attribute DOMString? WMI;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="vehicleType" id="::Identification::vehicleType">
+ <webidl> readonly attribute <ref>VehicleTypeEnum</ref>? vehicleType;</webidl>
+ <Type name="VehicleTypeEnum" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="brand" id="::Identification::brand">
+ <webidl> readonly attribute DOMString? brand;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="model" id="::Identification::model">
+ <webidl> readonly attribute DOMString? model;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="year" id="::Identification::year">
+ <webidl> readonly attribute unsigned short? year;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="TripMeter" id="::TripMeter">
+ <Interface name="SizeConfiguration" id="::SizeConfiguration">
<webidl>[NoInterfaceObject]
-interface TripMeter : <ref>VehiclePropertyType</ref> {
-
- attribute sequence<unsigned long> tripMeters;
+interface SizeConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? width;
+ readonly attribute unsigned short? height;
+ readonly attribute unsigned short? length;
+ readonly attribute unsigned short[]? doorsCount;
+ readonly attribute unsigned short? totalDoors;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="tripMeters" id="::TripMeter::tripMeters">
- <webidl> attribute sequence<unsigned long> tripMeters;</webidl>
- <descriptive>
- <description>
- <p>
-TripMeters
- </p>
- </description>
- <brief>
- Must return trip meters. Changing any items in the array will reset the item's value to '0'.
- </brief>
- </descriptive>
- <Type type="sequence">
- <Type type="unsigned long"/>
+ <Attribute readonly="readonly" name="width" id="::SizeConfiguration::width">
+ <webidl> readonly attribute unsigned short? width;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="height" id="::SizeConfiguration::height">
+ <webidl> readonly attribute unsigned short? height;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="length" id="::SizeConfiguration::length">
+ <webidl> readonly attribute unsigned short? length;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="doorsCount" id="::SizeConfiguration::doorsCount">
+ <webidl> readonly attribute unsigned short[]? doorsCount;</webidl>
+ <Type type="array" nullable="nullable">
+ <Type type="unsigned short"/>
</Type>
</Attribute>
+ <Attribute readonly="readonly" name="totalDoors" id="::SizeConfiguration::totalDoors">
+ <webidl> readonly attribute unsigned short? totalDoors;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
</Interface>
- <Interface name="Acceleration" id="::Acceleration">
+ <Enum name="FuelTypeEnum" id="::FuelTypeEnum">
+ <webidl>enum FuelTypeEnum {
+ "gasoline",
+ "methanol",
+ "ethanol",
+ "diesel",
+ "lpg",
+ "cng",
+ "electric"
+};</webidl>
+ <EnumValue stringvalue="gasoline">
+ <webidl> "gasoline</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="methanol">
+ <webidl> "methanol</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="ethanol">
+ <webidl> "ethanol</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="diesel">
+ <webidl> "diesel</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="lpg">
+ <webidl> "lpg</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="cng">
+ <webidl> "cng</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="electric">
+ <webidl> "electric</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="FuelConfiguration" id="::FuelConfiguration">
<webidl>[NoInterfaceObject]
-interface Acceleration : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long x;
-
- attribute unsigned long y;
-
- attribute unsigned long z;
+interface FuelConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>FuelTypeEnum</ref>[]? fuelType;
+ readonly attribute <ref>Zone</ref>? refuelPosition;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="x" id="::Acceleration::x">
- <webidl> attribute unsigned long x;</webidl>
- <descriptive>
- <description>
- <p>
-X
- </p>
- </description>
- <brief>
- Must return acceleration on the "X" axis as 1/1000 G (gravitational force).
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ <Attribute readonly="readonly" name="fuelType" id="::FuelConfiguration::fuelType">
+ <webidl> readonly attribute <ref>FuelTypeEnum</ref>[]? fuelType;</webidl>
+ <Type type="array" nullable="nullable">
+ <Type name="FuelTypeEnum"/>
+ </Type>
</Attribute>
- <Attribute name="y" id="::Acceleration::y">
- <webidl> attribute unsigned long y;</webidl>
- <descriptive>
- <description>
- <p>
-Y
- </p>
- </description>
- <brief>
- Must return acceleration on the "Y" axis as 1/1000 G (gravitational force).
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ <Attribute readonly="readonly" name="refuelPosition" id="::FuelConfiguration::refuelPosition">
+ <webidl> readonly attribute <ref>Zone</ref>? refuelPosition;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
- <Attribute name="z" id="::Acceleration::z">
- <webidl> attribute unsigned long z;</webidl>
- <descriptive>
- <description>
- <p>
-Z
- </p>
- </description>
- <brief>
- Must return acceleration on the "Z" axis as 1/1000 G (gravitational force).
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ </Interface>
+ <Enum name="TransmissionGearTypeEnum" id="::TransmissionGearTypeEnum">
+ <webidl>enum TransmissionGearTypeEnum {
+ "auto",
+ "manual"
+};</webidl>
+ <EnumValue stringvalue="auto">
+ <webidl> "auto</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="manual">
+ <webidl> "manual</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="TransmissionConfiguration" id="::TransmissionConfiguration">
+ <webidl>[NoInterfaceObject]
+interface TransmissionConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>TransmissionGearTypeEnum</ref>? transmissionGearType;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="transmissionGearType" id="::TransmissionConfiguration::transmissionGearType">
+ <webidl> readonly attribute <ref>TransmissionGearTypeEnum</ref>? transmissionGearType;</webidl>
+ <Type name="TransmissionGearTypeEnum" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="Transmission" id="::Transmission">
+ <Interface name="WheelConfiguration" id="::WheelConfiguration">
<webidl>[NoInterfaceObject]
-interface Transmission : <ref>VehiclePropertyType</ref> {
- const unsigned short TRANSMISSIONPOSITION_NEUTRAL = 0;
- const unsigned short TRANSMISSIONPOSITION_FIRST = 1;
- const unsigned short TRANSMISSIONPOSITION_SECOND = 2;
- const unsigned short TRANSMISSIONPOSITION_THIRD = 3;
- const unsigned short TRANSMISSIONPOSITION_FORTH = 4;
- const unsigned short TRANSMISSIONPOSITION_FIFTH = 5;
- const unsigned short TRANSMISSIONPOSITION_SIXTH = 6;
- const unsigned short TRANSMISSIONPOSITION_SEVENTH = 7;
- const unsigned short TRANSMISSIONPOSITION_EIGHTH = 8;
- const unsigned short TRANSMISSIONPOSITION_NINTH = 9;
- const unsigned short TRANSMISSIONPOSITION_TENTH = 10;
- const unsigned short TRANSMISSIONPOSITION_CVT = 64;
- const unsigned short TRANSMISSIONPOSITION_REVERSE = 128;
- const unsigned short TRANSMISSIONPOSITION_PARK = 255;
- const unsigned short TRANSMISSIONMODE_NORMAL = 0;
- const unsigned short TRANSMISSIONMODE_SPORT = 1;
- const unsigned short TRANSMISSIONMODE_ECONOMY = 2;
- const unsigned short TRANSMISSIONMODE_OEMCUSTOM1 = 3;
- const unsigned short TRANSMISSIONMODE_OEMCUSTOM2 = 4;
-
- attribute octet gearPosition;
-
- attribute octet mode;
+interface WheelConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? wheelRadius;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="TRANSMISSIONPOSITION_NEUTRAL" value="0" id="::Transmission::TRANSMISSIONPOSITION_NEUTRAL">
- <webidl> const unsigned short TRANSMISSIONPOSITION_NEUTRAL = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_FIRST" value="1" id="::Transmission::TRANSMISSIONPOSITION_FIRST">
- <webidl> const unsigned short TRANSMISSIONPOSITION_FIRST = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_SECOND" value="2" id="::Transmission::TRANSMISSIONPOSITION_SECOND">
- <webidl> const unsigned short TRANSMISSIONPOSITION_SECOND = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_THIRD" value="3" id="::Transmission::TRANSMISSIONPOSITION_THIRD">
- <webidl> const unsigned short TRANSMISSIONPOSITION_THIRD = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_FORTH" value="4" id="::Transmission::TRANSMISSIONPOSITION_FORTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_FORTH = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_FIFTH" value="5" id="::Transmission::TRANSMISSIONPOSITION_FIFTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_FIFTH = 5;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_SIXTH" value="6" id="::Transmission::TRANSMISSIONPOSITION_SIXTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_SIXTH = 6;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_SEVENTH" value="7" id="::Transmission::TRANSMISSIONPOSITION_SEVENTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_SEVENTH = 7;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_EIGHTH" value="8" id="::Transmission::TRANSMISSIONPOSITION_EIGHTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_EIGHTH = 8;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_NINTH" value="9" id="::Transmission::TRANSMISSIONPOSITION_NINTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_NINTH = 9;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_TENTH" value="10" id="::Transmission::TRANSMISSIONPOSITION_TENTH">
- <webidl> const unsigned short TRANSMISSIONPOSITION_TENTH = 10;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_CVT" value="64" id="::Transmission::TRANSMISSIONPOSITION_CVT">
- <webidl> const unsigned short TRANSMISSIONPOSITION_CVT = 64;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_REVERSE" value="128" id="::Transmission::TRANSMISSIONPOSITION_REVERSE">
- <webidl> const unsigned short TRANSMISSIONPOSITION_REVERSE = 128;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONPOSITION_PARK" value="255" id="::Transmission::TRANSMISSIONPOSITION_PARK">
- <webidl> const unsigned short TRANSMISSIONPOSITION_PARK = 255;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONMODE_NORMAL" value="0" id="::Transmission::TRANSMISSIONMODE_NORMAL">
- <webidl> const unsigned short TRANSMISSIONMODE_NORMAL = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONMODE_SPORT" value="1" id="::Transmission::TRANSMISSIONMODE_SPORT">
- <webidl> const unsigned short TRANSMISSIONMODE_SPORT = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONMODE_ECONOMY" value="2" id="::Transmission::TRANSMISSIONMODE_ECONOMY">
- <webidl> const unsigned short TRANSMISSIONMODE_ECONOMY = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONMODE_OEMCUSTOM1" value="3" id="::Transmission::TRANSMISSIONMODE_OEMCUSTOM1">
- <webidl> const unsigned short TRANSMISSIONMODE_OEMCUSTOM1 = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONMODE_OEMCUSTOM2" value="4" id="::Transmission::TRANSMISSIONMODE_OEMCUSTOM2">
- <webidl> const unsigned short TRANSMISSIONMODE_OEMCUSTOM2 = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="gearPosition" id="::Transmission::gearPosition">
- <webidl> attribute octet gearPosition;</webidl>
- <descriptive>
- <description>
- <p>
-GearPosition
- </p>
- </description>
- <brief>
- Must return transmission gear position (see TRANSMISSIONPOSITION)
- </brief>
- </descriptive>
- <Type type="octet"/>
+ <Attribute readonly="readonly" name="wheelRadius" id="::WheelConfiguration::wheelRadius">
+ <webidl> readonly attribute unsigned short? wheelRadius;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
</Attribute>
- <Attribute name="mode" id="::Transmission::mode">
- <webidl> attribute octet mode;</webidl>
- <descriptive>
- <description>
- <p>
-Mode
- </p>
- </description>
- <brief>
- Must return transmission Mode (see
- </brief>
- </descriptive>
- <Type type="octet"/>
+ <Attribute readonly="readonly" name="zone" id="::WheelConfiguration::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="CruiseControlStatus" id="::CruiseControlStatus">
+ <Interface name="SteeringWheelConfiguration" id="::SteeringWheelConfiguration">
<webidl>[NoInterfaceObject]
-interface CruiseControlStatus : <ref>VehiclePropertyType</ref> {
-
- attribute boolean activated;
-
- attribute unsigned short speed;
+interface SteeringWheelConfiguration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean? steeringWheelLeft;
+ attribute unsigned short? steeringWheelTelescopingPosition;
+ attribute unsigned short? steeringWheelPositionTilt;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="activated" id="::CruiseControlStatus::activated">
- <webidl> attribute boolean activated;</webidl>
- <descriptive>
- <description>
- <p>
-Activated
- </p>
- </description>
- <brief>
- Must return whether or not the Cruise Control system is active (true) or inactive (false)
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="steeringWheelLeft" id="::SteeringWheelConfiguration::steeringWheelLeft">
+ <webidl> readonly attribute boolean? steeringWheelLeft;</webidl>
+ <Type type="boolean" nullable="nullable"/>
</Attribute>
- <Attribute name="speed" id="::CruiseControlStatus::speed">
- <webidl> attribute unsigned short speed;</webidl>
- <descriptive>
- <description>
- <p>
-Speed
- </p>
- </description>
- <brief>
- Must return target Cruise Control speed in kilometers per hour (kph).
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute name="steeringWheelTelescopingPosition" id="::SteeringWheelConfiguration::steeringWheelTelescopingPosition">
+ <webidl> attribute unsigned short? steeringWheelTelescopingPosition;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="steeringWheelPositionTilt" id="::SteeringWheelConfiguration::steeringWheelPositionTilt">
+ <webidl> attribute unsigned short? steeringWheelPositionTilt;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="WheelBrake" id="::WheelBrake">
+ <Interface name="VehicleSpeed" id="::VehicleSpeed">
<webidl>[NoInterfaceObject]
-interface WheelBrake : <ref>VehiclePropertyType</ref> {
-
- attribute boolean engaged;
+interface VehicleSpeed : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short speed;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="engaged" id="::WheelBrake::engaged">
- <webidl> attribute boolean engaged;</webidl>
- <descriptive>
- <description>
- <p>
-Engaged
- </p>
- </description>
- <brief>
- Must return Wheel Brake status: Engaged = true, disengaged = false
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="speed" id="::VehicleSpeed::speed">
+ <webidl> readonly attribute unsigned short speed;</webidl>
+ <Type type="unsigned short"/>
</Attribute>
</Interface>
- <Interface name="LightStatus" id="::LightStatus">
+ <Interface name="WheelSpeed" id="::WheelSpeed">
<webidl>[NoInterfaceObject]
-interface LightStatus : <ref>VehiclePropertyType</ref> {
-
- attribute boolean head;
-
- attribute boolean rightTurn;
-
- attribute boolean leftTurn;
-
- attribute boolean brake;
-
- attribute boolean fog;
-
- attribute boolean hazard;
-
- attribute boolean parking;
-
- attribute boolean highBeam;
+interface WheelSpeed : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short speed;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="head" id="::LightStatus::head">
- <webidl> attribute boolean head;</webidl>
- <descriptive>
- <description>
- <p>
-Head
- </p>
- </description>
- <brief>
- Must return headlight status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="rightTurn" id="::LightStatus::rightTurn">
- <webidl> attribute boolean rightTurn;</webidl>
- <descriptive>
- <description>
- <p>
-RightTurn
- </p>
- </description>
- <brief>
- Must return right turn signal status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="leftTurn" id="::LightStatus::leftTurn">
- <webidl> attribute boolean leftTurn;</webidl>
- <descriptive>
- <description>
- <p>
-LeftTurn
- </p>
- </description>
- <brief>
- Must return left turn signal status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="brake" id="::LightStatus::brake">
- <webidl> attribute boolean brake;</webidl>
- <descriptive>
- <description>
- <p>
-Brake
- </p>
- </description>
- <brief>
- Must return brake signal light status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="fog" id="::LightStatus::fog">
- <webidl> attribute boolean fog;</webidl>
- <descriptive>
- <description>
- <p>
-Fog
- </p>
- </description>
- <brief>
- Must return fog light status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="hazard" id="::LightStatus::hazard">
- <webidl> attribute boolean hazard;</webidl>
- <descriptive>
- <description>
- <p>
-Hazard
- </p>
- </description>
- <brief>
- Must return hazard light status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="parking" id="::LightStatus::parking">
- <webidl> attribute boolean parking;</webidl>
- <descriptive>
- <description>
- <p>
-Parking
- </p>
- </description>
- <brief>
- Must return parking light status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="speed" id="::WheelSpeed::speed">
+ <webidl> readonly attribute unsigned short speed;</webidl>
+ <Type type="unsigned short"/>
</Attribute>
- <Attribute name="highBeam" id="::LightStatus::highBeam">
- <webidl> attribute boolean highBeam;</webidl>
- <descriptive>
- <description>
- <p>
-HighBeam
- </p>
- </description>
- <brief>
- Must return high beam status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="zone" id="::WheelSpeed::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="InteriorLightStatus" id="::InteriorLightStatus">
+ <Interface name="EngineSpeed" id="::EngineSpeed">
<webidl>[NoInterfaceObject]
-interface InteriorLightStatus : <ref>VehiclePropertyType</ref> {
-
- attribute boolean passenger;
-
- attribute boolean driver;
-
- attribute boolean center;
+interface EngineSpeed : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long speed;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="passenger" id="::InteriorLightStatus::passenger">
- <webidl> attribute boolean passenger;</webidl>
- <descriptive>
- <description>
- <p>
-Passenger
- </p>
- </description>
- <brief>
- Must return passenger interior light status: on = true, off = false
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="driver" id="::InteriorLightStatus::driver">
- <webidl> attribute boolean driver;</webidl>
- <descriptive>
- <description>
- <p>
-Driver
- </p>
- </description>
- <brief>
- Must return driver interior light status: on = true, off = false
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
- <Attribute name="center" id="::InteriorLightStatus::center">
- <webidl> attribute boolean center;</webidl>
- <descriptive>
- <description>
- <p>
-Center
- </p>
- </description>
- <brief>
- Must return center interior light status: on = true, off = false
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="speed" id="::EngineSpeed::speed">
+ <webidl> readonly attribute unsigned long speed;</webidl>
+ <Type type="unsigned long"/>
</Attribute>
</Interface>
- <Interface name="Horn" id="::Horn">
+ <Enum name="VehiclePowerMode" id="::VehiclePowerMode">
+ <webidl>enum VehiclePowerMode {
+ "off",
+ "accessory1",
+ "accessory2",
+ "running"
+};</webidl>
+ <EnumValue stringvalue="off">
+ <webidl> "off</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="accessory1">
+ <webidl> "accessory1</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="accessory2">
+ <webidl> "accessory2</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="running">
+ <webidl> "running</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="VehiclePowerModeType" id="::VehiclePowerModeType">
<webidl>[NoInterfaceObject]
-interface Horn : <ref>VehiclePropertyType</ref> {
-
- attribute boolean on;
+interface VehiclePowerModeType : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>VehiclePowerMode</ref> value;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="on" id="::Horn::on">
- <webidl> attribute boolean on;</webidl>
- <descriptive>
- <description>
- <p>
-On
- </p>
- </description>
- <brief>
- Must return horn status: on = true, off = false
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="value" id="::VehiclePowerModeType::value">
+ <webidl> readonly attribute <ref>VehiclePowerMode</ref> value;</webidl>
+ <Type name="VehiclePowerMode"/>
</Attribute>
</Interface>
- <Interface name="Fuel" id="::Fuel">
+ <Interface name="PowerTrainTorque" id="::PowerTrainTorque">
<webidl>[NoInterfaceObject]
-interface Fuel : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short level;
-
- attribute unsigned short range;
-
- attribute unsigned short instantConsumption;
-
- attribute unsigned short instantEconomy;
-
- attribute unsigned short averageEconomy;
+interface PowerTrainTorque : <ref>VehicleCommonDataType</ref> {
+ readonly attribute short value;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="level" id="::Fuel::level">
- <webidl> attribute unsigned short level;</webidl>
- <descriptive>
- <description>
- <p>
-Level
- </p>
- </description>
- <brief>
- Must return fuel level as a percentage of fullness.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="range" id="::Fuel::range">
- <webidl> attribute unsigned short range;</webidl>
- <descriptive>
- <description>
- <p>
-Range
- </p>
- </description>
- <brief>
- Must return estimated fuel range in kilometers.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="instantConsumption" id="::Fuel::instantConsumption">
- <webidl> attribute unsigned short instantConsumption;</webidl>
- <descriptive>
- <description>
- <p>
-InstantConsumption
- </p>
- </description>
- <brief>
- Must return instant fuel consumption in milliliters of fuel per second.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="instantEconomy" id="::Fuel::instantEconomy">
- <webidl> attribute unsigned short instantEconomy;</webidl>
- <descriptive>
- <description>
- <p>
-InstantEconomy
- </p>
- </description>
- <brief>
- Must return instant fuel 'economy' in kilometers per liter of fuel.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="value" id="::PowerTrainTorque::value">
+ <webidl> readonly attribute short value;</webidl>
+ <Type type="short"/>
</Attribute>
- <Attribute name="averageEconomy" id="::Fuel::averageEconomy">
- <webidl> attribute unsigned short averageEconomy;</webidl>
- <descriptive>
- <description>
- <p>
-AverageEconomy
- </p>
- </description>
- <brief>
- Must return average fuel 'economy' in kilometers per liter of fuel since last reset. Setting this to any value should reset the counter to '0'
- </brief>
- </descriptive>
+ </Interface>
+ <Interface name="AcceleratorPedalPosition" id="::AcceleratorPedalPosition">
+ <webidl>[NoInterfaceObject]
+interface AcceleratorPedalPosition : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short value;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="value" id="::AcceleratorPedalPosition::value">
+ <webidl> readonly attribute unsigned short value;</webidl>
<Type type="unsigned short"/>
</Attribute>
</Interface>
- <Interface name="EngineOil" id="::EngineOil">
+ <Interface name="ThrottlePosition" id="::ThrottlePosition">
<webidl>[NoInterfaceObject]
-interface EngineOil : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short remaining;
-
- attribute long temperature;
-
- attribute unsigned short pressure;
+interface ThrottlePosition : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short value;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="remaining" id="::EngineOil::remaining">
- <webidl> attribute unsigned short remaining;</webidl>
- <descriptive>
- <description>
- <p>
-Remaining
- </p>
- </description>
- <brief>
- Must return remaining engine oil as percentage of fullness.
- </brief>
- </descriptive>
+ <Attribute readonly="readonly" name="value" id="::ThrottlePosition::value">
+ <webidl> readonly attribute unsigned short value;</webidl>
<Type type="unsigned short"/>
</Attribute>
- <Attribute name="temperature" id="::EngineOil::temperature">
- <webidl> attribute long temperature;</webidl>
- <descriptive>
- <description>
- <p>
-Temperature
- </p>
- </description>
- <brief>
- Must return Engine Oil Temperature in Celcius.
- </brief>
- </descriptive>
- <Type type="long"/>
+ </Interface>
+ <Interface name="Trip" id="::Trip">
+ <webidl>[NoInterfaceObject]
+interface Trip {
+ readonly attribute unsigned long distance;
+ readonly attribute unsigned short? averageSpeed;
+ readonly attribute unsigned short? fuelConsumption;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="distance" id="::Trip::distance">
+ <webidl> readonly attribute unsigned long distance;</webidl>
+ <Type type="unsigned long"/>
</Attribute>
- <Attribute name="pressure" id="::EngineOil::pressure">
- <webidl> attribute unsigned short pressure;</webidl>
- <descriptive>
- <description>
- <p>
-Pressure
- </p>
- </description>
- <brief>
- Must return Engine Oil Pressure in kPa.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="averageSpeed" id="::Trip::averageSpeed">
+ <webidl> readonly attribute unsigned short? averageSpeed;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="fuelConsumption" id="::Trip::fuelConsumption">
+ <webidl> readonly attribute unsigned short? fuelConsumption;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="Location" id="::Location">
+ <Interface name="TripMeters" id="::TripMeters">
<webidl>[NoInterfaceObject]
-interface Location : <ref>VehiclePropertyType</ref> {
-
- attribute double latitude;
-
- attribute double longitude;
-
- attribute double altitude;
-
- attribute unsigned short direction;
+interface TripMeters : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>Trip</ref>[] meters;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="latitude" id="::Location::latitude">
- <webidl> attribute double latitude;</webidl>
- <descriptive>
- <description>
- <p>
-Latitude
- </p>
- </description>
- <brief>
- Must return latitude in Deg.Min (-180, +180)
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="meters" id="::TripMeters::meters">
+ <webidl> readonly attribute <ref>Trip</ref>[] meters;</webidl>
+ <Type type="array">
+ <Type name="Trip"/>
+ </Type>
</Attribute>
- <Attribute name="longitude" id="::Location::longitude">
- <webidl> attribute double longitude;</webidl>
- <descriptive>
- <description>
- <p>
-Longitude
- </p>
- </description>
- <brief>
- Must return longitude in Deg.Min (-90, +90)
- </brief>
- </descriptive>
- <Type type="double"/>
+ </Interface>
+ <Enum name="TransmissionMode" id="::TransmissionMode">
+ <webidl>enum TransmissionMode {
+ "park",
+ "reverse",
+ "neutral",
+ "low",
+ "drive",
+ "overdrive"
+};</webidl>
+ <EnumValue stringvalue="park">
+ <webidl> "park</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="reverse">
+ <webidl> "reverse</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="neutral">
+ <webidl> "neutral</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="low">
+ <webidl> "low</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="drive">
+ <webidl> "drive</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="overdrive">
+ <webidl> "overdrive</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="Transmission" id="::Transmission">
+ <webidl>[NoInterfaceObject]
+interface Transmission : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet? gear;
+ readonly attribute <ref>TransmissionMode</ref>? mode;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="gear" id="::Transmission::gear">
+ <webidl> readonly attribute octet? gear;</webidl>
+ <Type type="octet" nullable="nullable"/>
</Attribute>
- <Attribute name="altitude" id="::Location::altitude">
- <webidl> attribute double altitude;</webidl>
- <descriptive>
- <description>
- <p>
-Altitude
- </p>
- </description>
- <brief>
- Must return altitude in meters above sea-level (0).
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="mode" id="::Transmission::mode">
+ <webidl> readonly attribute <ref>TransmissionMode</ref>? mode;</webidl>
+ <Type name="TransmissionMode" nullable="nullable"/>
</Attribute>
- <Attribute name="direction" id="::Location::direction">
- <webidl> attribute unsigned short direction;</webidl>
- <descriptive>
- <description>
- <p>
-Direction
- </p>
- </description>
- <brief>
- Must return direction in Degrees (0-360)
- </brief>
- </descriptive>
+ </Interface>
+ <Interface name="CruiseControlStatus" id="::CruiseControlStatus">
+ <webidl>[NoInterfaceObject]
+interface CruiseControlStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean status;
+ readonly attribute unsigned short speed;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="status" id="::CruiseControlStatus::status">
+ <webidl> readonly attribute boolean status;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="speed" id="::CruiseControlStatus::speed">
+ <webidl> readonly attribute unsigned short speed;</webidl>
<Type type="unsigned short"/>
</Attribute>
</Interface>
- <Interface name="ExteriorBrightness" id="::ExteriorBrightness">
+ <Interface name="LightStatus" id="::LightStatus">
<webidl>[NoInterfaceObject]
-interface ExteriorBrightness : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long exteriorBrightness;
+interface LightStatus : <ref>VehicleCommonDataType</ref> {
+ attribute boolean head;
+ attribute boolean rightTurn;
+ attribute boolean leftTurn;
+ attribute boolean brake;
+ attribute boolean? fog;
+ attribute boolean hazard;
+ attribute boolean parking;
+ attribute boolean highBeam;
+ attribute boolean? automaticHeadlights;
+ attribute boolean? dynamicHighBeam;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="exteriorBrightness" id="::ExteriorBrightness::exteriorBrightness">
- <webidl> attribute unsigned long exteriorBrightness;</webidl>
- <descriptive>
- <description>
- <p>
-ExteriorBrightness
- </p>
- </description>
- <brief>
- Must return the brightness outside the vehicle in lux.
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ <Attribute name="head" id="::LightStatus::head">
+ <webidl> attribute boolean head;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="rightTurn" id="::LightStatus::rightTurn">
+ <webidl> attribute boolean rightTurn;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="leftTurn" id="::LightStatus::leftTurn">
+ <webidl> attribute boolean leftTurn;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="brake" id="::LightStatus::brake">
+ <webidl> attribute boolean brake;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="fog" id="::LightStatus::fog">
+ <webidl> attribute boolean? fog;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="hazard" id="::LightStatus::hazard">
+ <webidl> attribute boolean hazard;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="parking" id="::LightStatus::parking">
+ <webidl> attribute boolean parking;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="highBeam" id="::LightStatus::highBeam">
+ <webidl> attribute boolean highBeam;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="automaticHeadlights" id="::LightStatus::automaticHeadlights">
+ <webidl> attribute boolean? automaticHeadlights;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="dynamicHighBeam" id="::LightStatus::dynamicHighBeam">
+ <webidl> attribute boolean? dynamicHighBeam;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::LightStatus::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="Temperature" id="::Temperature">
+ <Interface name="InteriorLightStatus" id="::InteriorLightStatus">
<webidl>[NoInterfaceObject]
-interface Temperature : <ref>VehiclePropertyType</ref> {
-
- attribute short interior;
-
- attribute short exterior;
+interface InteriorLightStatus : <ref>VehicleCommonDataType</ref> {
+ attribute boolean status;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="interior" id="::Temperature::interior">
- <webidl> attribute short interior;</webidl>
- <descriptive>
- <description>
- <p>
-Interior
- </p>
- </description>
- <brief>
- Must return the temperature of the interior of the vehicle in celcius.
- </brief>
- </descriptive>
- <Type type="short"/>
+ <Attribute name="status" id="::InteriorLightStatus::status">
+ <webidl> attribute boolean status;</webidl>
+ <Type type="boolean"/>
</Attribute>
- <Attribute name="exterior" id="::Temperature::exterior">
- <webidl> attribute short exterior;</webidl>
- <descriptive>
- <description>
- <p>
-Exterior
- </p>
- </description>
- <brief>
- Must return the temperature of the exterior of the vehicle in celcius.
- </brief>
- </descriptive>
- <Type type="short"/>
+ <Attribute readonly="readonly" name="zone" id="::InteriorLightStatus::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="RainSensor" id="::RainSensor">
+ <Interface name="Horn" id="::Horn">
<webidl>[NoInterfaceObject]
-interface RainSensor : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short rainSensor;
+interface Horn : <ref>VehicleCommonDataType</ref> {
+ attribute boolean status;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="rainSensor" id="::RainSensor::rainSensor">
- <webidl> attribute unsigned short rainSensor;</webidl>
- <descriptive>
- <description>
- <p>
-RainSensor
- </p>
- </description>
- <brief>
- Must return level of rain intensity 0: No Rain - 10: Heaviest Rain.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute name="status" id="::Horn::status">
+ <webidl> attribute boolean status;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="WindshieldWiper" id="::WindshieldWiper">
+ <Interface name="Chime" id="::Chime">
<webidl>[NoInterfaceObject]
-interface WindshieldWiper : <ref>VehiclePropertyType</ref> {
- const unsigned short WIPERSPEED_OFF = 0;
- const unsigned short WIPERSPEED_SLOWEST= 1;
- const unsigned short WIPERSPEED_FASTEST = 5;
- const unsigned short WIPERSPEED_AUTO = 10;
-
- attribute unsigned short windshieldWiper;
+interface Chime : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean status;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="WIPERSPEED_OFF" value="0" id="::WindshieldWiper::WIPERSPEED_OFF">
- <webidl> const unsigned short WIPERSPEED_OFF = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WIPERSPEED_SLOWEST" value="1" id="::WindshieldWiper::WIPERSPEED_SLOWEST">
- <webidl> const unsigned short WIPERSPEED_SLOWEST= 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WIPERSPEED_FASTEST" value="5" id="::WindshieldWiper::WIPERSPEED_FASTEST">
- <webidl> const unsigned short WIPERSPEED_FASTEST = 5;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WIPERSPEED_AUTO" value="10" id="::WindshieldWiper::WIPERSPEED_AUTO">
- <webidl> const unsigned short WIPERSPEED_AUTO = 10;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="windshieldWiper" id="::WindshieldWiper::windshieldWiper">
- <webidl> attribute unsigned short windshieldWiper;</webidl>
- <descriptive>
- <description>
- <p>
-WindshieldWiper
- </p>
- </description>
- <brief>
- Must return Level of windshield whiper speed (see WIPERSPEED)
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="status" id="::Chime::status">
+ <webidl> readonly attribute boolean status;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Dictionary name="DefrostDictionary" id="::DefrostDictionary">
- <webidl>dictionary DefrostDictionary {
- unsigned short window;
- boolean defrost;
+ <Interface name="Fuel" id="::Fuel">
+ <webidl>[NoInterfaceObject]
+interface Fuel : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? level;
+ readonly attribute unsigned long? range;
+ readonly attribute unsigned long? instantConsumption;
+ attribute unsigned long? averageConsumption;
+ readonly attribute unsigned long? fuelConsumedSinceRestart;
+ readonly attribute unsigned long? timeSinceRestart;
};</webidl>
- <DictionaryMember name="window" id="::DefrostDictionary::window">
- <webidl> unsigned short window;</webidl>
- <Type type="unsigned short"/>
- </DictionaryMember>
- <DictionaryMember name="defrost" id="::DefrostDictionary::defrost">
- <webidl> boolean defrost;</webidl>
- <Type type="boolean"/>
- </DictionaryMember>
- </Dictionary>
- <Interface name="HVAC" id="::HVAC">
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="level" id="::Fuel::level">
+ <webidl> readonly attribute unsigned short? level;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="range" id="::Fuel::range">
+ <webidl> readonly attribute unsigned long? range;</webidl>
+ <Type type="unsigned long" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="instantConsumption" id="::Fuel::instantConsumption">
+ <webidl> readonly attribute unsigned long? instantConsumption;</webidl>
+ <Type type="unsigned long" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="averageConsumption" id="::Fuel::averageConsumption">
+ <webidl> attribute unsigned long? averageConsumption;</webidl>
+ <Type type="unsigned long" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="fuelConsumedSinceRestart" id="::Fuel::fuelConsumedSinceRestart">
+ <webidl> readonly attribute unsigned long? fuelConsumedSinceRestart;</webidl>
+ <Type type="unsigned long" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="timeSinceRestart" id="::Fuel::timeSinceRestart">
+ <webidl> readonly attribute unsigned long? timeSinceRestart;</webidl>
+ <Type type="unsigned long" nullable="nullable"/>
+ </Attribute>
+ </Interface>
+ <Interface name="EngineOil" id="::EngineOil">
<webidl>[NoInterfaceObject]
-interface HVAC : <ref>VehiclePropertyType</ref> {
- const unsigned short AIRFLOWDIRECTION_FRONTPANEL = 0;
- const unsigned short AIRFLOWDIRECTION_FLOORDUCT= 1;
- const unsigned short AIRFLOWDIRECTION_FRONT = 0x02;
- const unsigned short AIRFLOWDIRECTION_DEFROSTER = 0x04;
-
- attribute unsigned short airflowDirection;
-
- attribute unsigned short fanSpeed;
-
- attribute unsigned short targetTemperature;
-
- attribute boolean airConditioning;
-
- attribute boolean airRecirculation;
-
- attribute boolean heater;
-
- attribute <ref>DefrostDictionary</ref> defrost;
-
- attribute boolean steeringWheelHeater;
-
- attribute boolean seatHeater;
-
- attribute boolean seatCooler;
+interface EngineOil : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short level;
+ readonly attribute unsigned short lifeRemaining;
+ readonly attribute long temperature;
+ readonly attribute unsigned short pressure;
+ readonly attribute boolean change;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="AIRFLOWDIRECTION_FRONTPANEL" value="0" id="::HVAC::AIRFLOWDIRECTION_FRONTPANEL">
- <webidl> const unsigned short AIRFLOWDIRECTION_FRONTPANEL = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRFLOWDIRECTION_FLOORDUCT" value="1" id="::HVAC::AIRFLOWDIRECTION_FLOORDUCT">
- <webidl> const unsigned short AIRFLOWDIRECTION_FLOORDUCT= 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRFLOWDIRECTION_FRONT" value="0x02" id="::HVAC::AIRFLOWDIRECTION_FRONT">
- <webidl> const unsigned short AIRFLOWDIRECTION_FRONT = 0x02;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRFLOWDIRECTION_DEFROSTER" value="0x04" id="::HVAC::AIRFLOWDIRECTION_DEFROSTER">
- <webidl> const unsigned short AIRFLOWDIRECTION_DEFROSTER = 0x04;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="airflowDirection" id="::HVAC::airflowDirection">
- <webidl> attribute unsigned short airflowDirection;</webidl>
- <descriptive>
- <description>
- <p>
-AirflowDirection
- </p>
- </description>
- <brief>
- Must return airflow direction. See
- </brief>
- </descriptive>
+ <Attribute readonly="readonly" name="level" id="::EngineOil::level">
+ <webidl> readonly attribute unsigned short level;</webidl>
<Type type="unsigned short"/>
</Attribute>
- <Attribute name="fanSpeed" id="::HVAC::fanSpeed">
- <webidl> attribute unsigned short fanSpeed;</webidl>
- <descriptive>
- <description>
- <p>
-FanSpeed
- </p>
- </description>
- <brief>
- Must return speed of the fan (0-7)
- </brief>
- </descriptive>
+ <Attribute readonly="readonly" name="lifeRemaining" id="::EngineOil::lifeRemaining">
+ <webidl> readonly attribute unsigned short lifeRemaining;</webidl>
<Type type="unsigned short"/>
</Attribute>
- <Attribute name="targetTemperature" id="::HVAC::targetTemperature">
- <webidl> attribute unsigned short targetTemperature;</webidl>
- <descriptive>
- <description>
- <p>
-TargetTemperature
- </p>
- </description>
- <brief>
- Must return target desired temperature in celcius.
- </brief>
- </descriptive>
+ <Attribute readonly="readonly" name="temperature" id="::EngineOil::temperature">
+ <webidl> readonly attribute long temperature;</webidl>
+ <Type type="long"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="pressure" id="::EngineOil::pressure">
+ <webidl> readonly attribute unsigned short pressure;</webidl>
<Type type="unsigned short"/>
</Attribute>
- <Attribute name="airConditioning" id="::HVAC::airConditioning">
- <webidl> attribute boolean airConditioning;</webidl>
- <descriptive>
- <description>
- <p>
-AirConditioning
- </p>
- </description>
- <brief>
- Must return air conditioning on (true) / off (false).
- </brief>
- </descriptive>
+ <Attribute readonly="readonly" name="change" id="::EngineOil::change">
+ <webidl> readonly attribute boolean change;</webidl>
<Type type="boolean"/>
</Attribute>
- <Attribute name="airRecirculation" id="::HVAC::airRecirculation">
- <webidl> attribute boolean airRecirculation;</webidl>
- <descriptive>
- <description>
- <p>
-AirRecirculation
- </p>
- </description>
- <brief>
- Must return air recirculation on (true) / off (false).
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ </Interface>
+ <Interface name="Acceleration" id="::Acceleration">
+ <webidl>[NoInterfaceObject]
+interface Acceleration : <ref>VehicleCommonDataType</ref> {
+ readonly attribute long x;
+ readonly attribute long y;
+ readonly attribute long z;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="x" id="::Acceleration::x">
+ <webidl> readonly attribute long x;</webidl>
+ <Type type="long"/>
</Attribute>
- <Attribute name="heater" id="::HVAC::heater">
- <webidl> attribute boolean heater;</webidl>
- <descriptive>
- <description>
- <p>
-Heater
- </p>
- </description>
- <brief>
- Must return heater on (true) / off (false).
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="y" id="::Acceleration::y">
+ <webidl> readonly attribute long y;</webidl>
+ <Type type="long"/>
</Attribute>
- <Attribute name="defrost" id="::HVAC::defrost">
- <webidl> attribute <ref>DefrostDictionary</ref> defrost;</webidl>
- <descriptive>
- <description>
- <p>
-Defrost
- </p>
- </description>
- <brief>
- Must return the defrost status of all windows equiped with defrosters. This will return a dictionary of DefrostDictionary that represents
- </brief>
- <brief>
- each window and its defrost status.
- </brief>
- </descriptive>
- <Type name="DefrostDictionary"/>
- </Attribute>
- <Attribute name="steeringWheelHeater" id="::HVAC::steeringWheelHeater">
- <webidl> attribute boolean steeringWheelHeater;</webidl>
- <descriptive>
- <description>
- <p>
-SteeringWheelHeater
- </p>
- </description>
- <brief>
- Must return air recirculation on (true) / off (false).
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="z" id="::Acceleration::z">
+ <webidl> readonly attribute long z;</webidl>
+ <Type type="long"/>
</Attribute>
- <Attribute name="seatHeater" id="::HVAC::seatHeater">
- <webidl> attribute boolean seatHeater;</webidl>
- <descriptive>
- <description>
- <p>
-SeatHeater
- </p>
- </description>
- <brief>
- Must return seat heater status: on (true) / off (false).
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ </Interface>
+ <Interface name="EngineCoolant" id="::EngineCoolant">
+ <webidl>[NoInterfaceObject]
+interface EngineCoolant : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet level;
+ readonly attribute short temperature;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="level" id="::EngineCoolant::level">
+ <webidl> readonly attribute octet level;</webidl>
+ <Type type="octet"/>
</Attribute>
- <Attribute name="seatCooler" id="::HVAC::seatCooler">
- <webidl> attribute boolean seatCooler;</webidl>
- <descriptive>
- <description>
- <p>
-SeatCooler
- </p>
- </description>
- <brief>
- Must return seat heater status: on (true) / off (false).
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="temperature" id="::EngineCoolant::temperature">
+ <webidl> readonly attribute short temperature;</webidl>
+ <Type type="short"/>
</Attribute>
</Interface>
- <Interface name="WindowStatus" id="::WindowStatus">
+ <Interface name="SteeringWheel" id="::SteeringWheel">
<webidl>[NoInterfaceObject]
-interface WindowStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short WINDOWLOCATION_DRIVER= 0;
- const unsigned short WINDOWLOCATION_PASSENGER = 1;
- const unsigned short WINDOWLOCATION_LEFTREAR = 2;
- const unsigned short WINDOWLOCATION_RIGHTREAR = 3;
- const unsigned short WINDOWLOCATION_REAR = 4;
-
- attribute object WindowStatus;
+interface SteeringWheel : <ref>VehicleCommonDataType</ref> {
+ readonly attribute short angle;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="WINDOWLOCATION_DRIVER" value="0" id="::WindowStatus::WINDOWLOCATION_DRIVER">
- <webidl> const unsigned short WINDOWLOCATION_DRIVER= 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WINDOWLOCATION_PASSENGER" value="1" id="::WindowStatus::WINDOWLOCATION_PASSENGER">
- <webidl> const unsigned short WINDOWLOCATION_PASSENGER = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WINDOWLOCATION_LEFTREAR" value="2" id="::WindowStatus::WINDOWLOCATION_LEFTREAR">
- <webidl> const unsigned short WINDOWLOCATION_LEFTREAR = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WINDOWLOCATION_RIGHTREAR" value="3" id="::WindowStatus::WINDOWLOCATION_RIGHTREAR">
- <webidl> const unsigned short WINDOWLOCATION_RIGHTREAR = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="WINDOWLOCATION_REAR" value="4" id="::WindowStatus::WINDOWLOCATION_REAR">
- <webidl> const unsigned short WINDOWLOCATION_REAR = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="WindowStatus" id="::WindowStatus::WindowStatus">
- <webidl> attribute object WindowStatus;</webidl>
- <descriptive>
- <description>
- <p>
-WindowStatus
- </p>
- </description>
- <brief>
- Must return window status for each window location. object returned is a
-dictionary { unsigned short windowlocation, unsigned short percentage opened }
- </brief>
- </descriptive>
- <Type type="object"/>
+ <Attribute readonly="readonly" name="angle" id="::SteeringWheel::angle">
+ <webidl> readonly attribute short angle;</webidl>
+ <Type type="short"/>
</Attribute>
</Interface>
- <Interface name="Sunroof" id="::Sunroof">
+ <Interface name="WheelTick" id="::WheelTick">
<webidl>[NoInterfaceObject]
-interface Sunroof : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short openness;
-
- attribute unsigned short tilt;
+interface WheelTick : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long value;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="openness" id="::Sunroof::openness">
- <webidl> attribute unsigned short openness;</webidl>
- <descriptive>
- <description>
- <p>
-Openness
- </p>
- </description>
- <brief>
- Must return window status for sunroof openness percentage.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="value" id="::WheelTick::value">
+ <webidl> readonly attribute unsigned long value;</webidl>
+ <Type type="unsigned long"/>
</Attribute>
- <Attribute name="tilt" id="::Sunroof::tilt">
- <webidl> attribute unsigned short tilt;</webidl>
- <descriptive>
- <description>
- <p>
-Tilt
- </p>
- </description>
- <brief>
- Must return tilt status for sunroof percentage.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="zone" id="::WheelTick::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="ConvertibleRoof" id="::ConvertibleRoof">
+ <Interface name="IgnitionTime" id="::IgnitionTime">
<webidl>[NoInterfaceObject]
-interface ConvertibleRoof : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short openness;
+interface IgnitionTime : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>DOMTimeStamp</ref> ignitionOnTime;
+ readonly attribute <ref>DOMTimeStamp</ref> ignitionOffTime;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="openness" id="::ConvertibleRoof::openness">
- <webidl> attribute unsigned short openness;</webidl>
- <descriptive>
- <description>
- <p>
-Openness
- </p>
- </description>
- <brief>
- Must return window status for sunroof openness percentage.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="ignitionOnTime" id="::IgnitionTime::ignitionOnTime">
+ <webidl> readonly attribute <ref>DOMTimeStamp</ref> ignitionOnTime;</webidl>
+ <Type name="DOMTimeStamp"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="ignitionOffTime" id="::IgnitionTime::ignitionOffTime">
+ <webidl> readonly attribute <ref>DOMTimeStamp</ref> ignitionOffTime;</webidl>
+ <Type name="DOMTimeStamp"/>
</Attribute>
</Interface>
- <Interface name="VehicleId" id="::VehicleId">
+ <Interface name="YawRate" id="::YawRate">
<webidl>[NoInterfaceObject]
-interface VehicleId : <ref>VehiclePropertyType</ref> {
-
- attribute DOMString WMI;
-
- attribute DOMString VIN;
+interface YawRate : <ref>VehicleCommonDataType</ref> {
+ readonly attribute short value;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="WMI" id="::VehicleId::WMI">
- <webidl> attribute DOMString WMI;</webidl>
- <descriptive>
- <description>
- <p>
-WMI
- </p>
- </description>
- <brief>
- MUST return World Manufacturer Identifier (WMI)
-WMI is defined by SAE ISO 3780:2009. 3 characters.
- </brief>
- </descriptive>
- <Type type="DOMString"/>
- </Attribute>
- <Attribute name="VIN" id="::VehicleId::VIN">
- <webidl> attribute DOMString VIN;</webidl>
- <descriptive>
- <description>
- <p>
-VIN
- </p>
- </description>
- <brief>
- MUST return Vehicle Identification Number (VIN) as defined by ISO 3779. 17 characters.
- </brief>
- </descriptive>
- <Type type="DOMString"/>
+ <Attribute readonly="readonly" name="value" id="::YawRate::value">
+ <webidl> readonly attribute short value;</webidl>
+ <Type type="short"/>
</Attribute>
</Interface>
- <Interface name="Size" id="::Size">
+ <Interface name="BrakeOperation" id="::BrakeOperation">
<webidl>[NoInterfaceObject]
-interface Size : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long width;
-
- attribute unsigned long height;
-
- attribute unsigned long length;
+interface BrakeOperation : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean brakePedalDepressed;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="width" id="::Size::width">
- <webidl> attribute unsigned long width;</webidl>
- <descriptive>
- <description>
- <p>
-Width
- </p>
- </description>
- <brief>
- MUST return width of vehicle in mm
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ <Attribute readonly="readonly" name="brakePedalDepressed" id="::BrakeOperation::brakePedalDepressed">
+ <webidl> readonly attribute boolean brakePedalDepressed;</webidl>
+ <Type type="boolean"/>
</Attribute>
- <Attribute name="height" id="::Size::height">
- <webidl> attribute unsigned long height;</webidl>
- <descriptive>
- <description>
- <p>
-Height
- </p>
- </description>
- <brief>
- MUST return height of vehicle in mm
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ </Interface>
+ <Enum name="Button" id="::Button">
+ <webidl>enum Button {
+ "home",
+ "back",
+ "search",
+ "call",
+ "end_call",
+ "media_play",
+ "media_next",
+ "media_previous",
+ "media_pause",
+ "voice_recognize",
+ "enter",
+ "left",
+ "right",
+ "up",
+ "down"
+};</webidl>
+ <EnumValue stringvalue="home">
+ <webidl> "home</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="back">
+ <webidl> "back</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="search">
+ <webidl> "search</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="call">
+ <webidl> "call</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="end_call">
+ <webidl> "end_call</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="media_play">
+ <webidl> "media_play</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="media_next">
+ <webidl> "media_next</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="media_previous">
+ <webidl> "media_previous</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="media_pause">
+ <webidl> "media_pause</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="voice_recognize">
+ <webidl> "voice_recognize</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="enter">
+ <webidl> "enter</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="left">
+ <webidl> "left</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="right">
+ <webidl> "right</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="up">
+ <webidl> "up</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="down">
+ <webidl> "down</webidl>
+ </EnumValue>
+ </Enum>
+ <Enum name="ButtonEventType" id="::ButtonEventType">
+ <webidl>enum ButtonEventType {
+ "press",
+ "long_press",
+ "release"
+};</webidl>
+ <EnumValue stringvalue="press">
+ <webidl> "press</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="long_press">
+ <webidl> "long_press</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="release">
+ <webidl> "release</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="VehicleButton" id="::VehicleButton">
+ <webidl>[NoInterfaceObject]
+interface VehicleButton {
+ readonly attribute <ref>Button</ref> button;
+ readonly attribute <ref>ButtonEventType</ref> state;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="button" id="::VehicleButton::button">
+ <webidl> readonly attribute <ref>Button</ref> button;</webidl>
+ <Type name="Button"/>
</Attribute>
- <Attribute name="length" id="::Size::length">
- <webidl> attribute unsigned long length;</webidl>
- <descriptive>
- <description>
- <p>
-Length
- </p>
- </description>
- <brief>
- MUST return length of vehicle in mm
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ <Attribute readonly="readonly" name="state" id="::VehicleButton::state">
+ <webidl> readonly attribute <ref>ButtonEventType</ref> state;</webidl>
+ <Type name="ButtonEventType"/>
</Attribute>
</Interface>
- <Interface name="FuelInfo" id="::FuelInfo">
+ <Interface name="ButtonEvent" id="::ButtonEvent">
<webidl>[NoInterfaceObject]
-interface FuelInfo : <ref>VehiclePropertyType</ref> {
- const unsigned short FUELTYPE_GASOLINE = 0;
- const unsigned short FUELTYPE_HIGH_OCTANE= 1;
- const unsigned short FUELTYPE_DIESEL = 2;
- const unsigned short FUELTYPE_ELECTRIC = 3;
- const unsigned short FUELTYPE_HYDROGEN = 4;
- const unsigned short REFUELPOSITION_LEFT = 0;
- const unsigned short REFUELPOSITION_RIGHT= 1;
- const unsigned short REFUELPOSITION_FRONT = 2;
- const unsigned short REFUELPOSITION_REAR = 3;
-
- attribute unsigned short type;
-
- attribute unsigned short refuelPosition;
+interface ButtonEvent : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>VehicleButton</ref>[] button;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="FUELTYPE_GASOLINE" value="0" id="::FuelInfo::FUELTYPE_GASOLINE">
- <webidl> const unsigned short FUELTYPE_GASOLINE = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="FUELTYPE_HIGH_OCTANE" value="1" id="::FuelInfo::FUELTYPE_HIGH_OCTANE">
- <webidl> const unsigned short FUELTYPE_HIGH_OCTANE= 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="FUELTYPE_DIESEL" value="2" id="::FuelInfo::FUELTYPE_DIESEL">
- <webidl> const unsigned short FUELTYPE_DIESEL = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="FUELTYPE_ELECTRIC" value="3" id="::FuelInfo::FUELTYPE_ELECTRIC">
- <webidl> const unsigned short FUELTYPE_ELECTRIC = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="FUELTYPE_HYDROGEN" value="4" id="::FuelInfo::FUELTYPE_HYDROGEN">
- <webidl> const unsigned short FUELTYPE_HYDROGEN = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="REFUELPOSITION_LEFT" value="0" id="::FuelInfo::REFUELPOSITION_LEFT">
- <webidl> const unsigned short REFUELPOSITION_LEFT = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="REFUELPOSITION_RIGHT" value="1" id="::FuelInfo::REFUELPOSITION_RIGHT">
- <webidl> const unsigned short REFUELPOSITION_RIGHT= 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="REFUELPOSITION_FRONT" value="2" id="::FuelInfo::REFUELPOSITION_FRONT">
- <webidl> const unsigned short REFUELPOSITION_FRONT = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="REFUELPOSITION_REAR" value="3" id="::FuelInfo::REFUELPOSITION_REAR">
- <webidl> const unsigned short REFUELPOSITION_REAR = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="type" id="::FuelInfo::type">
- <webidl> attribute unsigned short type;</webidl>
- <descriptive>
- <description>
- <p>
-Type
- </p>
- </description>
- <brief>
- MUST return type of fuel. integer 0-4 (see
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="refuelPosition" id="::FuelInfo::refuelPosition">
- <webidl> attribute unsigned short refuelPosition;</webidl>
- <descriptive>
- <description>
- <p>
-RefuelPosition
- </p>
- </description>
- <brief>
- MUST return position of refuling (see
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="button" id="::ButtonEvent::button">
+ <webidl> readonly attribute <ref>VehicleButton</ref>[] button;</webidl>
+ <Type type="array">
+ <Type name="VehicleButton"/>
+ </Type>
</Attribute>
</Interface>
- <Interface name="VehicleType" id="::VehicleType">
+ <Interface name="DrivingMode" id="::DrivingMode">
<webidl>[NoInterfaceObject]
-interface VehicleType : <ref>VehiclePropertyType</ref> {
- const unsigned short VEHICLETYPE_SEDAN = 0;
- const unsigned short VEHICLETYPE_COUPE= 1;
- const unsigned short VEHICLETYPE_CABRIOLE = 2;
- const unsigned short VEHICLETYPE_ROADSTER = 3;
- const unsigned short VEHICLETYPE_SUV = 4;
- const unsigned short VEHICLETYPE_TRUCK = 5;
-
- attribute unsigned short type;
+interface DrivingMode : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean mode;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="VEHICLETYPE_SEDAN" value="0" id="::VehicleType::VEHICLETYPE_SEDAN">
- <webidl> const unsigned short VEHICLETYPE_SEDAN = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLETYPE_COUPE" value="1" id="::VehicleType::VEHICLETYPE_COUPE">
- <webidl> const unsigned short VEHICLETYPE_COUPE= 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLETYPE_CABRIOLE" value="2" id="::VehicleType::VEHICLETYPE_CABRIOLE">
- <webidl> const unsigned short VEHICLETYPE_CABRIOLE = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLETYPE_ROADSTER" value="3" id="::VehicleType::VEHICLETYPE_ROADSTER">
- <webidl> const unsigned short VEHICLETYPE_ROADSTER = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLETYPE_SUV" value="4" id="::VehicleType::VEHICLETYPE_SUV">
- <webidl> const unsigned short VEHICLETYPE_SUV = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="VEHICLETYPE_TRUCK" value="5" id="::VehicleType::VEHICLETYPE_TRUCK">
- <webidl> const unsigned short VEHICLETYPE_TRUCK = 5;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="type" id="::VehicleType::type">
- <webidl> attribute unsigned short type;</webidl>
- <descriptive>
- <description>
- <p>
-Type
- </p>
- </description>
- <brief>
- MUST return type of Vehicle. Integer 0-5 (see
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="mode" id="::DrivingMode::mode">
+ <webidl> readonly attribute boolean mode;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="Doors" id="::Doors">
+ <Interface name="DrivingMode" id="::DrivingMode">
<webidl>[NoInterfaceObject]
-interface Doors : <ref>VehiclePropertyType</ref> {
-
- attribute sequence<unsigned short> doorsPerRow;
+interface DrivingMode : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean mode;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="doorsPerRow" id="::Doors::doorsPerRow">
- <webidl> attribute sequence<unsigned short> doorsPerRow;</webidl>
- <descriptive>
- <description>
- <p>
-DoorsPerRow
- </p>
- </description>
- <brief>
- MUST return Number of doors in each row. The index represents the row. Position '0'
-represents the first row, '1' the second row etc.
-Example a common mini-van may have Doors[0] = 2 doors,
-Doors[1] = 1 (side door), Doors[2] = 1 (trunk).
- </brief>
- </descriptive>
- <Type type="sequence">
- <Type type="unsigned short"/>
- </Type>
+ <Attribute readonly="readonly" name="mode" id="::DrivingMode::mode">
+ <webidl> readonly attribute boolean mode;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="TransmissionGearType" id="::TransmissionGearType">
+ <Interface name="NightMode" id="::NightMode">
<webidl>[NoInterfaceObject]
-interface TransmissionGearType : <ref>VehiclePropertyType</ref> {
- const unsigned short TRANSMISSIONGEARTYPE_AUTO=0;
- const unsigned short TRANSMISSIONGEARTYPE_MANUAL=1;
- const unsigned short TRANSMISSIONGEARTYPE_CV=2;
-
- attribute unsigned short transmissionGearType;
+interface NightMode : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean mode;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="TRANSMISSIONGEARTYPE_AUTO" value="0" id="::TransmissionGearType::TRANSMISSIONGEARTYPE_AUTO">
- <webidl> const unsigned short TRANSMISSIONGEARTYPE_AUTO=0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONGEARTYPE_MANUAL" value="1" id="::TransmissionGearType::TRANSMISSIONGEARTYPE_MANUAL">
- <webidl> const unsigned short TRANSMISSIONGEARTYPE_MANUAL=1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="TRANSMISSIONGEARTYPE_CV" value="2" id="::TransmissionGearType::TRANSMISSIONGEARTYPE_CV">
- <webidl> const unsigned short TRANSMISSIONGEARTYPE_CV=2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="transmissionGearType" id="::TransmissionGearType::transmissionGearType">
- <webidl> attribute unsigned short transmissionGearType;</webidl>
- <descriptive>
- <description>
- <p>
-TransmissionGearType
- </p>
- </description>
- <brief>
- MUST return transmission gear type of either Automatic, Manual or Constant Variable (CV). See
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="mode" id="::NightMode::mode">
+ <webidl> readonly attribute boolean mode;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="WheelInformation" id="::WheelInformation">
+ <Interface name="Odometer" id="::Odometer">
<webidl>[NoInterfaceObject]
-interface WheelInformation : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short frontWheelRadius;
-
- attribute unsigned short rearWheelRadius;
-
- attribute unsigned long wheelTrack;
-
- attribute boolean ABS;
+interface Odometer : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long? distanceSinceStart;
+ readonly attribute unsigned long distanceTotal;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="frontWheelRadius" id="::WheelInformation::frontWheelRadius">
- <webidl> attribute unsigned short frontWheelRadius;</webidl>
- <descriptive>
- <description>
- <p>
-FrontWheelRadius
- </p>
- </description>
- <brief>
- MUST return Radius of Front Wheel(s) in mm.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="rearWheelRadius" id="::WheelInformation::rearWheelRadius">
- <webidl> attribute unsigned short rearWheelRadius;</webidl>
- <descriptive>
- <description>
- <p>
-RearWheelRadius
- </p>
- </description>
- <brief>
- MUST return Radius of Rear Wheel(s) in mm.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="distanceSinceStart" id="::Odometer::distanceSinceStart">
+ <webidl> readonly attribute unsigned long? distanceSinceStart;</webidl>
+ <Type type="unsigned long" nullable="nullable"/>
</Attribute>
- <Attribute name="wheelTrack" id="::WheelInformation::wheelTrack">
- <webidl> attribute unsigned long wheelTrack;</webidl>
- <descriptive>
- <description>
- <p>
-WheelTrack
- </p>
- </description>
- <brief>
- MUST return Wheel Track in mm.
- </brief>
- </descriptive>
+ <Attribute readonly="readonly" name="distanceTotal" id="::Odometer::distanceTotal">
+ <webidl> readonly attribute unsigned long distanceTotal;</webidl>
<Type type="unsigned long"/>
</Attribute>
- <Attribute name="ABS" id="::WheelInformation::ABS">
- <webidl> attribute boolean ABS;</webidl>
- <descriptive>
- <description>
- <p>
-ABS
- </p>
- </description>
- <brief>
- MUST return Antilock Brake System status: on = true, off = false.
- </brief>
- </descriptive>
- <Type type="boolean"/>
- </Attribute>
</Interface>
- <Interface name="Odometer" id="::Odometer">
+ <Interface name="TransmissionOil" id="::TransmissionOil">
<webidl>[NoInterfaceObject]
-interface Odometer : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned long odometer;
+interface TransmissionOil : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet? wear;
+ readonly attribute short? temperature;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="odometer" id="::Odometer::odometer">
- <webidl> attribute unsigned long odometer;</webidl>
- <descriptive>
- <description>
- <p>
-Odometer
- </p>
- </description>
- <brief>
- MUST return Distance traveled in km
- </brief>
- </descriptive>
- <Type type="unsigned long"/>
+ <Attribute readonly="readonly" name="wear" id="::TransmissionOil::wear">
+ <webidl> readonly attribute octet? wear;</webidl>
+ <Type type="octet" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="temperature" id="::TransmissionOil::temperature">
+ <webidl> readonly attribute short? temperature;</webidl>
+ <Type type="short" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="Fluid" id="::Fluid">
+ <Interface name="TransmissionClutch" id="::TransmissionClutch">
<webidl>[NoInterfaceObject]
-interface Fluid : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short transmission;
-
- attribute unsigned short brake;
-
- attribute unsigned short washer;
+interface TransmissionClutch : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet wear;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="transmission" id="::Fluid::transmission">
- <webidl> attribute unsigned short transmission;</webidl>
- <descriptive>
- <description>
- <p>
-Transmission
- </p>
- </description>
- <brief>
- MUST return Transmission fluid level percentage. 0-100.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="brake" id="::Fluid::brake">
- <webidl> attribute unsigned short brake;</webidl>
- <descriptive>
- <description>
- <p>
-Brake
- </p>
- </description>
- <brief>
- MUST return Brake fluid level percentage. 0-100.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="washer" id="::Fluid::washer">
- <webidl> attribute unsigned short washer;</webidl>
- <descriptive>
- <description>
- <p>
-Washer
- </p>
- </description>
- <brief>
- MUST return Washer fluid level percentage. 0-100.
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute readonly="readonly" name="wear" id="::TransmissionClutch::wear">
+ <webidl> readonly attribute octet wear;</webidl>
+ <Type type="octet"/>
</Attribute>
</Interface>
- <Interface name="Battery" id="::Battery">
+ <Interface name="BrakeMaintenance" id="::BrakeMaintenance">
<webidl>[NoInterfaceObject]
-interface Battery : <ref>VehiclePropertyType</ref> {
-
- attribute double voltage;
-
- attribute double current;
+interface BrakeMaintenance : <ref>VehicleCommonDataType</ref> {
+ readonly attribute octet? fluidLevel;
+ readonly attribute boolean? fluidLevelLow;
+ readonly attribute octet? padWear;
+ readonly attribute boolean? brakesWorn;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="voltage" id="::Battery::voltage">
- <webidl> attribute double voltage;</webidl>
- <descriptive>
- <description>
- <p>
-Voltage
- </p>
- </description>
- <brief>
- MUST return battery voltage.
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="fluidLevel" id="::BrakeMaintenance::fluidLevel">
+ <webidl> readonly attribute octet? fluidLevel;</webidl>
+ <Type type="octet" nullable="nullable"/>
</Attribute>
- <Attribute name="current" id="::Battery::current">
- <webidl> attribute double current;</webidl>
- <descriptive>
- <description>
- <p>
-Current
- </p>
- </description>
- <brief>
- MUST return battery current in Amperes
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="fluidLevelLow" id="::BrakeMaintenance::fluidLevelLow">
+ <webidl> readonly attribute boolean? fluidLevelLow;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="padWear" id="::BrakeMaintenance::padWear">
+ <webidl> readonly attribute octet? padWear;</webidl>
+ <Type type="octet" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="brakesWorn" id="::BrakeMaintenance::brakesWorn">
+ <webidl> readonly attribute boolean? brakesWorn;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::BrakeMaintenance::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="TirePressure" id="::TirePressure">
+ <Interface name="WasherFluid" id="::WasherFluid">
<webidl>[NoInterfaceObject]
-interface TirePressure : <ref>VehiclePropertyType</ref> {
-
- attribute double leftFront;
-
- attribute double rightFront;
-
- attribute double leftRear;
-
- attribute double rightRear;
+interface WasherFluid : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? level;
+ readonly attribute boolean? levelLow;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="leftFront" id="::TirePressure::leftFront">
- <webidl> attribute double leftFront;</webidl>
- <descriptive>
- <description>
- <p>
-LeftFront
- </p>
- </description>
- <brief>
- MUST return left front tire pressure in kPa.
- </brief>
- </descriptive>
- <Type type="double"/>
- </Attribute>
- <Attribute name="rightFront" id="::TirePressure::rightFront">
- <webidl> attribute double rightFront;</webidl>
- <descriptive>
- <description>
- <p>
-RightFront
- </p>
- </description>
- <brief>
- MUST return right front tire pressure in kPa.
- </brief>
- </descriptive>
- <Type type="double"/>
- </Attribute>
- <Attribute name="leftRear" id="::TirePressure::leftRear">
- <webidl> attribute double leftRear;</webidl>
- <descriptive>
- <description>
- <p>
-LeftRear
- </p>
- </description>
- <brief>
- MUST return left rear tire pressure in kPa.
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="level" id="::WasherFluid::level">
+ <webidl> readonly attribute unsigned short? level;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
</Attribute>
- <Attribute name="rightRear" id="::TirePressure::rightRear">
- <webidl> attribute double rightRear;</webidl>
- <descriptive>
- <description>
- <p>
-RightRear
- </p>
- </description>
- <brief>
- MUST return right rear tire pressure in kPa.
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="levelLow" id="::WasherFluid::levelLow">
+ <webidl> readonly attribute boolean? levelLow;</webidl>
+ <Type type="boolean" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="TireTemperature" id="::TireTemperature">
+ <Interface name="MalfunctionIndicator" id="::MalfunctionIndicator">
<webidl>[NoInterfaceObject]
-interface TireTemperature : <ref>VehiclePropertyType</ref> {
-
- attribute double leftFront;
-
- attribute double rightFront;
-
- attribute double leftRear;
-
- attribute double rightRear;
+interface MalfunctionIndicator : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean on;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="leftFront" id="::TireTemperature::leftFront">
- <webidl> attribute double leftFront;</webidl>
- <descriptive>
- <description>
- <p>
-LeftFront
- </p>
- </description>
- <brief>
- MUST return left front tire temperature in Celcius.
- </brief>
- </descriptive>
- <Type type="double"/>
- </Attribute>
- <Attribute name="rightFront" id="::TireTemperature::rightFront">
- <webidl> attribute double rightFront;</webidl>
- <descriptive>
- <description>
- <p>
-RightFront
- </p>
- </description>
- <brief>
- MUST return right front tire temperature in Celcius.
- </brief>
- </descriptive>
- <Type type="double"/>
- </Attribute>
- <Attribute name="leftRear" id="::TireTemperature::leftRear">
- <webidl> attribute double leftRear;</webidl>
- <descriptive>
- <description>
- <p>
-LeftRear
- </p>
- </description>
- <brief>
- MUST return left rear tire temperature in Celcius.
- </brief>
- </descriptive>
- <Type type="double"/>
- </Attribute>
- <Attribute name="rightRear" id="::TireTemperature::rightRear">
- <webidl> attribute double rightRear;</webidl>
- <descriptive>
- <description>
- <p>
-RightRear
- </p>
- </description>
- <brief>
- MUST return right rear tire temperature in Celcius.
- </brief>
- </descriptive>
- <Type type="double"/>
+ <Attribute readonly="readonly" name="on" id="::MalfunctionIndicator::on">
+ <webidl> readonly attribute boolean on;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="SecurityAlert" id="::SecurityAlert">
+ <Interface name="BatteryStatus" id="::BatteryStatus">
<webidl>[NoInterfaceObject]
-interface SecurityAlert : <ref>VehiclePropertyType</ref> {
-
- attribute boolean securityAlert;
+interface BatteryStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short? chargeLevel;
+ readonly attribute unsigned short? voltage;
+ readonly attribute unsigned short? current;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="securityAlert" id="::SecurityAlert::securityAlert">
- <webidl> attribute boolean securityAlert;</webidl>
- <descriptive>
- <description>
- <p>
-SecurityAlert
- </p>
- </description>
- <brief>
- MUST return
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="chargeLevel" id="::BatteryStatus::chargeLevel">
+ <webidl> readonly attribute unsigned short? chargeLevel;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="voltage" id="::BatteryStatus::voltage">
+ <webidl> readonly attribute unsigned short? voltage;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="current" id="::BatteryStatus::current">
+ <webidl> readonly attribute unsigned short? current;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::BatteryStatus::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="ParkingBrake" id="::ParkingBrake">
+ <Interface name="Tire" id="::Tire">
<webidl>[NoInterfaceObject]
-interface ParkingBrake : <ref>VehiclePropertyType</ref> {
-
- attribute boolean parkingBrake;
+interface Tire : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean? pressureLow;
+ readonly attribute unsigned short? pressure;
+ readonly attribute short? temperature;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="parkingBrake" id="::ParkingBrake::parkingBrake">
- <webidl> attribute boolean parkingBrake;</webidl>
- <descriptive>
- <description>
- <p>
-ParkingBrake
-must return status of parking brake: Engaged = true, Disengaged = false.
- </p>
- </description>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="pressureLow" id="::Tire::pressureLow">
+ <webidl> readonly attribute boolean? pressureLow;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="pressure" id="::Tire::pressure">
+ <webidl> readonly attribute unsigned short? pressure;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="temperature" id="::Tire::temperature">
+ <webidl> readonly attribute short? temperature;</webidl>
+ <Type type="short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::Tire::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="ParkingLight" id="::ParkingLight">
+ <Interface name="Diagnostic" id="::Diagnostic">
<webidl>[NoInterfaceObject]
-interface ParkingLight : <ref>VehiclePropertyType</ref> {
-
- attribute boolean parkingLight;
+interface Diagnostic : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned long accumulatedEngineRuntime;
+ readonly attribute unsigned long distanceWithMILOn;
+ readonly attribute unsigned long distanceSinceCodeCleared;
+ readonly attribute unsigned long timeRunMILOn;
+ readonly attribute unsigned long timeTroubleCodeClear;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="parkingLight" id="::ParkingLight::parkingLight">
- <webidl> attribute boolean parkingLight;</webidl>
- <descriptive>
- <description>
- <p>
-ParkingLight
-must return status of parking light: Engaged = true, Disengaged = false.
- </p>
- </description>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="accumulatedEngineRuntime" id="::Diagnostic::accumulatedEngineRuntime">
+ <webidl> readonly attribute unsigned long accumulatedEngineRuntime;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="distanceWithMILOn" id="::Diagnostic::distanceWithMILOn">
+ <webidl> readonly attribute unsigned long distanceWithMILOn;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="distanceSinceCodeCleared" id="::Diagnostic::distanceSinceCodeCleared">
+ <webidl> readonly attribute unsigned long distanceSinceCodeCleared;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="timeRunMILOn" id="::Diagnostic::timeRunMILOn">
+ <webidl> readonly attribute unsigned long timeRunMILOn;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="timeTroubleCodeClear" id="::Diagnostic::timeTroubleCodeClear">
+ <webidl> readonly attribute unsigned long timeTroubleCodeClear;</webidl>
+ <Type type="unsigned long"/>
</Attribute>
</Interface>
- <Interface name="HazardLight" id="::HazardLight">
+ <Interface name="LanguageConfiguration" id="::LanguageConfiguration">
<webidl>[NoInterfaceObject]
-interface HazardLight : <ref>VehiclePropertyType</ref> {
-
- attribute boolean hazardLight;
+interface LanguageConfiguration : <ref>VehicleCommonDataType</ref> {
+ attribute DOMString? language;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="hazardLight" id="::HazardLight::hazardLight">
- <webidl> attribute boolean hazardLight;</webidl>
- <descriptive>
- <description>
- <p>
-HazardLight
-must return status of hazard light: Engaged = true, Disengaged = false.
- </p>
- </description>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute name="language" id="::LanguageConfiguration::language">
+ <webidl> attribute DOMString? language;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="AntilockBrakingSystem" id="::AntilockBrakingSystem">
+ <Interface name="UnitsOfMeasure" id="::UnitsOfMeasure">
<webidl>[NoInterfaceObject]
-interface AntilockBrakingSystem : <ref>VehiclePropertyType</ref> {
-
- attribute boolean antilockBrakingSystem;
+interface UnitsOfMeasure : <ref>VehicleCommonDataType</ref> {
+ attribute boolean? isMKSSystem;
+ attribute DOMString? unitsFuelVolume;
+ attribute DOMString? unitsDistance;
+ attribute DOMString? unitsSpeed;
+ attribute DOMString? unitsFuelConsumption;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="antilockBrakingSystem" id="::AntilockBrakingSystem::antilockBrakingSystem">
- <webidl> attribute boolean antilockBrakingSystem;</webidl>
- <descriptive>
- <description>
- <p>
-AntilockBrakingSystem
- </p>
- </description>
- <brief>
- MUST return whether Antilock Braking System is Idle (false) or Engaged (true)
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute name="isMKSSystem" id="::UnitsOfMeasure::isMKSSystem">
+ <webidl> attribute boolean? isMKSSystem;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="unitsFuelVolume" id="::UnitsOfMeasure::unitsFuelVolume">
+ <webidl> attribute DOMString? unitsFuelVolume;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="unitsDistance" id="::UnitsOfMeasure::unitsDistance">
+ <webidl> attribute DOMString? unitsDistance;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="unitsSpeed" id="::UnitsOfMeasure::unitsSpeed">
+ <webidl> attribute DOMString? unitsSpeed;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="unitsFuelConsumption" id="::UnitsOfMeasure::unitsFuelConsumption">
+ <webidl> attribute DOMString? unitsFuelConsumption;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="TractionControlSystem" id="::TractionControlSystem">
+ <Interface name="Mirror" id="::Mirror">
<webidl>[NoInterfaceObject]
-interface TractionControlSystem : <ref>VehiclePropertyType</ref> {
-
- attribute boolean tractionControlSystem;
+interface Mirror : <ref>VehicleCommonDataType</ref> {
+ attribute unsigned short? mirrorTilt;
+ attribute unsigned short? mirrorPan;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="tractionControlSystem" id="::TractionControlSystem::tractionControlSystem">
- <webidl> attribute boolean tractionControlSystem;</webidl>
- <descriptive>
- <description>
- <p>
-TractionControlSystem
- </p>
- </description>
- <brief>
- MUST return whether Traction Control System is Off (false) or On (true)
- </brief>
- </descriptive>
- <Type type="boolean"/>
+ <Attribute name="mirrorTilt" id="::Mirror::mirrorTilt">
+ <webidl> attribute unsigned short? mirrorTilt;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="mirrorPan" id="::Mirror::mirrorPan">
+ <webidl> attribute unsigned short? mirrorPan;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::Mirror::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="VehicleTopSpeedLimit" id="::VehicleTopSpeedLimit">
+ <Interface name="SeatAdjustment" id="::SeatAdjustment">
<webidl>[NoInterfaceObject]
-interface VehicleTopSpeedLimit : <ref>VehiclePropertyType</ref> {
-
- attribute unsigned short vehicleTopSpeedLimit;
+interface SeatAdjustment : <ref>VehicleCommonDataType</ref> {
+ attribute unsigned short? reclineSeatBack;
+ attribute unsigned short? seatSlide;
+ attribute unsigned short? seatCushionHeight;
+ attribute unsigned short? seatHeadrest;
+ attribute unsigned short? seatBackCushion;
+ attribute unsigned short? seatSideCushion;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="vehicleTopSpeedLimit" id="::VehicleTopSpeedLimit::vehicleTopSpeedLimit">
- <webidl> attribute unsigned short vehicleTopSpeedLimit;</webidl>
- <descriptive>
- <description>
- <p>
-VehicleTopSpeedLimit
- </p>
- </description>
- <brief>
- MUST returns top rated speed in km/h. 0 = no limit
- </brief>
- </descriptive>
- <Type type="unsigned short"/>
+ <Attribute name="reclineSeatBack" id="::SeatAdjustment::reclineSeatBack">
+ <webidl> attribute unsigned short? reclineSeatBack;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="seatSlide" id="::SeatAdjustment::seatSlide">
+ <webidl> attribute unsigned short? seatSlide;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="seatCushionHeight" id="::SeatAdjustment::seatCushionHeight">
+ <webidl> attribute unsigned short? seatCushionHeight;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="seatHeadrest" id="::SeatAdjustment::seatHeadrest">
+ <webidl> attribute unsigned short? seatHeadrest;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="seatBackCushion" id="::SeatAdjustment::seatBackCushion">
+ <webidl> attribute unsigned short? seatBackCushion;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="seatSideCushion" id="::SeatAdjustment::seatSideCushion">
+ <webidl> attribute unsigned short? seatSideCushion;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::SeatAdjustment::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="AirbagStatus" id="::AirbagStatus">
+ <Enum name="DriveModeEnum" id="::DriveModeEnum">
+ <webidl>enum DriveModeEnum {
+ "comfort",
+ "auto",
+ "sport",
+ "eco",
+ "manual",
+ "winter"
+};</webidl>
+ <EnumValue stringvalue="comfort">
+ <webidl> "comfort</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="auto">
+ <webidl> "auto</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="sport">
+ <webidl> "sport</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="eco">
+ <webidl> "eco</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="manual">
+ <webidl> "manual</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="winter">
+ <webidl> "winter</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="DriveMode" id="::DriveMode">
<webidl>[NoInterfaceObject]
-interface AirbagStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short AIRBAGLOCATION_DRIVER = 0;
- const unsigned short AIRBAGLOCATION_PASSENGER= 1;
- const unsigned short AIRBAGLOCATION_LEFTSIDE = 2;
- const unsigned short AIRBAGLOCATION_RIGHTSIDE = 3;
- const unsigned short AIRBAGSTATUS_INACTIVE = 0;
- const unsigned short AIRBAGSTATUS_ACTIVE = 1;
- const unsigned short AIRBAGSTATUS_DEPLOYED = 2;
-
- attribute object airbagStatus;
+interface DriveMode : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>DriveModeEnum</ref>? driveMode;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="AIRBAGLOCATION_DRIVER" value="0" id="::AirbagStatus::AIRBAGLOCATION_DRIVER">
- <webidl> const unsigned short AIRBAGLOCATION_DRIVER = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRBAGLOCATION_PASSENGER" value="1" id="::AirbagStatus::AIRBAGLOCATION_PASSENGER">
- <webidl> const unsigned short AIRBAGLOCATION_PASSENGER= 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRBAGLOCATION_LEFTSIDE" value="2" id="::AirbagStatus::AIRBAGLOCATION_LEFTSIDE">
- <webidl> const unsigned short AIRBAGLOCATION_LEFTSIDE = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRBAGLOCATION_RIGHTSIDE" value="3" id="::AirbagStatus::AIRBAGLOCATION_RIGHTSIDE">
- <webidl> const unsigned short AIRBAGLOCATION_RIGHTSIDE = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRBAGSTATUS_INACTIVE" value="0" id="::AirbagStatus::AIRBAGSTATUS_INACTIVE">
- <webidl> const unsigned short AIRBAGSTATUS_INACTIVE = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRBAGSTATUS_ACTIVE" value="1" id="::AirbagStatus::AIRBAGSTATUS_ACTIVE">
- <webidl> const unsigned short AIRBAGSTATUS_ACTIVE = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="AIRBAGSTATUS_DEPLOYED" value="2" id="::AirbagStatus::AIRBAGSTATUS_DEPLOYED">
- <webidl> const unsigned short AIRBAGSTATUS_DEPLOYED = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="airbagStatus" id="::AirbagStatus::airbagStatus">
- <webidl> attribute object airbagStatus;</webidl>
- <descriptive>
- <description>
- <p>
-AirbagStatus
- </p>
- </description>
- <brief>
- MUST returns a dictionary of Airbag (byte) and Status (byte) (see
- </brief>
- </descriptive>
- <Type type="object"/>
+ <Attribute name="driveMode" id="::DriveMode::driveMode">
+ <webidl> attribute <ref>DriveModeEnum</ref>? driveMode;</webidl>
+ <Type name="DriveModeEnum" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="DoorStatus" id="::DoorStatus">
+ <Interface name="DashboardIllumination" id="::DashboardIllumination">
<webidl>[NoInterfaceObject]
-interface DoorStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short DOORLOCATION_DRIVER= 0;
- const unsigned short DOORLOCATION_PASSENGER = 1;
- const unsigned short DOORLOCATION_LEFTREAR = 2;
- const unsigned short DOORLOCATION_RIGHTREAR = 3;
- const unsigned short DOORLOCATION_TRUNK = 4;
- const unsigned short DOORLOCATION_FUELCAP = 5;
- const unsigned short DOORLOCATION_HOOD = 6;
- const unsigned short DOORSTATUS_CLOSED = 0;
- const unsigned short DOORSTATUS_OPEN = 1;
- const unsigned short DOORSTATUS_AJAR = 2;
-
- attribute object doorStatus;
-
- attribute object doorLockStatus;
-
- attribute boolean childLockStatus;
+interface DashboardIllumination : <ref>VehicleCommonDataType</ref> {
+ attribute DOMString? dashboardIllumination;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="DOORLOCATION_DRIVER" value="0" id="::DoorStatus::DOORLOCATION_DRIVER">
- <webidl> const unsigned short DOORLOCATION_DRIVER= 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORLOCATION_PASSENGER" value="1" id="::DoorStatus::DOORLOCATION_PASSENGER">
- <webidl> const unsigned short DOORLOCATION_PASSENGER = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORLOCATION_LEFTREAR" value="2" id="::DoorStatus::DOORLOCATION_LEFTREAR">
- <webidl> const unsigned short DOORLOCATION_LEFTREAR = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORLOCATION_RIGHTREAR" value="3" id="::DoorStatus::DOORLOCATION_RIGHTREAR">
- <webidl> const unsigned short DOORLOCATION_RIGHTREAR = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORLOCATION_TRUNK" value="4" id="::DoorStatus::DOORLOCATION_TRUNK">
- <webidl> const unsigned short DOORLOCATION_TRUNK = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORLOCATION_FUELCAP" value="5" id="::DoorStatus::DOORLOCATION_FUELCAP">
- <webidl> const unsigned short DOORLOCATION_FUELCAP = 5;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORLOCATION_HOOD" value="6" id="::DoorStatus::DOORLOCATION_HOOD">
- <webidl> const unsigned short DOORLOCATION_HOOD = 6;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORSTATUS_CLOSED" value="0" id="::DoorStatus::DOORSTATUS_CLOSED">
- <webidl> const unsigned short DOORSTATUS_CLOSED = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORSTATUS_OPEN" value="1" id="::DoorStatus::DOORSTATUS_OPEN">
- <webidl> const unsigned short DOORSTATUS_OPEN = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DOORSTATUS_AJAR" value="2" id="::DoorStatus::DOORSTATUS_AJAR">
- <webidl> const unsigned short DOORSTATUS_AJAR = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="doorStatus" id="::DoorStatus::doorStatus">
- <webidl> attribute object doorStatus;</webidl>
- <descriptive>
- <description>
- <p>
-DoorStatus
- </p>
- </description>
- <brief>
- MUST returns dictionary of Door (byte) and Status (byte). See
- </brief>
- </descriptive>
- <Type type="object"/>
+ <Attribute name="dashboardIllumination" id="::DashboardIllumination::dashboardIllumination">
+ <webidl> attribute DOMString? dashboardIllumination;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
</Attribute>
- <Attribute name="doorLockStatus" id="::DoorStatus::doorLockStatus">
- <webidl> attribute object doorLockStatus;</webidl>
- <descriptive>
- <description>
- <p>
-DoorLockStatus
- </p>
- </description>
- <brief>
- MUST returns dictionary of Door (byte) and Status (bool locked = true, unlocked = false). See
- </brief>
- </descriptive>
- <Type type="object"/>
+ </Interface>
+ <Interface name="VehicleSound" id="::VehicleSound">
+ <webidl>[NoInterfaceObject]
+interface VehicleSound : <ref>VehicleCommonDataType</ref> {
+ attribute boolean activeNoiseControlMode;
+ attribute DOMString? engineSoundEnhancementMode;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="activeNoiseControlMode" id="::VehicleSound::activeNoiseControlMode">
+ <webidl> attribute boolean activeNoiseControlMode;</webidl>
+ <Type type="boolean"/>
</Attribute>
- <Attribute name="childLockStatus" id="::DoorStatus::childLockStatus">
- <webidl> attribute boolean childLockStatus;</webidl>
- <descriptive>
- <description>
- <p>
-ChildLockStatus
- </p>
- </description>
- <brief>
- MUST returns Child lock status of rear doors. active = true, inactive = false.
-Setting this to 'true' will prevent the rear doors from being opened
-from the inside.
- </brief>
- </descriptive>
+ <Attribute name="engineSoundEnhancementMode" id="::VehicleSound::engineSoundEnhancementMode">
+ <webidl> attribute DOMString? engineSoundEnhancementMode;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ </Interface>
+ <Interface name="AntilockBrakingSystem" id="::AntilockBrakingSystem">
+ <webidl>[NoInterfaceObject]
+interface AntilockBrakingSystem : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean enabled;
+ readonly attribute boolean engaged;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="enabled" id="::AntilockBrakingSystem::enabled">
+ <webidl> readonly attribute boolean enabled;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="engaged" id="::AntilockBrakingSystem::engaged">
+ <webidl> readonly attribute boolean engaged;</webidl>
<Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="SeatBeltStatus" id="::SeatBeltStatus">
+ <Interface name="TractionControlSystem" id="::TractionControlSystem">
<webidl>[NoInterfaceObject]
-interface SeatBeltStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short SEATBELTLOCATION_DRIVER= 0;
- const unsigned short SEATBELTLOCATION_MIDDLEFRONT = 1;
- const unsigned short SEATBELTLOCATION_PASSENGER = 2;
- const unsigned short SEATBELTLOCATION_LEFTREAR = 3;
- const unsigned short SEATBELTLOCATION_MIDDLEREAR = 4;
- const unsigned short SEATBELTLOCATION_RIGHTREAR = 5;
-
- attribute object seatBeltStatus;
+interface TractionControlSystem : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean enabled;
+ readonly attribute boolean engaged;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="SEATBELTLOCATION_DRIVER" value="0" id="::SeatBeltStatus::SEATBELTLOCATION_DRIVER">
- <webidl> const unsigned short SEATBELTLOCATION_DRIVER= 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="SEATBELTLOCATION_MIDDLEFRONT" value="1" id="::SeatBeltStatus::SEATBELTLOCATION_MIDDLEFRONT">
- <webidl> const unsigned short SEATBELTLOCATION_MIDDLEFRONT = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="SEATBELTLOCATION_PASSENGER" value="2" id="::SeatBeltStatus::SEATBELTLOCATION_PASSENGER">
- <webidl> const unsigned short SEATBELTLOCATION_PASSENGER = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="SEATBELTLOCATION_LEFTREAR" value="3" id="::SeatBeltStatus::SEATBELTLOCATION_LEFTREAR">
- <webidl> const unsigned short SEATBELTLOCATION_LEFTREAR = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="SEATBELTLOCATION_MIDDLEREAR" value="4" id="::SeatBeltStatus::SEATBELTLOCATION_MIDDLEREAR">
- <webidl> const unsigned short SEATBELTLOCATION_MIDDLEREAR = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="SEATBELTLOCATION_RIGHTREAR" value="5" id="::SeatBeltStatus::SEATBELTLOCATION_RIGHTREAR">
- <webidl> const unsigned short SEATBELTLOCATION_RIGHTREAR = 5;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="seatBeltStatus" id="::SeatBeltStatus::seatBeltStatus">
- <webidl> attribute object seatBeltStatus;</webidl>
- <descriptive>
- <description>
- <p>
-SeatBeltStatus
- </p>
- </description>
- <brief>
- MUST returns dictionary of Seat Belt (byte, see SEATBELTLOCATION) and Status (bool: Fasten = true, Unfastened = false)
- </brief>
- </descriptive>
- <Type type="object"/>
+ <Attribute readonly="readonly" name="enabled" id="::TractionControlSystem::enabled">
+ <webidl> readonly attribute boolean enabled;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="engaged" id="::TractionControlSystem::engaged">
+ <webidl> readonly attribute boolean engaged;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="OccupantStatus" id="::OccupantStatus">
+ <Interface name="ElectronicStabilityControl" id="::ElectronicStabilityControl">
<webidl>[NoInterfaceObject]
-interface OccupantStatus : <ref>VehiclePropertyType</ref> {
- const unsigned short OCCUPANTLOCATION_DRIVER = 0;
- const unsigned short OCCUPANTLOCATION_FRONTMIDDLE = 1;
- const unsigned short OCCUPANTLOCATION_PASSENGER= 2;
- const unsigned short OCCUPANTLOCATION_LEFTREAR = 3;
- const unsigned short OCCUPANTLOCATION_MIDDLEREAR = 4;
- const unsigned short OCCUPANTLOCATION_RIGHTREAR = 5;
- const unsigned short OCCUPANTSTATUS_VACANT = 0;
- const unsigned short OCCUPANTSTATUS_CHILD = 1;
- const unsigned short OCCUPANTSTATUS_ADULT = 2;
-
- attribute object occupantStatus;
+interface ElectronicStabilityControl : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean enabled;
+ readonly attribute boolean engaged;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="OCCUPANTLOCATION_DRIVER" value="0" id="::OccupantStatus::OCCUPANTLOCATION_DRIVER">
- <webidl> const unsigned short OCCUPANTLOCATION_DRIVER = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTLOCATION_FRONTMIDDLE" value="1" id="::OccupantStatus::OCCUPANTLOCATION_FRONTMIDDLE">
- <webidl> const unsigned short OCCUPANTLOCATION_FRONTMIDDLE = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTLOCATION_PASSENGER" value="2" id="::OccupantStatus::OCCUPANTLOCATION_PASSENGER">
- <webidl> const unsigned short OCCUPANTLOCATION_PASSENGER= 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTLOCATION_LEFTREAR" value="3" id="::OccupantStatus::OCCUPANTLOCATION_LEFTREAR">
- <webidl> const unsigned short OCCUPANTLOCATION_LEFTREAR = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTLOCATION_MIDDLEREAR" value="4" id="::OccupantStatus::OCCUPANTLOCATION_MIDDLEREAR">
- <webidl> const unsigned short OCCUPANTLOCATION_MIDDLEREAR = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTLOCATION_RIGHTREAR" value="5" id="::OccupantStatus::OCCUPANTLOCATION_RIGHTREAR">
- <webidl> const unsigned short OCCUPANTLOCATION_RIGHTREAR = 5;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTSTATUS_VACANT" value="0" id="::OccupantStatus::OCCUPANTSTATUS_VACANT">
- <webidl> const unsigned short OCCUPANTSTATUS_VACANT = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTSTATUS_CHILD" value="1" id="::OccupantStatus::OCCUPANTSTATUS_CHILD">
- <webidl> const unsigned short OCCUPANTSTATUS_CHILD = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="OCCUPANTSTATUS_ADULT" value="2" id="::OccupantStatus::OCCUPANTSTATUS_ADULT">
- <webidl> const unsigned short OCCUPANTSTATUS_ADULT = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="occupantStatus" id="::OccupantStatus::occupantStatus">
- <webidl> attribute object occupantStatus;</webidl>
- <descriptive>
- <description>
- <p>
-OccupantStatus
- </p>
- </description>
- <brief>
- MUST returns dictionary of Occupant (byte see OCCUPANTLOCATION) and Status (byte, see
- </brief>
- </descriptive>
- <Type type="object"/>
+ <Attribute readonly="readonly" name="enabled" id="::ElectronicStabilityControl::enabled">
+ <webidl> readonly attribute boolean enabled;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="engaged" id="::ElectronicStabilityControl::engaged">
+ <webidl> readonly attribute boolean engaged;</webidl>
+ <Type type="boolean"/>
</Attribute>
</Interface>
- <Interface name="ObstacleDistance" id="::ObstacleDistance">
+ <Interface name="TopSpeedLimit" id="::TopSpeedLimit">
<webidl>[NoInterfaceObject]
-interface ObstacleDistance : <ref>VehiclePropertyType</ref> {
- const unsigned short DISTANCESENSORLOCATION_LEFTFRONT = 0;
- const unsigned short DISTANCESENSORLOCATION_RIGHTFRONT = 1;
- const unsigned short DISTANCESENSORLOCATION_LEFTREAR = 2;
- const unsigned short DISTANCESENSORLOCATION_RIGHTREAR = 3;
- const unsigned short DISTANCESENSORLOCATION_LEFTBLINDSPOT = 4;
- const unsigned short DISTANCESENSORLOCATION_RIGHTBLINDSPOT = 5;
-
- attribute object obstacleDistance;
+interface TopSpeedLimit : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short speed;
};</webidl>
<ExtendedAttributeList>
<ExtendedAttribute name="NoInterfaceObject">
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="VehiclePropertyType"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Const name="DISTANCESENSORLOCATION_LEFTFRONT" value="0" id="::ObstacleDistance::DISTANCESENSORLOCATION_LEFTFRONT">
- <webidl> const unsigned short DISTANCESENSORLOCATION_LEFTFRONT = 0;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DISTANCESENSORLOCATION_RIGHTFRONT" value="1" id="::ObstacleDistance::DISTANCESENSORLOCATION_RIGHTFRONT">
- <webidl> const unsigned short DISTANCESENSORLOCATION_RIGHTFRONT = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DISTANCESENSORLOCATION_LEFTREAR" value="2" id="::ObstacleDistance::DISTANCESENSORLOCATION_LEFTREAR">
- <webidl> const unsigned short DISTANCESENSORLOCATION_LEFTREAR = 2;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DISTANCESENSORLOCATION_RIGHTREAR" value="3" id="::ObstacleDistance::DISTANCESENSORLOCATION_RIGHTREAR">
- <webidl> const unsigned short DISTANCESENSORLOCATION_RIGHTREAR = 3;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DISTANCESENSORLOCATION_LEFTBLINDSPOT" value="4" id="::ObstacleDistance::DISTANCESENSORLOCATION_LEFTBLINDSPOT">
- <webidl> const unsigned short DISTANCESENSORLOCATION_LEFTBLINDSPOT = 4;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Const name="DISTANCESENSORLOCATION_RIGHTBLINDSPOT" value="5" id="::ObstacleDistance::DISTANCESENSORLOCATION_RIGHTBLINDSPOT">
- <webidl> const unsigned short DISTANCESENSORLOCATION_RIGHTBLINDSPOT = 5;</webidl>
+ <Attribute readonly="readonly" name="speed" id="::TopSpeedLimit::speed">
+ <webidl> readonly attribute unsigned short speed;</webidl>
<Type type="unsigned short"/>
- </Const>
- <Attribute name="obstacleDistance" id="::ObstacleDistance::obstacleDistance">
- <webidl> attribute object obstacleDistance;</webidl>
- <descriptive>
- <description>
- <p>
-ObstacleDistance
- </p>
- </description>
- <brief>
- MUST returns dictionary of Distance Sensor (byte, see DISTANCESENSORLOCATION) and distance (double) in m.
- </brief>
- </descriptive>
- <Type type="object"/>
</Attribute>
</Interface>
-</Module>
-<Module name="Speech" id="::Speech">
- <webidl> module Speech {
-[Constructor]
-interface SpeechRecognition : <ref>EventTarget</ref> {
- attribute <ref>SpeechGrammarList</ref> grammars;
- attribute DOMString lang;
- attribute boolean continuous;
- attribute boolean interimResults;
- attribute unsigned long maxAlternatives;
- attribute DOMString serviceURI;
-
- void start();
- void stop();
- void abort();
-
- attribute <ref>EventHandler</ref> onaudiostart;
- attribute <ref>EventHandler</ref> onsoundstart;
- attribute <ref>EventHandler</ref> onspeechstart;
- attribute <ref>EventHandler</ref> onspeechend;
- attribute <ref>EventHandler</ref> onsoundend;
- attribute <ref>EventHandler</ref> onaudioend;
- attribute <ref>EventHandler</ref> onresult;
- attribute <ref>EventHandler</ref> onnomatch;
- attribute <ref>EventHandler</ref> onerror;
- attribute <ref>EventHandler</ref> onstart;
- attribute <ref>EventHandler</ref> onend;
-};
-
-enum ErrorCode {
- "no-speech",
- "aborted",
- "audio-capture",
- "network",
- "not-allowed",
- "service-not-allowed",
- "bad-grammar",
- "language-not-supported"
-};
-
-interface SpeechRecognitionError : <ref>Event</ref> {
- readonly attribute <ref>ErrorCode</ref> error;
- readonly attribute DOMString message;
-};
-
-interface SpeechRecognitionAlternative {
- readonly attribute DOMString transcript;
- readonly attribute float confidence;
-};
-
-interface SpeechRecognitionResult {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
- readonly attribute boolean final;
-};
-
-interface SpeechRecognitionResultList {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
-};
-
-interface SpeechRecognitionEvent : <ref>Event</ref> {
- readonly attribute unsigned long resultIndex;
- readonly attribute <ref>SpeechRecognitionResultList</ref> results;
- readonly attribute any interpretation;
- readonly attribute <ref>Document</ref> emma;
-};
-
-[Constructor]
-interface SpeechGrammar {
- attribute DOMString src;
- attribute float weight;
-};
-
-[Constructor]
-interface SpeechGrammarList {
- readonly attribute unsigned long length;
- getter <ref>SpeechGrammar</ref> item(unsigned long index);
- void addFromURI(DOMString src, optional float weight);
- void addFromString(DOMString string, optional float weight);
-};
-};</webidl>
- <Interface name="SpeechRecognition" id="::SpeechRecognition">
- <webidl>[Constructor]
-interface SpeechRecognition : <ref>EventTarget</ref> {
- attribute <ref>SpeechGrammarList</ref> grammars;
- attribute DOMString lang;
- attribute boolean continuous;
- attribute boolean interimResults;
- attribute unsigned long maxAlternatives;
- attribute DOMString serviceURI;
-
- void start();
- void stop();
- void abort();
-
- attribute <ref>EventHandler</ref> onaudiostart;
- attribute <ref>EventHandler</ref> onsoundstart;
- attribute <ref>EventHandler</ref> onspeechstart;
- attribute <ref>EventHandler</ref> onspeechend;
- attribute <ref>EventHandler</ref> onsoundend;
- attribute <ref>EventHandler</ref> onaudioend;
- attribute <ref>EventHandler</ref> onresult;
- attribute <ref>EventHandler</ref> onnomatch;
- attribute <ref>EventHandler</ref> onerror;
- attribute <ref>EventHandler</ref> onstart;
- attribute <ref>EventHandler</ref> onend;
+ <Interface name="AirbagStatus" id="::AirbagStatus">
+ <webidl>[NoInterfaceObject]
+interface AirbagStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean activated;
+ readonly attribute boolean deployed;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
- <ExtendedAttribute name="Constructor">
- <webidl>Constructor</webidl>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="EventTarget"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute name="grammars" id="::SpeechRecognition::grammars">
- <webidl> attribute <ref>SpeechGrammarList</ref> grammars;</webidl>
- <Type name="SpeechGrammarList"/>
- </Attribute>
- <Attribute name="lang" id="::SpeechRecognition::lang">
- <webidl> attribute DOMString lang;</webidl>
- <Type type="DOMString"/>
- </Attribute>
- <Attribute name="continuous" id="::SpeechRecognition::continuous">
- <webidl> attribute boolean continuous;</webidl>
+ <Attribute readonly="readonly" name="activated" id="::AirbagStatus::activated">
+ <webidl> readonly attribute boolean activated;</webidl>
<Type type="boolean"/>
</Attribute>
- <Attribute name="interimResults" id="::SpeechRecognition::interimResults">
- <webidl> attribute boolean interimResults;</webidl>
+ <Attribute readonly="readonly" name="deployed" id="::AirbagStatus::deployed">
+ <webidl> readonly attribute boolean deployed;</webidl>
<Type type="boolean"/>
</Attribute>
- <Attribute name="maxAlternatives" id="::SpeechRecognition::maxAlternatives">
- <webidl> attribute unsigned long maxAlternatives;</webidl>
- <Type type="unsigned long"/>
- </Attribute>
- <Attribute name="serviceURI" id="::SpeechRecognition::serviceURI">
- <webidl> attribute DOMString serviceURI;</webidl>
- <Type type="DOMString"/>
- </Attribute>
- <Operation name="start" id="::SpeechRecognition::start">
- <webidl> void start();</webidl>
- <Type type="void"/>
- <ArgumentList/>
- </Operation>
- <Operation name="stop" id="::SpeechRecognition::stop">
- <webidl> void stop();</webidl>
- <Type type="void"/>
- <ArgumentList/>
- </Operation>
- <Operation name="abort" id="::SpeechRecognition::abort">
- <webidl> void abort();</webidl>
- <Type type="void"/>
- <ArgumentList/>
- </Operation>
- <Attribute name="onaudiostart" id="::SpeechRecognition::onaudiostart">
- <webidl> attribute <ref>EventHandler</ref> onaudiostart;</webidl>
- <Type name="EventHandler"/>
- </Attribute>
- <Attribute name="onsoundstart" id="::SpeechRecognition::onsoundstart">
- <webidl> attribute <ref>EventHandler</ref> onsoundstart;</webidl>
- <Type name="EventHandler"/>
- </Attribute>
- <Attribute name="onspeechstart" id="::SpeechRecognition::onspeechstart">
- <webidl> attribute <ref>EventHandler</ref> onspeechstart;</webidl>
- <Type name="EventHandler"/>
- </Attribute>
- <Attribute name="onspeechend" id="::SpeechRecognition::onspeechend">
- <webidl> attribute <ref>EventHandler</ref> onspeechend;</webidl>
- <Type name="EventHandler"/>
- </Attribute>
- <Attribute name="onsoundend" id="::SpeechRecognition::onsoundend">
- <webidl> attribute <ref>EventHandler</ref> onsoundend;</webidl>
- <Type name="EventHandler"/>
- </Attribute>
- <Attribute name="onaudioend" id="::SpeechRecognition::onaudioend">
- <webidl> attribute <ref>EventHandler</ref> onaudioend;</webidl>
- <Type name="EventHandler"/>
+ <Attribute readonly="readonly" name="zone" id="::AirbagStatus::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
- <Attribute name="onresult" id="::SpeechRecognition::onresult">
- <webidl> attribute <ref>EventHandler</ref> onresult;</webidl>
- <Type name="EventHandler"/>
+ </Interface>
+ <Enum name="DoorOpenStatus" id="::DoorOpenStatus">
+ <webidl>enum DoorOpenStatus {
+ "open",
+ "ajar",
+ "closed"
+};</webidl>
+ <EnumValue stringvalue="open">
+ <webidl> "open</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="ajar">
+ <webidl> "ajar</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="closed">
+ <webidl> "closed</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="Door" id="::Door">
+ <webidl>[NoInterfaceObject]
+interface Door : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>DoorOpenStatus</ref> status;
+ attribute boolean lock;
+ readonly attribute <ref>Zone</ref>? zone;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="status" id="::Door::status">
+ <webidl> readonly attribute <ref>DoorOpenStatus</ref> status;</webidl>
+ <Type name="DoorOpenStatus"/>
</Attribute>
- <Attribute name="onnomatch" id="::SpeechRecognition::onnomatch">
- <webidl> attribute <ref>EventHandler</ref> onnomatch;</webidl>
- <Type name="EventHandler"/>
+ <Attribute name="lock" id="::Door::lock">
+ <webidl> attribute boolean lock;</webidl>
+ <Type type="boolean"/>
</Attribute>
- <Attribute name="onerror" id="::SpeechRecognition::onerror">
- <webidl> attribute <ref>EventHandler</ref> onerror;</webidl>
- <Type name="EventHandler"/>
+ <Attribute readonly="readonly" name="zone" id="::Door::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
- <Attribute name="onstart" id="::SpeechRecognition::onstart">
- <webidl> attribute <ref>EventHandler</ref> onstart;</webidl>
- <Type name="EventHandler"/>
+ </Interface>
+ <Interface name="ChildSafetyLock" id="::ChildSafetyLock">
+ <webidl>[NoInterfaceObject]
+interface ChildSafetyLock : <ref>VehicleCommonDataType</ref> {
+ attribute boolean lock;
+ readonly attribute <ref>Zone</ref>? zone;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="lock" id="::ChildSafetyLock::lock">
+ <webidl> attribute boolean lock;</webidl>
+ <Type type="boolean"/>
</Attribute>
- <Attribute name="onend" id="::SpeechRecognition::onend">
- <webidl> attribute <ref>EventHandler</ref> onend;</webidl>
- <Type name="EventHandler"/>
+ <Attribute readonly="readonly" name="zone" id="::ChildSafetyLock::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Enum name="ErrorCode" id="::ErrorCode">
- <webidl>enum ErrorCode {
- "no-speech",
- "aborted",
- "audio-capture",
- "network",
- "not-allowed",
- "service-not-allowed",
- "bad-grammar",
- "language-not-supported"
+ <Enum name="OccupantStatus" id="::OccupantStatus">
+ <webidl>enum OccupantStatus {
+ "adult",
+ "child",
+ "vacant"
};</webidl>
- <EnumValue stringvalue="no-speech">
- <webidl> "no-speech</webidl>
+ <EnumValue stringvalue="adult">
+ <webidl> "adult</webidl>
</EnumValue>
- <EnumValue stringvalue="aborted">
- <webidl> "aborted</webidl>
+ <EnumValue stringvalue="child">
+ <webidl> "child</webidl>
</EnumValue>
- <EnumValue stringvalue="audio-capture">
- <webidl> "audio-capture</webidl>
+ <EnumValue stringvalue="vacant">
+ <webidl> "vacant</webidl>
</EnumValue>
- <EnumValue stringvalue="network">
- <webidl> "network</webidl>
+ </Enum>
+ <Enum name="IdentificationType" id="::IdentificationType">
+ <webidl>enum IdentificationType {
+ "pin",
+ "keyfob",
+ "Bluetooth",
+ "NFC",
+ "fingerprint",
+ "camera",
+ "voice"
+};</webidl>
+ <EnumValue stringvalue="pin">
+ <webidl> "pin</webidl>
</EnumValue>
- <EnumValue stringvalue="not-allowed">
- <webidl> "not-allowed</webidl>
+ <EnumValue stringvalue="keyfob">
+ <webidl> "keyfob</webidl>
</EnumValue>
- <EnumValue stringvalue="service-not-allowed">
- <webidl> "service-not-allowed</webidl>
+ <EnumValue stringvalue="Bluetooth">
+ <webidl> "Bluetooth</webidl>
</EnumValue>
- <EnumValue stringvalue="bad-grammar">
- <webidl> "bad-grammar</webidl>
+ <EnumValue stringvalue="NFC">
+ <webidl> "NFC</webidl>
</EnumValue>
- <EnumValue stringvalue="language-not-supported">
- <webidl> "language-not-supported</webidl>
+ <EnumValue stringvalue="fingerprint">
+ <webidl> "fingerprint</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="camera">
+ <webidl> "camera</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="voice">
+ <webidl> "voice</webidl>
</EnumValue>
</Enum>
- <Interface name="SpeechRecognitionError" id="::SpeechRecognitionError">
- <webidl>interface SpeechRecognitionError : <ref>Event</ref> {
- readonly attribute <ref>ErrorCode</ref> error;
- readonly attribute DOMString message;
+ <Interface name="Seat" id="::Seat">
+ <webidl>[NoInterfaceObject]
+interface Seat : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>OccupantStatus</ref> occupant;
+ readonly attribute boolean seatbelt;
+ readonly attribute DOMString? occupantName;
+ readonly attribute <ref>IdentificationType</ref> identificationType;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="Event"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute readonly="readonly" name="error" id="::SpeechRecognitionError::error">
- <webidl> readonly attribute <ref>ErrorCode</ref> error;</webidl>
- <Type name="ErrorCode"/>
+ <Attribute readonly="readonly" name="occupant" id="::Seat::occupant">
+ <webidl> readonly attribute <ref>OccupantStatus</ref> occupant;</webidl>
+ <Type name="OccupantStatus"/>
</Attribute>
- <Attribute readonly="readonly" name="message" id="::SpeechRecognitionError::message">
- <webidl> readonly attribute DOMString message;</webidl>
- <Type type="DOMString"/>
+ <Attribute readonly="readonly" name="seatbelt" id="::Seat::seatbelt">
+ <webidl> readonly attribute boolean seatbelt;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="occupantName" id="::Seat::occupantName">
+ <webidl> readonly attribute DOMString? occupantName;</webidl>
+ <Type type="DOMString" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="identificationType" id="::Seat::identificationType">
+ <webidl> readonly attribute <ref>IdentificationType</ref> identificationType;</webidl>
+ <Type name="IdentificationType"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::Seat::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="SpeechRecognitionAlternative" id="::SpeechRecognitionAlternative">
- <webidl>interface SpeechRecognitionAlternative {
- readonly attribute DOMString transcript;
- readonly attribute float confidence;
+ <Interface name="Temperature" id="::Temperature">
+ <webidl>[NoInterfaceObject]
+interface Temperature : <ref>VehicleCommonDataType</ref> {
+ readonly attribute float interiorTemperature;
+ readonly attribute float exteriorTemperature;
};</webidl>
- <Attribute readonly="readonly" name="transcript" id="::SpeechRecognitionAlternative::transcript">
- <webidl> readonly attribute DOMString transcript;</webidl>
- <Type type="DOMString"/>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="interiorTemperature" id="::Temperature::interiorTemperature">
+ <webidl> readonly attribute float interiorTemperature;</webidl>
+ <Type type="float"/>
</Attribute>
- <Attribute readonly="readonly" name="confidence" id="::SpeechRecognitionAlternative::confidence">
- <webidl> readonly attribute float confidence;</webidl>
+ <Attribute readonly="readonly" name="exteriorTemperature" id="::Temperature::exteriorTemperature">
+ <webidl> readonly attribute float exteriorTemperature;</webidl>
<Type type="float"/>
</Attribute>
</Interface>
- <Interface name="SpeechRecognitionResult" id="::SpeechRecognitionResult">
- <webidl>interface SpeechRecognitionResult {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
- readonly attribute boolean final;
+ <Interface name="RainSensor" id="::RainSensor">
+ <webidl>[NoInterfaceObject]
+interface RainSensor : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short rain;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
- <Attribute readonly="readonly" name="length" id="::SpeechRecognitionResult::length">
- <webidl> readonly attribute unsigned long length;</webidl>
- <Type type="unsigned long"/>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="rain" id="::RainSensor::rain">
+ <webidl> readonly attribute unsigned short rain;</webidl>
+ <Type type="unsigned short"/>
</Attribute>
- <Operation getter="getter" name="item" id="::SpeechRecognitionResult::item">
- <webidl> getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);</webidl>
- <Type name="SpeechRecognitionAlternative"/>
- <ArgumentList>
- <Argument name="index">
- <Type type="unsigned long"/>
- </Argument>
- </ArgumentList>
- </Operation>
- <Attribute readonly="readonly" name="final" id="::SpeechRecognitionResult::final">
- <webidl> readonly attribute boolean final;</webidl>
- <Type type="boolean"/>
+ <Attribute readonly="readonly" name="zone" id="::RainSensor::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="SpeechRecognitionResultList" id="::SpeechRecognitionResultList">
- <webidl>interface SpeechRecognitionResultList {
- readonly attribute unsigned long length;
- getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
+ <Interface name="WiperStatus" id="::WiperStatus">
+ <webidl>[NoInterfaceObject]
+interface WiperStatus : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short wiperSpeed;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
- <Attribute readonly="readonly" name="length" id="::SpeechRecognitionResultList::length">
- <webidl> readonly attribute unsigned long length;</webidl>
- <Type type="unsigned long"/>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="wiperSpeed" id="::WiperStatus::wiperSpeed">
+ <webidl> readonly attribute unsigned short wiperSpeed;</webidl>
+ <Type type="unsigned short"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::WiperStatus::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
- <Operation getter="getter" name="item" id="::SpeechRecognitionResultList::item">
- <webidl> getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);</webidl>
- <Type name="SpeechRecognitionResult"/>
- <ArgumentList>
- <Argument name="index">
- <Type type="unsigned long"/>
- </Argument>
- </ArgumentList>
- </Operation>
</Interface>
- <Interface name="SpeechRecognitionEvent" id="::SpeechRecognitionEvent">
- <webidl>interface SpeechRecognitionEvent : <ref>Event</ref> {
- readonly attribute unsigned long resultIndex;
- readonly attribute <ref>SpeechRecognitionResultList</ref> results;
- readonly attribute any interpretation;
- readonly attribute <ref>Document</ref> emma;
+ <Enum name="WiperControl" id="::WiperControl">
+ <webidl>enum WiperControl {
+ "off",
+ "once",
+ "slowest",
+ "slow",
+ "middle",
+ "fast",
+ "fastest",
+ "auto"
};</webidl>
+ <EnumValue stringvalue="off">
+ <webidl> "off</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="once">
+ <webidl> "once</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="slowest">
+ <webidl> "slowest</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="slow">
+ <webidl> "slow</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="middle">
+ <webidl> "middle</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="fast">
+ <webidl> "fast</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="fastest">
+ <webidl> "fastest</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="auto">
+ <webidl> "auto</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="WiperSetting" id="::WiperSetting">
+ <webidl>[NoInterfaceObject]
+interface WiperSetting : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>WiperControl</ref> wiperControl;
+ readonly attribute <ref>Zone</ref>? zone;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
<InterfaceInheritance>
- <Name name="Event"/>
+ <Name name="VehicleCommonDataType"/>
</InterfaceInheritance>
- <Attribute readonly="readonly" name="resultIndex" id="::SpeechRecognitionEvent::resultIndex">
- <webidl> readonly attribute unsigned long resultIndex;</webidl>
- <Type type="unsigned long"/>
+ <Attribute name="wiperControl" id="::WiperSetting::wiperControl">
+ <webidl> attribute <ref>WiperControl</ref> wiperControl;</webidl>
+ <Type name="WiperControl"/>
</Attribute>
- <Attribute readonly="readonly" name="results" id="::SpeechRecognitionEvent::results">
- <webidl> readonly attribute <ref>SpeechRecognitionResultList</ref> results;</webidl>
- <Type name="SpeechRecognitionResultList"/>
+ <Attribute readonly="readonly" name="zone" id="::WiperSetting::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
- <Attribute readonly="readonly" name="interpretation" id="::SpeechRecognitionEvent::interpretation">
- <webidl> readonly attribute any interpretation;</webidl>
- <Type type="any"/>
+ </Interface>
+ <Interface name="Defrost" id="::Defrost">
+ <webidl>[NoInterfaceObject]
+interface Defrost : <ref>VehicleCommonDataType</ref> {
+ attribute boolean? defrostWindow;
+ attribute boolean? defrostMirrors;
+ readonly attribute <ref>Zone</ref>? zone;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="defrostWindow" id="::Defrost::defrostWindow">
+ <webidl> attribute boolean? defrostWindow;</webidl>
+ <Type type="boolean" nullable="nullable"/>
</Attribute>
- <Attribute readonly="readonly" name="emma" id="::SpeechRecognitionEvent::emma">
- <webidl> readonly attribute <ref>Document</ref> emma;</webidl>
- <Type name="Document"/>
+ <Attribute name="defrostMirrors" id="::Defrost::defrostMirrors">
+ <webidl> attribute boolean? defrostMirrors;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::Defrost::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="SpeechGrammar" id="::SpeechGrammar">
- <webidl>[Constructor]
-interface SpeechGrammar {
- attribute DOMString src;
- attribute float weight;
+ <Interface name="Sunroof" id="::Sunroof">
+ <webidl>[NoInterfaceObject]
+interface Sunroof : <ref>VehicleCommonDataType</ref> {
+ attribute unsigned short openness;
+ attribute unsigned short tilt;
+ readonly attribute <ref>Zone</ref>? zone;
};</webidl>
<ExtendedAttributeList>
- <ExtendedAttribute name="Constructor">
- <webidl>Constructor</webidl>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
- <Attribute name="src" id="::SpeechGrammar::src">
- <webidl> attribute DOMString src;</webidl>
- <Type type="DOMString"/>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="openness" id="::Sunroof::openness">
+ <webidl> attribute unsigned short openness;</webidl>
+ <Type type="unsigned short"/>
</Attribute>
- <Attribute name="weight" id="::SpeechGrammar::weight">
- <webidl> attribute float weight;</webidl>
- <Type type="float"/>
+ <Attribute name="tilt" id="::Sunroof::tilt">
+ <webidl> attribute unsigned short tilt;</webidl>
+ <Type type="unsigned short"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::Sunroof::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
</Attribute>
</Interface>
- <Interface name="SpeechGrammarList" id="::SpeechGrammarList">
- <webidl>[Constructor]
-interface SpeechGrammarList {
- readonly attribute unsigned long length;
- getter <ref>SpeechGrammar</ref> item(unsigned long index);
- void addFromURI(DOMString src, optional float weight);
- void addFromString(DOMString string, optional float weight);
+ <Enum name="ConvertibleRoofStatus" id="::ConvertibleRoofStatus">
+ <webidl>enum ConvertibleRoofStatus {
+ "closed",
+ "closing",
+ "opening",
+ "opened"
+};</webidl>
+ <EnumValue stringvalue="closed">
+ <webidl> "closed</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="closing">
+ <webidl> "closing</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="opening">
+ <webidl> "opening</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="opened">
+ <webidl> "opened</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="ConvertibleRoof" id="::ConvertibleRoof">
+ <webidl>[NoInterfaceObject]
+interface ConvertibleRoof : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>ConvertibleRoofStatus</ref> status;
};</webidl>
<ExtendedAttributeList>
- <ExtendedAttribute name="Constructor">
- <webidl>Constructor</webidl>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
</ExtendedAttribute>
</ExtendedAttributeList>
- <Attribute readonly="readonly" name="length" id="::SpeechGrammarList::length">
- <webidl> readonly attribute unsigned long length;</webidl>
- <Type type="unsigned long"/>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="status" id="::ConvertibleRoof::status">
+ <webidl> attribute <ref>ConvertibleRoofStatus</ref> status;</webidl>
+ <Type name="ConvertibleRoofStatus"/>
+ </Attribute>
+ </Interface>
+ <Interface name="SideWindow" id="::SideWindow">
+ <webidl>[NoInterfaceObject]
+interface SideWindow : <ref>VehicleCommonDataType</ref> {
+ attribute boolean? lock;
+ attribute unsigned short? openness;
+ readonly attribute <ref>Zone</ref>? zone;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="lock" id="::SideWindow::lock">
+ <webidl> attribute boolean? lock;</webidl>
+ <Type type="boolean" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="openness" id="::SideWindow::openness">
+ <webidl> attribute unsigned short? openness;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::SideWindow::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
+ </Attribute>
+ </Interface>
+ <Enum name="AirflowDirection" id="::AirflowDirection">
+ <webidl>enum AirflowDirection {
+ "frontpanel",
+ "floorduct",
+ "bilevel",
+ "defrostfloor"
+};</webidl>
+ <EnumValue stringvalue="frontpanel">
+ <webidl> "frontpanel</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="floorduct">
+ <webidl> "floorduct</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="bilevel">
+ <webidl> "bilevel</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="defrostfloor">
+ <webidl> "defrostfloor</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="ClimateControl" id="::ClimateControl">
+ <webidl>[NoInterfaceObject]
+interface ClimateControl : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>AirflowDirection</ref> airflowDirection;
+ attribute unsigned short fanSpeedLevel;
+ attribute short? targetTemperature;
+ attribute boolean airConditioning;
+ attribute boolean heater;
+ attribute unsigned short? seatHeater;
+ attribute unsigned short? seatCooler;
+ attribute boolean airRecirculation;
+ attribute unsigned short? steeringWheelHeater;
+ readonly attribute <ref>Zone</ref>? zone;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="airflowDirection" id="::ClimateControl::airflowDirection">
+ <webidl> attribute <ref>AirflowDirection</ref> airflowDirection;</webidl>
+ <Type name="AirflowDirection"/>
+ </Attribute>
+ <Attribute name="fanSpeedLevel" id="::ClimateControl::fanSpeedLevel">
+ <webidl> attribute unsigned short fanSpeedLevel;</webidl>
+ <Type type="unsigned short"/>
+ </Attribute>
+ <Attribute name="targetTemperature" id="::ClimateControl::targetTemperature">
+ <webidl> attribute short? targetTemperature;</webidl>
+ <Type type="short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="airConditioning" id="::ClimateControl::airConditioning">
+ <webidl> attribute boolean airConditioning;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="heater" id="::ClimateControl::heater">
+ <webidl> attribute boolean heater;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="seatHeater" id="::ClimateControl::seatHeater">
+ <webidl> attribute unsigned short? seatHeater;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="seatCooler" id="::ClimateControl::seatCooler">
+ <webidl> attribute unsigned short? seatCooler;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute name="airRecirculation" id="::ClimateControl::airRecirculation">
+ <webidl> attribute boolean airRecirculation;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="steeringWheelHeater" id="::ClimateControl::steeringWheelHeater">
+ <webidl> attribute unsigned short? steeringWheelHeater;</webidl>
+ <Type type="unsigned short" nullable="nullable"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="zone" id="::ClimateControl::zone">
+ <webidl> readonly attribute <ref>Zone</ref>? zone;</webidl>
+ <Type name="Zone" nullable="nullable"/>
+ </Attribute>
+ </Interface>
+ <Interface name="AtmosphericPressure" id="::AtmosphericPressure">
+ <webidl>[NoInterfaceObject]
+interface AtmosphericPressure : <ref>VehicleCommonDataType</ref> {
+ readonly attribute unsigned short pressure;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="pressure" id="::AtmosphericPressure::pressure">
+ <webidl> readonly attribute unsigned short pressure;</webidl>
+ <Type type="unsigned short"/>
+ </Attribute>
+ </Interface>
+ <Enum name="LaneDepartureStatus" id="::LaneDepartureStatus">
+ <webidl>enum LaneDepartureStatus {
+ "off",
+ "pause",
+ "running"
+};</webidl>
+ <EnumValue stringvalue="off">
+ <webidl> "off</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="pause">
+ <webidl> "pause</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="running">
+ <webidl> "running</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="LaneDepartureDetection" id="::LaneDepartureDetection">
+ <webidl>[NoInterfaceObject]
+interface LaneDepartureDetection : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>LaneDepartureStatus</ref> status;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="status" id="::LaneDepartureDetection::status">
+ <webidl> readonly attribute <ref>LaneDepartureStatus</ref> status;</webidl>
+ <Type name="LaneDepartureStatus"/>
+ </Attribute>
+ </Interface>
+ <Enum name="AlarmStatus" id="::AlarmStatus">
+ <webidl>enum AlarmStatus {
+ "disarmed",
+ "preArmed",
+ "armed",
+ "alarmed"
+};</webidl>
+ <EnumValue stringvalue="disarmed">
+ <webidl> "disarmed</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="preArmed">
+ <webidl> "preArmed</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="armed">
+ <webidl> "armed</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="alarmed">
+ <webidl> "alarmed</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="Alarm" id="::Alarm">
+ <webidl>[NoInterfaceObject]
+interface Alarm : <ref>VehicleCommonDataType</ref> {
+ attribute <ref>AlarmStatus</ref> status;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute name="status" id="::Alarm::status">
+ <webidl> attribute <ref>AlarmStatus</ref> status;</webidl>
+ <Type name="AlarmStatus"/>
+ </Attribute>
+ </Interface>
+ <Enum name="ParkingBrakeStatus" id="::ParkingBrakeStatus">
+ <webidl>enum ParkingBrakeStatus {
+ "inactive",
+ "active",
+ "error"
+};</webidl>
+ <EnumValue stringvalue="inactive">
+ <webidl> "inactive</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="active">
+ <webidl> "active</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="error">
+ <webidl> "error</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="ParkingBrake" id="::ParkingBrake">
+ <webidl>[NoInterfaceObject]
+interface ParkingBrake : <ref>VehicleCommonDataType</ref> {
+ readonly attribute <ref>ParkingBrakeStatus</ref> status;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="status" id="::ParkingBrake::status">
+ <webidl> readonly attribute <ref>ParkingBrakeStatus</ref> status;</webidl>
+ <Type name="ParkingBrakeStatus"/>
+ </Attribute>
+ </Interface>
+ <Interface name="ParkingLights" id="::ParkingLights">
+ <webidl>[NoInterfaceObject]
+interface ParkingLights : <ref>VehicleCommonDataType</ref> {
+ readonly attribute boolean status;
+ attribute boolean setting;
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="VehicleCommonDataType"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="status" id="::ParkingLights::status">
+ <webidl> readonly attribute boolean status;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="setting" id="::ParkingLights::setting">
+ <webidl> attribute boolean setting;</webidl>
+ <Type type="boolean"/>
</Attribute>
- <Operation getter="getter" name="item" id="::SpeechGrammarList::item">
- <webidl> getter <ref>SpeechGrammar</ref> item(unsigned long index);</webidl>
- <Type name="SpeechGrammar"/>
- <ArgumentList>
- <Argument name="index">
- <Type type="unsigned long"/>
- </Argument>
- </ArgumentList>
- </Operation>
- <Operation name="addFromURI" id="::SpeechGrammarList::addFromURI">
- <webidl> void addFromURI(DOMString src, optional float weight);</webidl>
- <Type type="void"/>
- <ArgumentList>
- <Argument name="src">
- <Type type="DOMString"/>
- </Argument>
- <Argument optional="optional" name="weight">
- <Type type="float"/>
- </Argument>
- </ArgumentList>
- </Operation>
- <Operation name="addFromString" id="::SpeechGrammarList::addFromString">
- <webidl> void addFromString(DOMString string, optional float weight);</webidl>
- <Type type="void"/>
- <ArgumentList>
- <Argument name="string">
- <Type type="DOMString"/>
- </Argument>
- <Argument optional="optional" name="weight">
- <Type type="float"/>
- </Argument>
- </ArgumentList>
- </Operation>
</Interface>
</Module>
<Module name="MediaServer" id="::MediaServer">
- <webidl>module MediaServer {
-
-
-
-partial interface Navigator {
- readonly attribute <ref>MediaServerManager</ref> mediaserver;
+ <webidl> module MediaServer {
+ [NoInterfaceObject] interface MediaServerManagerObject {
+ readonly attribute <ref>MediaServerManager</ref> mediaserver;
};
+<ref>Navigator</ref> implements <ref>MediaServerManagerObject</ref>;
-
-[NoInterfaceObject]
-interface MediaServerManager {
-
- <ref>scanNetwork</ref>(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+[NoInterfaceObject] interface MediaServerManager {
+ void scanNetwork(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
};
+[NoInterfaceObject] interface MediaServer {
+ readonly attribute DOMString id;
+ readonly attribute DOMString friendlyName;
+ readonly attribute object root;
-
-[NoInterfaceObject]
-interface MediaServer {
-
- readonly attribute DOMString id;
-
- readonly attribute DOMString friendlyName;
-
- readonly attribute object root;
-
- <ref>browse</ref>(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
-
- <ref>find</ref>(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ void browse(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ void find(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
};
-
-
-[NoInterfaceObject]
-interface MediaServerError {
- const unsigned short GENERIC = 1;
-
- attribute unsigned short code;
-
- attribute DOMString message;
+[NoInterfaceObject] interface MediaServerError {
+ const unsigned short GENERIC = 1;
+ attribute unsigned short code;
+ attribute DOMString message;
};
+[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerFoundServerCallback {
+ void onsuccess(<ref>MediaServer</ref> value);
+};
+[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerBrowseFindCallback {
+ void onsuccess(sequence< object > value);
+};
-callback MediaServerFoundServerCallback = void (<ref>MediaServer</ref> value);
-
-callback MediaServerBrowseFindCallback = void (sequence<object> value);
-
-callback MediaServerErrorCallback = void (<ref>MediaServerError</ref> error);
-
+[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerErrorCallback {
+ void onfailure(<ref>MediaServerError</ref> error);
};</webidl>
- <descriptive>
- <description>
- <p>
-Details.
- </p>
- </description>
- <def-api-feature identifier="http://tizen.org/api/mediaserver">
- <descriptive>
- <brief>
- Allows access to the mediaserver API
- </brief>
- </descriptive>
- </def-api-feature>
- </descriptive>
- <Interface name="Navigator" partial="partial" id="::MediaServer::Navigator">
- <webidl>partial interface Navigator {
- readonly attribute <ref>MediaServerManager</ref> mediaserver;
+ <Interface name="MediaServerManagerObject" id="::MediaServerManagerObject">
+ <webidl>[NoInterfaceObject] interface MediaServerManagerObject {
+ readonly attribute <ref>MediaServerManager</ref> mediaserver;
};</webidl>
- <Attribute readonly="readonly" name="mediaserver" id="::MediaServer::Navigator::mediaserver">
- <webidl> readonly attribute <ref>MediaServerManager</ref> mediaserver;</webidl>
- <Type name="MediaServerManager"/>
- </Attribute>
- </Interface>
- <Interface name="MediaServerManager" id="::MediaServer::MediaServerManager">
- <webidl>[NoInterfaceObject]
-interface MediaServerManager {
-
- <ref>scanNetwork</ref>(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="mediaserver" id="::MediaServerManagerObject::mediaserver">
+ <webidl> readonly attribute <ref>MediaServerManager</ref> mediaserver;</webidl>
+ <Type name="MediaServerManager"/>
+ </Attribute>
+ </Interface>
+ <Implements name1="Navigator" name2="MediaServerManagerObject">
+ <webidl><ref>Navigator</ref> implements <ref>MediaServerManagerObject</ref>;</webidl>
+ </Implements>
+ <Interface name="MediaServerManager" id="::MediaServerManager">
+ <webidl>[NoInterfaceObject] interface MediaServerManager {
+ void scanNetwork(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
};</webidl>
- <ExtendedAttributeList>
- <ExtendedAttribute name="NoInterfaceObject">
- <webidl>NoInterfaceObject</webidl>
- </ExtendedAttribute>
- </ExtendedAttributeList>
- <Operation>
- <webidl> <ref>scanNetwork</ref>(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
- <descriptive>
- <brief>
- Scans local network for MediaServers.
- </brief>
- </descriptive>
- <Type name="scanNetwork"/>
- <ArgumentList>
- <Argument name="successCallback">
- <descriptive>
- <description><p>
- callback invoqued for each MediaServer discovered.
- </p></description>
- </descriptive>
- <Type name="MediaServerFoundServerCallback"/>
- </Argument>
- <Argument optional="optional" name="errorCallback">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type name="MediaServerErrorCallback"/>
- </Argument>
- </ArgumentList>
- </Operation>
- </Interface>
- <Interface name="MediaServer" id="::MediaServer::MediaServer">
- <webidl>[NoInterfaceObject]
-interface MediaServer {
-
- readonly attribute DOMString id;
-
- readonly attribute DOMString friendlyName;
-
- readonly attribute object root;
-
- <ref>browse</ref>(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
-
- <ref>find</ref>(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="scanNetwork" id="::MediaServerManager::scanNetwork">
+ <webidl> void scanNetwork(<ref>MediaServerFoundServerCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="successCallback">
+ <Type name="MediaServerFoundServerCallback"/>
+ </Argument>
+ <Argument optional="optional" name="errorCallback">
+ <Type name="MediaServerErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServer" id="::MediaServer">
+ <webidl>[NoInterfaceObject] interface MediaServer {
+ readonly attribute DOMString id;
+ readonly attribute DOMString friendlyName;
+ readonly attribute object root;
+
+ void browse(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
+ void find(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);
};</webidl>
- <ExtendedAttributeList>
- <ExtendedAttribute name="NoInterfaceObject">
- <webidl>NoInterfaceObject</webidl>
- </ExtendedAttribute>
- </ExtendedAttributeList>
- <Attribute readonly="readonly" name="id" id="::MediaServer::MediaServer::id">
- <webidl> readonly attribute DOMString id;</webidl>
- <descriptive>
- <description>
- <p>
-id
- </p>
- </description>
- <brief>
- An opaque unique ID.
- </brief>
- </descriptive>
- <Type type="DOMString"/>
- </Attribute>
- <Attribute readonly="readonly" name="friendlyName" id="::MediaServer::MediaServer::friendlyName">
- <webidl> readonly attribute DOMString friendlyName;</webidl>
- <descriptive>
- <description>
- <p>
-friendlyName
- </p>
- </description>
- <brief>
- A user-friendly name for the device.
- </brief>
- </descriptive>
- <Type type="DOMString"/>
- </Attribute>
- <Attribute readonly="readonly" name="root" id="::MediaServer::MediaServer::root">
- <webidl> readonly attribute object root;</webidl>
- <descriptive>
- <description>
- <p>
-root
- </p>
- </description>
- <brief>
- Media Server root folder.
- </brief>
- </descriptive>
- <Type type="object"/>
- </Attribute>
- <Operation>
- <webidl> <ref>browse</ref>(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
- <descriptive>
- <brief>
- Browses for media item under a given MediaContainer.
- </brief>
- </descriptive>
- <Type name="browse"/>
- <ArgumentList>
- <Argument name="containerId">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument name="sortMode">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument name="count">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="unsigned long"/>
- </Argument>
- <Argument name="offset">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="unsigned long"/>
- </Argument>
- <Argument name="successCallback">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type name="MediaServerBrowseFindCallback"/>
- </Argument>
- <Argument optional="optional" name="errorCallback">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type name="MediaServerErrorCallback"/>
- </Argument>
- </ArgumentList>
- </Operation>
- <Operation>
- <webidl> <ref>find</ref>(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
- <descriptive>
- <brief>
- Searches for media item under a given MediaContainer.
- </brief>
- </descriptive>
- <Type name="find"/>
- <ArgumentList>
- <Argument name="containerId">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument name="searchFilter">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument name="sortMode">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="DOMString"/>
- </Argument>
- <Argument name="count">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="unsigned long"/>
- </Argument>
- <Argument name="offset">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type type="unsigned long"/>
- </Argument>
- <Argument name="successCallback">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type name="MediaServerBrowseFindCallback"/>
- </Argument>
- <Argument optional="optional" name="errorCallback">
- <descriptive>
- <description><p>
- </p></description>
- </descriptive>
- <Type name="MediaServerErrorCallback"/>
- </Argument>
- </ArgumentList>
- </Operation>
- </Interface>
- <Interface name="MediaServerError" id="::MediaServer::MediaServerError">
- <webidl>[NoInterfaceObject]
-interface MediaServerError {
- const unsigned short GENERIC = 1;
-
- attribute unsigned short code;
-
- attribute DOMString message;
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="id" id="::MediaServer::id">
+ <webidl> readonly attribute DOMString id;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="friendlyName" id="::MediaServer::friendlyName">
+ <webidl> readonly attribute DOMString friendlyName;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="root" id="::MediaServer::root">
+ <webidl> readonly attribute object root;</webidl>
+ <Type type="object"/>
+ </Attribute>
+ <Operation name="browse" id="::MediaServer::browse">
+ <webidl> void browse(DOMString containerId, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="containerId">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="sortMode">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="count">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="offset">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="successCallback">
+ <Type name="MediaServerBrowseFindCallback"/>
+ </Argument>
+ <Argument optional="optional" name="errorCallback">
+ <Type name="MediaServerErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="find" id="::MediaServer::find">
+ <webidl> void find(DOMString containerId, DOMString searchFilter, DOMString sortMode, unsigned long count, unsigned long offset, <ref>MediaServerBrowseFindCallback</ref> successCallback, optional <ref>MediaServerErrorCallback</ref> errorCallback);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="containerId">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="searchFilter">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="sortMode">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument name="count">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="offset">
+ <Type type="unsigned long"/>
+ </Argument>
+ <Argument name="successCallback">
+ <Type name="MediaServerBrowseFindCallback"/>
+ </Argument>
+ <Argument optional="optional" name="errorCallback">
+ <Type name="MediaServerErrorCallback"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServerError" id="::MediaServerError">
+ <webidl>[NoInterfaceObject] interface MediaServerError {
+ const unsigned short GENERIC = 1;
+ attribute unsigned short code;
+ attribute DOMString message;
};</webidl>
- <ExtendedAttributeList>
- <ExtendedAttribute name="NoInterfaceObject">
- <webidl>NoInterfaceObject</webidl>
- </ExtendedAttribute>
- </ExtendedAttributeList>
- <Const name="GENERIC" value="1" id="::MediaServer::MediaServerError::GENERIC">
- <webidl> const unsigned short GENERIC = 1;</webidl>
- <Type type="unsigned short"/>
- </Const>
- <Attribute name="code" id="::MediaServer::MediaServerError::code">
- <webidl> attribute unsigned short code;</webidl>
- <descriptive>
- <description>
- <p>
-code
-MUST return error code.
- </p>
- </description>
- </descriptive>
- <Type type="unsigned short"/>
- </Attribute>
- <Attribute name="message" id="::MediaServer::MediaServerError::message">
- <webidl> attribute DOMString message;</webidl>
- <descriptive>
- <description>
- <p>
-message
-MUST return error message
- </p>
- </description>
- </descriptive>
- <Type type="DOMString"/>
- </Attribute>
- </Interface>
- <Callback name="MediaServerFoundServerCallback" id="::MediaServer::MediaServerFoundServerCallback">
- <webidl>callback MediaServerFoundServerCallback = void (<ref>MediaServer</ref> value);</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Const name="GENERIC" value="1" id="::MediaServerError::GENERIC">
+ <webidl> const unsigned short GENERIC = 1;</webidl>
+ <Type type="unsigned short"/>
+ </Const>
+ <Attribute name="code" id="::MediaServerError::code">
+ <webidl> attribute unsigned short code;</webidl>
+ <Type type="unsigned short"/>
+ </Attribute>
+ <Attribute name="message" id="::MediaServerError::message">
+ <webidl> attribute DOMString message;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ </Interface>
+ <Interface name="MediaServerFoundServerCallback" id="::MediaServerFoundServerCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerFoundServerCallback {
+ void onsuccess(<ref>MediaServer</ref> value);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onsuccess" id="::MediaServerFoundServerCallback::onsuccess">
+ <webidl> void onsuccess(<ref>MediaServer</ref> value);</webidl>
<Type type="void"/>
<ArgumentList>
<Argument name="value">
<Type name="MediaServer"/>
</Argument>
</ArgumentList>
- </Callback>
- <Callback name="MediaServerBrowseFindCallback" id="::MediaServer::MediaServerBrowseFindCallback">
- <webidl>callback MediaServerBrowseFindCallback = void (sequence<object> value);</webidl>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServerBrowseFindCallback" id="::MediaServerBrowseFindCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerBrowseFindCallback {
+ void onsuccess(sequence< object > value);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onsuccess" id="::MediaServerBrowseFindCallback::onsuccess">
+ <webidl> void onsuccess(sequence< object > value);</webidl>
<Type type="void"/>
<ArgumentList>
<Argument name="value">
</Type>
</Argument>
</ArgumentList>
- </Callback>
- <Callback name="MediaServerErrorCallback" id="::MediaServer::MediaServerErrorCallback">
- <webidl>callback MediaServerErrorCallback = void (<ref>MediaServerError</ref> error);</webidl>
+ </Operation>
+ </Interface>
+ <Interface name="MediaServerErrorCallback" id="::MediaServerErrorCallback">
+ <webidl>[Callback=FunctionOnly, NoInterfaceObject] interface MediaServerErrorCallback {
+ void onfailure(<ref>MediaServerError</ref> error);
+};</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Callback" value="FunctionOnly">
+ <webidl>Callback</webidl>
+ </ExtendedAttribute>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl> NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="onfailure" id="::MediaServerErrorCallback::onfailure">
+ <webidl> void onfailure(<ref>MediaServerError</ref> error);</webidl>
<Type type="void"/>
<ArgumentList>
<Argument name="error">
<Type name="MediaServerError"/>
</Argument>
</ArgumentList>
- </Callback>
- </Module>
+ </Operation>
+ </Interface>
+</Module>
+<Module name="Speech" id="::Speech">
+ <webidl> module Speech {
+ [NoInterfaceObject]
+ interface SpeechManagerObject {
+ readonly attribute <ref>SpeechManager</ref> speech;
+ };
+ <ref>Tizen</ref> implements <ref>SpeechManagerObject</ref>;
+
+
+ [NoInterfaceObject]
+ interface SpeechManager {
+ void vocalizeString(DOMString speakString);
+ };
+
+ [Constructor]
+ interface SpeechRecognition : <ref>EventTarget</ref> {
+ attribute <ref>SpeechGrammarList</ref> grammars;
+ attribute DOMString lang;
+ attribute boolean continuous;
+ attribute boolean interimResults;
+ attribute unsigned long maxAlternatives;
+ attribute DOMString serviceURI;
+
+ void start();
+ void stop();
+ void abort();
+
+ attribute <ref>EventHandler</ref> onaudiostart;
+ attribute <ref>EventHandler</ref> onsoundstart;
+ attribute <ref>EventHandler</ref> onspeechstart;
+ attribute <ref>EventHandler</ref> onspeechend;
+ attribute <ref>EventHandler</ref> onsoundend;
+ attribute <ref>EventHandler</ref> onaudioend;
+ attribute <ref>EventHandler</ref> onresult;
+ attribute <ref>EventHandler</ref> onnomatch;
+ attribute <ref>EventHandler</ref> onerror;
+ attribute <ref>EventHandler</ref> onstart;
+ attribute <ref>EventHandler</ref> onend;
+ };
+
+ enum ErrorCode {
+ "no-speech",
+ "aborted",
+ "audio-capture",
+ "network",
+ "not-allowed",
+ "service-not-allowed",
+ "bad-grammar",
+ "language-not-supported"
+ };
+
+ interface SpeechRecognitionError : <ref>Event</ref> {
+ readonly attribute <ref>ErrorCode</ref> error;
+ readonly attribute DOMString message;
+ };
+
+ interface SpeechRecognitionAlternative {
+ readonly attribute DOMString transcript;
+ readonly attribute float confidence;
+ };
+
+ interface SpeechRecognitionResult {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
+ readonly attribute boolean final;
+ };
+
+ interface SpeechRecognitionResultList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
+ };
+
+ interface SpeechRecognitionEvent : <ref>Event</ref> {
+ readonly attribute unsigned long resultIndex;
+ readonly attribute <ref>SpeechRecognitionResultList</ref> results;
+ readonly attribute any interpretation;
+ readonly attribute <ref>Document</ref> emma;
+ };
+
+ [Constructor]
+ interface SpeechGrammar {
+ attribute DOMString src;
+ attribute float weight;
+ };
+
+ [Constructor]
+ interface SpeechGrammarList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechGrammar</ref> item(unsigned long index);
+ void addFromURI(DOMString src, optional float weight);
+ void addFromString(DOMString string, optional float weight);
+ };
+};</webidl>
+ <Interface name="SpeechManagerObject" id="::SpeechManagerObject">
+ <webidl> [NoInterfaceObject]
+ interface SpeechManagerObject {
+ readonly attribute <ref>SpeechManager</ref> speech;
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="speech" id="::SpeechManagerObject::speech">
+ <webidl> readonly attribute <ref>SpeechManager</ref> speech;</webidl>
+ <Type name="SpeechManager"/>
+ </Attribute>
+ </Interface>
+ <Implements name1="Tizen" name2="SpeechManagerObject">
+ <webidl> <ref>Tizen</ref> implements <ref>SpeechManagerObject</ref>;</webidl>
+ </Implements>
+ <Interface name="SpeechManager" id="::SpeechManager">
+ <webidl> [NoInterfaceObject]
+ interface SpeechManager {
+ void vocalizeString(DOMString speakString);
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="NoInterfaceObject">
+ <webidl>NoInterfaceObject</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Operation name="vocalizeString" id="::SpeechManager::vocalizeString">
+ <webidl> void vocalizeString(DOMString speakString);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="speakString">
+ <Type type="DOMString"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="SpeechRecognition" id="::SpeechRecognition">
+ <webidl> [Constructor]
+ interface SpeechRecognition : <ref>EventTarget</ref> {
+ attribute <ref>SpeechGrammarList</ref> grammars;
+ attribute DOMString lang;
+ attribute boolean continuous;
+ attribute boolean interimResults;
+ attribute unsigned long maxAlternatives;
+ attribute DOMString serviceURI;
+
+ void start();
+ void stop();
+ void abort();
+
+ attribute <ref>EventHandler</ref> onaudiostart;
+ attribute <ref>EventHandler</ref> onsoundstart;
+ attribute <ref>EventHandler</ref> onspeechstart;
+ attribute <ref>EventHandler</ref> onspeechend;
+ attribute <ref>EventHandler</ref> onsoundend;
+ attribute <ref>EventHandler</ref> onaudioend;
+ attribute <ref>EventHandler</ref> onresult;
+ attribute <ref>EventHandler</ref> onnomatch;
+ attribute <ref>EventHandler</ref> onerror;
+ attribute <ref>EventHandler</ref> onstart;
+ attribute <ref>EventHandler</ref> onend;
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Constructor">
+ <webidl>Constructor</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <InterfaceInheritance>
+ <Name name="EventTarget"/>
+ </InterfaceInheritance>
+ <Attribute name="grammars" id="::SpeechRecognition::grammars">
+ <webidl> attribute <ref>SpeechGrammarList</ref> grammars;</webidl>
+ <Type name="SpeechGrammarList"/>
+ </Attribute>
+ <Attribute name="lang" id="::SpeechRecognition::lang">
+ <webidl> attribute DOMString lang;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute name="continuous" id="::SpeechRecognition::continuous">
+ <webidl> attribute boolean continuous;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="interimResults" id="::SpeechRecognition::interimResults">
+ <webidl> attribute boolean interimResults;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ <Attribute name="maxAlternatives" id="::SpeechRecognition::maxAlternatives">
+ <webidl> attribute unsigned long maxAlternatives;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Attribute name="serviceURI" id="::SpeechRecognition::serviceURI">
+ <webidl> attribute DOMString serviceURI;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Operation name="start" id="::SpeechRecognition::start">
+ <webidl> void start();</webidl>
+ <Type type="void"/>
+ <ArgumentList/>
+ </Operation>
+ <Operation name="stop" id="::SpeechRecognition::stop">
+ <webidl> void stop();</webidl>
+ <Type type="void"/>
+ <ArgumentList/>
+ </Operation>
+ <Operation name="abort" id="::SpeechRecognition::abort">
+ <webidl> void abort();</webidl>
+ <Type type="void"/>
+ <ArgumentList/>
+ </Operation>
+ <Attribute name="onaudiostart" id="::SpeechRecognition::onaudiostart">
+ <webidl> attribute <ref>EventHandler</ref> onaudiostart;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onsoundstart" id="::SpeechRecognition::onsoundstart">
+ <webidl> attribute <ref>EventHandler</ref> onsoundstart;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onspeechstart" id="::SpeechRecognition::onspeechstart">
+ <webidl> attribute <ref>EventHandler</ref> onspeechstart;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onspeechend" id="::SpeechRecognition::onspeechend">
+ <webidl> attribute <ref>EventHandler</ref> onspeechend;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onsoundend" id="::SpeechRecognition::onsoundend">
+ <webidl> attribute <ref>EventHandler</ref> onsoundend;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onaudioend" id="::SpeechRecognition::onaudioend">
+ <webidl> attribute <ref>EventHandler</ref> onaudioend;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onresult" id="::SpeechRecognition::onresult">
+ <webidl> attribute <ref>EventHandler</ref> onresult;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onnomatch" id="::SpeechRecognition::onnomatch">
+ <webidl> attribute <ref>EventHandler</ref> onnomatch;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onerror" id="::SpeechRecognition::onerror">
+ <webidl> attribute <ref>EventHandler</ref> onerror;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onstart" id="::SpeechRecognition::onstart">
+ <webidl> attribute <ref>EventHandler</ref> onstart;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ <Attribute name="onend" id="::SpeechRecognition::onend">
+ <webidl> attribute <ref>EventHandler</ref> onend;</webidl>
+ <Type name="EventHandler"/>
+ </Attribute>
+ </Interface>
+ <Enum name="ErrorCode" id="::ErrorCode">
+ <webidl> enum ErrorCode {
+ "no-speech",
+ "aborted",
+ "audio-capture",
+ "network",
+ "not-allowed",
+ "service-not-allowed",
+ "bad-grammar",
+ "language-not-supported"
+ };</webidl>
+ <EnumValue stringvalue="no-speech">
+ <webidl> "no-speech</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="aborted">
+ <webidl> "aborted</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="audio-capture">
+ <webidl> "audio-capture</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="network">
+ <webidl> "network</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="not-allowed">
+ <webidl> "not-allowed</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="service-not-allowed">
+ <webidl> "service-not-allowed</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="bad-grammar">
+ <webidl> "bad-grammar</webidl>
+ </EnumValue>
+ <EnumValue stringvalue="language-not-supported">
+ <webidl> "language-not-supported</webidl>
+ </EnumValue>
+ </Enum>
+ <Interface name="SpeechRecognitionError" id="::SpeechRecognitionError">
+ <webidl> interface SpeechRecognitionError : <ref>Event</ref> {
+ readonly attribute <ref>ErrorCode</ref> error;
+ readonly attribute DOMString message;
+ };</webidl>
+ <InterfaceInheritance>
+ <Name name="Event"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="error" id="::SpeechRecognitionError::error">
+ <webidl> readonly attribute <ref>ErrorCode</ref> error;</webidl>
+ <Type name="ErrorCode"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="message" id="::SpeechRecognitionError::message">
+ <webidl> readonly attribute DOMString message;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ </Interface>
+ <Interface name="SpeechRecognitionAlternative" id="::SpeechRecognitionAlternative">
+ <webidl> interface SpeechRecognitionAlternative {
+ readonly attribute DOMString transcript;
+ readonly attribute float confidence;
+ };</webidl>
+ <Attribute readonly="readonly" name="transcript" id="::SpeechRecognitionAlternative::transcript">
+ <webidl> readonly attribute DOMString transcript;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="confidence" id="::SpeechRecognitionAlternative::confidence">
+ <webidl> readonly attribute float confidence;</webidl>
+ <Type type="float"/>
+ </Attribute>
+ </Interface>
+ <Interface name="SpeechRecognitionResult" id="::SpeechRecognitionResult">
+ <webidl> interface SpeechRecognitionResult {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);
+ readonly attribute boolean final;
+ };</webidl>
+ <Attribute readonly="readonly" name="length" id="::SpeechRecognitionResult::length">
+ <webidl> readonly attribute unsigned long length;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Operation getter="getter" name="item" id="::SpeechRecognitionResult::item">
+ <webidl> getter <ref>SpeechRecognitionAlternative</ref> item(unsigned long index);</webidl>
+ <Type name="SpeechRecognitionAlternative"/>
+ <ArgumentList>
+ <Argument name="index">
+ <Type type="unsigned long"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Attribute readonly="readonly" name="final" id="::SpeechRecognitionResult::final">
+ <webidl> readonly attribute boolean final;</webidl>
+ <Type type="boolean"/>
+ </Attribute>
+ </Interface>
+ <Interface name="SpeechRecognitionResultList" id="::SpeechRecognitionResultList">
+ <webidl> interface SpeechRecognitionResultList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);
+ };</webidl>
+ <Attribute readonly="readonly" name="length" id="::SpeechRecognitionResultList::length">
+ <webidl> readonly attribute unsigned long length;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Operation getter="getter" name="item" id="::SpeechRecognitionResultList::item">
+ <webidl> getter <ref>SpeechRecognitionResult</ref> item(unsigned long index);</webidl>
+ <Type name="SpeechRecognitionResult"/>
+ <ArgumentList>
+ <Argument name="index">
+ <Type type="unsigned long"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+ <Interface name="SpeechRecognitionEvent" id="::SpeechRecognitionEvent">
+ <webidl> interface SpeechRecognitionEvent : <ref>Event</ref> {
+ readonly attribute unsigned long resultIndex;
+ readonly attribute <ref>SpeechRecognitionResultList</ref> results;
+ readonly attribute any interpretation;
+ readonly attribute <ref>Document</ref> emma;
+ };</webidl>
+ <InterfaceInheritance>
+ <Name name="Event"/>
+ </InterfaceInheritance>
+ <Attribute readonly="readonly" name="resultIndex" id="::SpeechRecognitionEvent::resultIndex">
+ <webidl> readonly attribute unsigned long resultIndex;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="results" id="::SpeechRecognitionEvent::results">
+ <webidl> readonly attribute <ref>SpeechRecognitionResultList</ref> results;</webidl>
+ <Type name="SpeechRecognitionResultList"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="interpretation" id="::SpeechRecognitionEvent::interpretation">
+ <webidl> readonly attribute any interpretation;</webidl>
+ <Type type="any"/>
+ </Attribute>
+ <Attribute readonly="readonly" name="emma" id="::SpeechRecognitionEvent::emma">
+ <webidl> readonly attribute <ref>Document</ref> emma;</webidl>
+ <Type name="Document"/>
+ </Attribute>
+ </Interface>
+ <Interface name="SpeechGrammar" id="::SpeechGrammar">
+ <webidl> [Constructor]
+ interface SpeechGrammar {
+ attribute DOMString src;
+ attribute float weight;
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Constructor">
+ <webidl>Constructor</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute name="src" id="::SpeechGrammar::src">
+ <webidl> attribute DOMString src;</webidl>
+ <Type type="DOMString"/>
+ </Attribute>
+ <Attribute name="weight" id="::SpeechGrammar::weight">
+ <webidl> attribute float weight;</webidl>
+ <Type type="float"/>
+ </Attribute>
+ </Interface>
+ <Interface name="SpeechGrammarList" id="::SpeechGrammarList">
+ <webidl> [Constructor]
+ interface SpeechGrammarList {
+ readonly attribute unsigned long length;
+ getter <ref>SpeechGrammar</ref> item(unsigned long index);
+ void addFromURI(DOMString src, optional float weight);
+ void addFromString(DOMString string, optional float weight);
+ };</webidl>
+ <ExtendedAttributeList>
+ <ExtendedAttribute name="Constructor">
+ <webidl>Constructor</webidl>
+ </ExtendedAttribute>
+ </ExtendedAttributeList>
+ <Attribute readonly="readonly" name="length" id="::SpeechGrammarList::length">
+ <webidl> readonly attribute unsigned long length;</webidl>
+ <Type type="unsigned long"/>
+ </Attribute>
+ <Operation getter="getter" name="item" id="::SpeechGrammarList::item">
+ <webidl> getter <ref>SpeechGrammar</ref> item(unsigned long index);</webidl>
+ <Type name="SpeechGrammar"/>
+ <ArgumentList>
+ <Argument name="index">
+ <Type type="unsigned long"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="addFromURI" id="::SpeechGrammarList::addFromURI">
+ <webidl> void addFromURI(DOMString src, optional float weight);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="src">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument optional="optional" name="weight">
+ <Type type="float"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ <Operation name="addFromString" id="::SpeechGrammarList::addFromString">
+ <webidl> void addFromString(DOMString string, optional float weight);</webidl>
+ <Type type="void"/>
+ <ArgumentList>
+ <Argument name="string">
+ <Type type="DOMString"/>
+ </Argument>
+ <Argument optional="optional" name="weight">
+ <Type type="float"/>
+ </Argument>
+ </ArgumentList>
+ </Operation>
+ </Interface>
+</Module>
<Module name="Alarm" id="::Alarm">
<webidl>module Alarm {