Index Topic Contents | |||
Previous Topic: BooleanBvr Class Next Topic: BvrsToRun Class |
BvrCallback Interface
public interface BvrCallback extends java.lang.Object { public abstract Behavior notify(int id, boolean start, double startTime, double globalTime, double localTime, Behavior sampledValue, Behavior currentRunningBvr); }BvrCallback Methods
BvrCallback Interface
notifyCalls the notifier method of the object whenever the behavior is started or sampled.
public abstract Behavior notify(
int id,
boolean start,
double startTime,
double globalTime,
double localTime,
Behavior sampledValue,
Behavior currentRunningBvr
);Parameters
- id
- Distinguishes one instance of a behavior from another.
- start
- Determines if the notifier method is called when the behavior starts or each time it is sampled.
- startTime
- The time the behavior was first run.
- globalTime
- The time the behavior was sampled, in global time.
- localTime
- The time the behavior was sampled, in local time. (If the behavior is sampled when it starts, this value is 0).
- sampledValue
- The value of the behavior at the time it was sampled. This value is wrapped as a constant behavior.
- currentRunningBvr
- The behavior that is currently running.
Return Values
Returns the Behavior object.
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.