public class

EventedSimpleVehicleMessage

extends SimpleVehicleMessage
java.lang.Object
   ↳ com.openxc.messages.VehicleMessage
     ↳ com.openxc.messages.KeyedMessage
       ↳ com.openxc.messages.NamedVehicleMessage
         ↳ com.openxc.messages.SimpleVehicleMessage
           ↳ com.openxc.messages.EventedSimpleVehicleMessage

Class Overview

A simple vehicle message also with an event field. An EventedSimpleVehicleMessage can optionally be converted into a Measurement, e.g. a VehicleDoorStatus measurement.

Summary

[Expand]
Inherited Constants
From class com.openxc.messages.SimpleVehicleMessage
From class com.openxc.messages.NamedVehicleMessage
From class com.openxc.messages.VehicleMessage
From interface android.os.Parcelable
[Expand]
Inherited Fields
From class com.openxc.messages.VehicleMessage
Public Constructors
EventedSimpleVehicleMessage(Long timestamp, String name, Object value, Object event)
EventedSimpleVehicleMessage(String name, Object value, Object event)
Protected Constructors
EventedSimpleVehicleMessage(Parcel in)
EventedSimpleVehicleMessage()
Public Methods
static boolean containsRequiredFields(Set<String> fields)
boolean equals(Object obj)
Object getEvent()
Boolean getEventAsBoolean()
Number getEventAsNumber()
String getEventAsString()
void readFromParcel(Parcel in)
String toString()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class com.openxc.messages.SimpleVehicleMessage
From class com.openxc.messages.NamedVehicleMessage
From class com.openxc.messages.KeyedMessage
From class com.openxc.messages.VehicleMessage
From class java.lang.Object
From interface android.os.Parcelable
From interface java.lang.Comparable

Public Constructors

public EventedSimpleVehicleMessage (Long timestamp, String name, Object value, Object event)

public EventedSimpleVehicleMessage (String name, Object value, Object event)

Protected Constructors

protected EventedSimpleVehicleMessage (Parcel in)

protected EventedSimpleVehicleMessage ()

Public Methods

public static boolean containsRequiredFields (Set<String> fields)

public boolean equals (Object obj)

public Object getEvent ()

public Boolean getEventAsBoolean ()

public Number getEventAsNumber ()

public String getEventAsString ()

public void readFromParcel (Parcel in)

public String toString ()

public void writeToParcel (Parcel out, int flags)