Method | Description | |
---|---|---|
MediaTimer ( ) : System |
Initializes a new instance of the MediaTimer class.
|
|
Pause ( ) : void |
Pauses the timer
|
|
Play ( ) : void |
Starts or resumes the timer
|
|
Seek ( System.TimeSpan ts ) : void |
Sets the Position to the specified value. If the timer is running, it will be paused after this method call.
|
|
Seek ( decimal seconds ) : void |
Sets the Position to the specified value. If the timer is running, it will be paused after this method call.
|
|
Seek ( long ticks ) : void |
Sets the Position to the specified value. If the timer is running, it will be paused after this method call.
|
|
Stop ( ) : void |
Stops the timer and makes the elapsed time effectively 0
|
Method | Description | |
---|---|---|
ComputePositionTicks ( decimal speedRatio ) : long |
public Seek ( System.TimeSpan ts ) : void | ||
ts | System.TimeSpan | The ts. |
return | void |
public Seek ( decimal seconds ) : void | ||
seconds | decimal | The seconds. |
return | void |