public class

TmdRuntimeEvent

extends Object
java.lang.Object
   ↳ fi.moprim.tmd.sdk.event.TmdRuntimeEvent

Class Overview

An event sent when the TMD starts or stops

Summary

Public Constructors
TmdRuntimeEvent(long timestamp, boolean isStartEvent)
Default constructor for the event
Public Methods
long getTimestamp()
The timestamp of the event
boolean isStartEvent()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TmdRuntimeEvent (long timestamp, boolean isStartEvent)

Default constructor for the event

Parameters
timestamp the timestamp of the event
isStartEvent flag to tell if it is a start or stop event

Public Methods

public long getTimestamp ()

The timestamp of the event

Returns
  • the timestamp

public boolean isStartEvent ()

Returns
  • true if the timestamp is a start event

public String toString ()