class EventMessage implements Metadata.Entry {

  @Override
  public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(schemeIdUri);
    dest.writeString(value);
    dest.writeLong(durationMs);
    dest.writeLong(id);
    dest.writeByteArray(messageData);
  }

  public  EventMessage(
      String schemeIdUri, String value, long durationMs, long id, byte[] messageData);
    EventMessage(Parcel in);

}