BvrCallback Interface

BvrCallback Methods

notify Calls the notifier method of the object whenever the behavior is started or sampled.

notify

BvrCallback Interface

Calls the notifier method of the object whenever the behavior is started or sampled.

Syntax

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
Time the behavior was first run.
globalTime
Time the behavior was sampled, in global time.
localTime
Time the behavior was sampled, in local time. (If the behavior is sampled when it starts, this value is 0).
sampledValue
Value of the behavior at the time it was sampled. This value is wrapped as a constant behavior.
currentRunningBvr
Behavior that is currently running.

Return Value

Returns the Behavior object.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.