public class

SimpleVehicleMessage

extends NamedVehicleMessage
java.lang.Object
   ↳ com.openxc.messages.VehicleMessage
     ↳ com.openxc.messages.KeyedMessage
       ↳ com.openxc.messages.NamedVehicleMessage
         ↳ com.openxc.messages.SimpleVehicleMessage
Known Direct Subclasses

Class Overview

The SimpleVehicleMessage is a simple vehicle message as defined by the OpenXC message format - it has a name and a value field.

Summary

Constants
String VALUE_KEY
[Expand]
Inherited Constants
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
SimpleVehicleMessage(Long timestamp, String name, Object value)
SimpleVehicleMessage(String name, Object value)
Protected Constructors
SimpleVehicleMessage(Parcel in)
SimpleVehicleMessage()
Public Methods
static boolean containsRequiredFields(Set<String> fields)
boolean equals(Object obj)
Object getValue()
Boolean getValueAsBoolean()
Number getValueAsNumber()
String getValueAsString()
void readFromParcel(Parcel in)
String toString()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
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

Constants

protected static final String VALUE_KEY

Constant Value: "value"

Public Constructors

public SimpleVehicleMessage (Long timestamp, String name, Object value)

public SimpleVehicleMessage (String name, Object value)

Protected Constructors

protected SimpleVehicleMessage (Parcel in)

protected SimpleVehicleMessage ()

Public Methods

public static boolean containsRequiredFields (Set<String> fields)

public boolean equals (Object obj)

public Object getValue ()

public Boolean getValueAsBoolean ()

public Number getValueAsNumber ()

public String getValueAsString ()

public void readFromParcel (Parcel in)

public String toString ()

public void writeToParcel (Parcel out, int flags)