public class ChoreographerTimingSource extends java.lang.Object implements TimingSource
TimingSource hooked into Android's Choreographer.| Constructor and Description |
|---|
ChoreographerTimingSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
setDataFlowGraph(DataFlowGraph dataFlowGraph) |
void |
start()
Registers the
DataFlowGraph to receive frame callbacks until it calls TimingSource.stop(). |
void |
stop()
Stops the
DataFlowGraph from receiving frame callbacks. |
public void setDataFlowGraph(DataFlowGraph dataFlowGraph)
setDataFlowGraph in interface TimingSourcepublic void start()
TimingSourceDataFlowGraph to receive frame callbacks until it calls TimingSource.stop().start in interface TimingSourcepublic void stop()
TimingSourceDataFlowGraph from receiving frame callbacks.stop in interface TimingSource